This content has been marked as final.
Show 5 replies
-
1. Re: docbook build error
pgier Sep 12, 2007 12:31 PM (in response to starksm64)The javabeans, spring, and basics pages are included in core.xml. I think the problem is that core already has a chapter id. So the chapters in the other three are nesting chapters.
-
2. Re: docbook build error
starksm64 Sep 12, 2007 3:09 PM (in response to starksm64)Ok, that was it. The pdf is generating again and now the structure looks with the latest checkin.
-
3. Re: docbook build error
alesj Sep 13, 2007 3:59 PM (in response to starksm64)This is what I currently get ...
C:\Java\jdk1.5.0_11\bin\java.exe -classpath C:\java_lib\maven-2.0.7\boot\classworlds-1.1.jar -Dclassworlds.conf=C:\java_lib\maven-2.0.7\bin\m2.conf -Dmaven.home=C:\java_lib\maven-2.0.7 org.codehaus.classworlds.Launcher -f C:/projects/microcontainer/docs/pom.xml generate-sources
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] JBossMC Getting Started Guide (en_US)
[INFO] JBossMC Getting Started Guide (aggregator)
[INFO] JBossMC Reference Guide (en_US)
[INFO] JBossMC Reference Guide (aggregator)
[INFO] JBoss Microcontainer Docs
Downloading: http://repo1.maven.org/maven2/org/jboss/maven/plugins/maven-jdocbook-plugin/2.0.0/maven-jdocbook-plugin-2.0.0.pom
Downloading: http://repo1.maven.org/maven2/org/jboss/maven/plugins/maven-jdocbook-plugin/2.0.0/maven-jdocbook-plugin-2.0.0.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.jboss.maven.plugins
ArtifactId: maven-jdocbook-plugin
Version: 2.0.0
Reason: Unable to download the artifact from any repository
org.jboss.maven.plugins:maven-jdocbook-plugin:pom:2.0.0
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu Sep 13 21:40:33 CEST 2007
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------
Process terminated abnormally! Exit code 1
What am I missing (or how to get this plugin)? -
4. Re: docbook build error
pgier Sep 13, 2007 5:31 PM (in response to starksm64)Looks like it's not finding the jboss repository.
I use a profile like this in my local settings.xml:<profile> <id>jboss.repository</id> <activation> <property> <name>!jboss.repository.off</name> </property> </activation> <repositories> <repository> <id>snapshots.jboss.org</id> <url>http://snapshots.jboss.org/maven2</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>repository.jboss.org</id> <url>http://repository.jboss.org/maven2</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>repository.jboss.org</id> <url>http://repository.jboss.org/maven2</url> </pluginRepository> <pluginRepository> <id>snapshots.jboss.org</id> <url>http://snapshots.jboss.org/maven2</url> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles>
The profile will be on by default, but you can turn it off by using the system property:mvn -Djboss.repository.off
Once we get synching with the main maven repo, this won't be a problem anymore. -
5. Re: docbook build error
alesj Sep 25, 2007 8:40 AM (in response to starksm64)Added that to settings, but now my docs build hangs at 18K of pdf file being produced.
[INFO] Scanning for projects... [INFO] Reactor build order: [INFO] JBossMC Getting Started Guide (en_US) [INFO] JBossMC Getting Started Guide (aggregator) [INFO] JBossMC Reference Guide (en_US) [INFO] JBossMC Reference Guide (aggregator) [INFO] JBoss Microcontainer Docs WAGON_VERSION: 1.0-beta-2 [INFO] ---------------------------------------------------------------------------- [INFO] Building JBossMC Getting Started Guide (en_US) [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [jdocbook:resources] [INFO] [jdocbook:generate] [INFO] building formatting result [C:\projects\microcontainer\docs\gettingstarted\en-US\target\docbook\pdf\gettingstarted.pdf]