[jboss-dev-forums] [Design of JBoss Build System] - Using jdocbook

nbhatia do-not-reply at jboss.com
Wed Aug 15 00:08:19 EDT 2007


I am trying to use jdocbook with a maven project containing a very simple book. However when I invoke maven I get the following error message:


  | [INFO] Cannot find lifecycle mapping for packaging: 'jdocbook'.
  | Component descriptor cannot be found in the component repository:
  |   org.apache.maven.lifecycle.mapping.LifecycleMappingjdocbook.
  | 

What am I doing wrong? Here's my POM:


  | <project xmlns="http://maven.apache.org/POM/4.0.0"
  |          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  |          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  | 
  |     <modelVersion>4.0.0</modelVersion>
  | 
  |     <groupId>samples.book</groupId>
  |     <artifactId>book</artifactId>
  |     <version>1.0</version>
  |     <packaging>jdocbook</packaging>
  | 
  |     <name>My Book</name>
  |     <description>My Example Book</description>
  | 
  |     <build>
  |         <pluginManagement>
  |             <plugins>
  |                 <plugin>
  |                     <groupId>org.jboss.maven.plugins</groupId>
  |                     <artifactId>maven-jdocbook-plugin</artifactId>
  |                     <extensions>true</extensions>
  |                     <configuration>
  |                         <formats>
  |                             <format>
  |                                 <formatName>pdf</formatName>
  |                             </format>
  |                             <format>
  |                                 <formatName>html</formatName>
  |                             </format>
  |                         </formats>
  |                     </configuration>
  |                 </plugin>
  |             </plugins>
  |         </pluginManagement>
  |     </build>
  | 
  |     <repositories>
  |         <repository>
  |             <id>jboss</id>
  |             <name>JBoss Repository</name>
  |             <url>http://repository.jboss.org/maven2</url>
  |         </repository>
  |     </repositories>
  |     <pluginRepositories>
  |         <pluginRepository>
  |             <id>jboss</id>
  |             <name>JBoss Repository</name>
  |             <url>http://repository.jboss.org/maven2</url>
  |         </pluginRepository>
  |     </pluginRepositories>
  | 
  | </project>
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074264#4074264

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074264



More information about the jboss-dev-forums mailing list