You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andres Gomez Casanova (JIRA)" <ji...@codehaus.org> on 2011/07/24 06:20:42 UTC
[jira] Created: (DOXIA-438) Problem to create a book with Maven 3
Problem to create a book with Maven 3
-------------------------------------
Key: DOXIA-438
URL: https://jira.codehaus.org/browse/DOXIA-438
Project: Maven Doxia
Issue Type: Bug
Components: Book
Affects Versions: 1.2
Environment: Maven 3
Reporter: Andres Gomez Casanova
Attachments: pom.xml
I had a project configured for Maven 2 and everything worked perfectly. Today, I was trying to update it to Maven 3 and all plugin to newer versions. However, I found that I cannot use doxia-maven-plugin 1.2 to create the book.
After executing
mvn doxia:render-books
I got
[ERROR] Failed to execute goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books (default-cli) on project user-site: Execution default-cli of goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books failed: Unable to load the mojo 'render-books' in the plugin 'org.apache.maven.doxia:doxia-maven-plugin:1.2'. A required class is missing: org/codehaus/plexus/util/interpolation/ValueSource
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.doxia:doxia-maven-plugin:1.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-maven-plugin/1.2/doxia-maven-plugin-1.2.jar
[ERROR] urls[1] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-book/1.2/doxia-book-1.2.jar
...
[ERROR] urls[24] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: org.codehaus.plexus.util.interpolation.ValueSource
My pom.xml is
<project>
...
<!-- Build Settings -->
<build>
<plugins>
<!-- mvn doxia:render-books -->
<plugin>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>render-books</goal>
</goals>
</execution>
</executions>
<configuration>
<books>
<book>
<directory>src/site/apt</directory>
<descriptor>src/books/usersManual.xml</descriptor>
<formats>
<format>
<id>pdf</id>
</format>
</formats>
</book>
<book>
<directory>src/site/es/apt</directory>
<descriptor>src/books/usersManual_es.xml</descriptor>
<formats>
<format>
<id>pdf</id>
</format>
</formats>
</book>
</books>
</configuration>
</plugin>
...
</plugins>
</build>
</project>
What is the problem?
If I change the Doxia version to 1.1, it works normally.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (DOXIATOOLS-21) Problem to create a book with Maven 3
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/DOXIATOOLS-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg moved DOXIA-438 to DOXIATOOLS-21:
-------------------------------------------------
Component/s: (was: Book)
Book
Affects Version/s: (was: 1.2)
1.2
Key: DOXIATOOLS-21 (was: DOXIA-438)
Project: Maven Doxia Tools (was: Maven Doxia)
> Problem to create a book with Maven 3
> -------------------------------------
>
> Key: DOXIATOOLS-21
> URL: https://jira.codehaus.org/browse/DOXIATOOLS-21
> Project: Maven Doxia Tools
> Issue Type: Bug
> Components: Book
> Affects Versions: 1.2
> Environment: Maven 3
> Reporter: Andres Gomez Casanova
> Attachments: pom.xml
>
>
> I had a project configured for Maven 2 and everything worked perfectly. Today, I was trying to update it to Maven 3 and all plugin to newer versions. However, I found that I cannot use doxia-maven-plugin 1.2 to create the book.
> After executing
> mvn doxia:render-books
> I got
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books (default-cli) on project user-site: Execution default-cli of goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books failed: Unable to load the mojo 'render-books' in the plugin 'org.apache.maven.doxia:doxia-maven-plugin:1.2'. A required class is missing: org/codehaus/plexus/util/interpolation/ValueSource
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.apache.maven.doxia:doxia-maven-plugin:1.2
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-maven-plugin/1.2/doxia-maven-plugin-1.2.jar
> [ERROR] urls[1] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-book/1.2/doxia-book-1.2.jar
> ...
> [ERROR] urls[24] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> [ERROR]
> [ERROR] -----------------------------------------------------: org.codehaus.plexus.util.interpolation.ValueSource
> {noformat}
> My pom.xml is
> {code:xml}
> <project>
> ...
> <!-- Build Settings -->
> <build>
> <plugins>
> <!-- mvn doxia:render-books -->
> <plugin>
> <groupId>org.apache.maven.doxia</groupId>
> <artifactId>doxia-maven-plugin</artifactId>
> <version>1.2</version>
> <executions>
> <execution>
> <phase>pre-site</phase>
> <goals>
> <goal>render-books</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <books>
> <book>
> <directory>src/site/apt</directory>
> <descriptor>src/books/usersManual.xml</descriptor>
> <formats>
> <format>
> <id>pdf</id>
> </format>
> </formats>
> </book>
> <book>
> <directory>src/site/es/apt</directory>
> <descriptor>src/books/usersManual_es.xml</descriptor>
> <formats>
> <format>
> <id>pdf</id>
> </format>
> </formats>
> </book>
> </books>
> </configuration>
> </plugin>
> ...
> </plugins>
> </build>
> </project>
> {code}
> What is the problem?
> If I change the Doxia version to 1.1, it works normally.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (DOXIA-438) Problem to create a book with Maven 3
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/DOXIA-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=274223#comment-274223 ]
Lukas Theussl commented on DOXIA-438:
-------------------------------------
Maven-site-plugin-3.0-beta-3 is using doxia-1.1.3 which is somewhat incompatible with doxia-1.2 (due to a plexus upgrade), so you have to adjust your version of doxia-maven-plugin to that. However, nothing has changed in doxia-maven-plugin between those two versions, so functionally you don't gain anything by upgrading anyway.
> Problem to create a book with Maven 3
> -------------------------------------
>
> Key: DOXIA-438
> URL: https://jira.codehaus.org/browse/DOXIA-438
> Project: Maven Doxia
> Issue Type: Bug
> Components: Book
> Affects Versions: 1.2
> Environment: Maven 3
> Reporter: Andres Gomez Casanova
> Attachments: pom.xml
>
>
> I had a project configured for Maven 2 and everything worked perfectly. Today, I was trying to update it to Maven 3 and all plugin to newer versions. However, I found that I cannot use doxia-maven-plugin 1.2 to create the book.
> After executing
> mvn doxia:render-books
> I got
> [ERROR] Failed to execute goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books (default-cli) on project user-site: Execution default-cli of goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books failed: Unable to load the mojo 'render-books' in the plugin 'org.apache.maven.doxia:doxia-maven-plugin:1.2'. A required class is missing: org/codehaus/plexus/util/interpolation/ValueSource
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.apache.maven.doxia:doxia-maven-plugin:1.2
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-maven-plugin/1.2/doxia-maven-plugin-1.2.jar
> [ERROR] urls[1] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-book/1.2/doxia-book-1.2.jar
> ...
> [ERROR] urls[24] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> [ERROR]
> [ERROR] -----------------------------------------------------: org.codehaus.plexus.util.interpolation.ValueSource
> My pom.xml is
> <project>
> ...
> <!-- Build Settings -->
> <build>
> <plugins>
> <!-- mvn doxia:render-books -->
> <plugin>
> <groupId>org.apache.maven.doxia</groupId>
> <artifactId>doxia-maven-plugin</artifactId>
> <version>1.2</version>
> <executions>
> <execution>
> <phase>pre-site</phase>
> <goals>
> <goal>render-books</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <books>
> <book>
> <directory>src/site/apt</directory>
> <descriptor>src/books/usersManual.xml</descriptor>
> <formats>
> <format>
> <id>pdf</id>
> </format>
> </formats>
> </book>
> <book>
> <directory>src/site/es/apt</directory>
> <descriptor>src/books/usersManual_es.xml</descriptor>
> <formats>
> <format>
> <id>pdf</id>
> </format>
> </formats>
> </book>
> </books>
> </configuration>
> </plugin>
> ...
> </plugins>
> </build>
> </project>
> What is the problem?
> If I change the Doxia version to 1.1, it works normally.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (DOXIA-438) Problem to create a book with Maven 3
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/DOXIA-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated DOXIA-438:
----------------------------------
Description:
I had a project configured for Maven 2 and everything worked perfectly. Today, I was trying to update it to Maven 3 and all plugin to newer versions. However, I found that I cannot use doxia-maven-plugin 1.2 to create the book.
After executing
mvn doxia:render-books
I got
{noformat}
[ERROR] Failed to execute goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books (default-cli) on project user-site: Execution default-cli of goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books failed: Unable to load the mojo 'render-books' in the plugin 'org.apache.maven.doxia:doxia-maven-plugin:1.2'. A required class is missing: org/codehaus/plexus/util/interpolation/ValueSource
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.doxia:doxia-maven-plugin:1.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-maven-plugin/1.2/doxia-maven-plugin-1.2.jar
[ERROR] urls[1] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-book/1.2/doxia-book-1.2.jar
...
[ERROR] urls[24] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: org.codehaus.plexus.util.interpolation.ValueSource
{noformat}
My pom.xml is
{code:xml}
<project>
...
<!-- Build Settings -->
<build>
<plugins>
<!-- mvn doxia:render-books -->
<plugin>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>render-books</goal>
</goals>
</execution>
</executions>
<configuration>
<books>
<book>
<directory>src/site/apt</directory>
<descriptor>src/books/usersManual.xml</descriptor>
<formats>
<format>
<id>pdf</id>
</format>
</formats>
</book>
<book>
<directory>src/site/es/apt</directory>
<descriptor>src/books/usersManual_es.xml</descriptor>
<formats>
<format>
<id>pdf</id>
</format>
</formats>
</book>
</books>
</configuration>
</plugin>
...
</plugins>
</build>
</project>
{code}
What is the problem?
If I change the Doxia version to 1.1, it works normally.
was:
I had a project configured for Maven 2 and everything worked perfectly. Today, I was trying to update it to Maven 3 and all plugin to newer versions. However, I found that I cannot use doxia-maven-plugin 1.2 to create the book.
After executing
mvn doxia:render-books
I got
[ERROR] Failed to execute goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books (default-cli) on project user-site: Execution default-cli of goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books failed: Unable to load the mojo 'render-books' in the plugin 'org.apache.maven.doxia:doxia-maven-plugin:1.2'. A required class is missing: org/codehaus/plexus/util/interpolation/ValueSource
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.doxia:doxia-maven-plugin:1.2
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-maven-plugin/1.2/doxia-maven-plugin-1.2.jar
[ERROR] urls[1] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-book/1.2/doxia-book-1.2.jar
...
[ERROR] urls[24] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: org.codehaus.plexus.util.interpolation.ValueSource
My pom.xml is
<project>
...
<!-- Build Settings -->
<build>
<plugins>
<!-- mvn doxia:render-books -->
<plugin>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-maven-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<phase>pre-site</phase>
<goals>
<goal>render-books</goal>
</goals>
</execution>
</executions>
<configuration>
<books>
<book>
<directory>src/site/apt</directory>
<descriptor>src/books/usersManual.xml</descriptor>
<formats>
<format>
<id>pdf</id>
</format>
</formats>
</book>
<book>
<directory>src/site/es/apt</directory>
<descriptor>src/books/usersManual_es.xml</descriptor>
<formats>
<format>
<id>pdf</id>
</format>
</formats>
</book>
</books>
</configuration>
</plugin>
...
</plugins>
</build>
</project>
What is the problem?
If I change the Doxia version to 1.1, it works normally.
> Problem to create a book with Maven 3
> -------------------------------------
>
> Key: DOXIA-438
> URL: https://jira.codehaus.org/browse/DOXIA-438
> Project: Maven Doxia
> Issue Type: Bug
> Components: Book
> Affects Versions: 1.2
> Environment: Maven 3
> Reporter: Andres Gomez Casanova
> Attachments: pom.xml
>
>
> I had a project configured for Maven 2 and everything worked perfectly. Today, I was trying to update it to Maven 3 and all plugin to newer versions. However, I found that I cannot use doxia-maven-plugin 1.2 to create the book.
> After executing
> mvn doxia:render-books
> I got
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books (default-cli) on project user-site: Execution default-cli of goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books failed: Unable to load the mojo 'render-books' in the plugin 'org.apache.maven.doxia:doxia-maven-plugin:1.2'. A required class is missing: org/codehaus/plexus/util/interpolation/ValueSource
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.apache.maven.doxia:doxia-maven-plugin:1.2
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-maven-plugin/1.2/doxia-maven-plugin-1.2.jar
> [ERROR] urls[1] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-book/1.2/doxia-book-1.2.jar
> ...
> [ERROR] urls[24] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> [ERROR]
> [ERROR] -----------------------------------------------------: org.codehaus.plexus.util.interpolation.ValueSource
> {noformat}
> My pom.xml is
> {code:xml}
> <project>
> ...
> <!-- Build Settings -->
> <build>
> <plugins>
> <!-- mvn doxia:render-books -->
> <plugin>
> <groupId>org.apache.maven.doxia</groupId>
> <artifactId>doxia-maven-plugin</artifactId>
> <version>1.2</version>
> <executions>
> <execution>
> <phase>pre-site</phase>
> <goals>
> <goal>render-books</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <books>
> <book>
> <directory>src/site/apt</directory>
> <descriptor>src/books/usersManual.xml</descriptor>
> <formats>
> <format>
> <id>pdf</id>
> </format>
> </formats>
> </book>
> <book>
> <directory>src/site/es/apt</directory>
> <descriptor>src/books/usersManual_es.xml</descriptor>
> <formats>
> <format>
> <id>pdf</id>
> </format>
> </formats>
> </book>
> </books>
> </configuration>
> </plugin>
> ...
> </plugins>
> </build>
> </project>
> {code}
> What is the problem?
> If I change the Doxia version to 1.1, it works normally.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (DOXIATOOLS-21) Problem to create a book with Maven 3
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/DOXIATOOLS-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated DOXIATOOLS-21:
--------------------------------------
Affects Version/s: (was: doxia-linkcheck-1.2)
doxia-book-1.2
> Problem to create a book with Maven 3
> -------------------------------------
>
> Key: DOXIATOOLS-21
> URL: https://jira.codehaus.org/browse/DOXIATOOLS-21
> Project: Maven Doxia Tools
> Issue Type: Bug
> Components: Book
> Affects Versions: doxia-book-1.2
> Environment: Maven 3
> Reporter: Andres Gomez Casanova
> Attachments: pom.xml
>
>
> I had a project configured for Maven 2 and everything worked perfectly. Today, I was trying to update it to Maven 3 and all plugin to newer versions. However, I found that I cannot use doxia-maven-plugin 1.2 to create the book.
> After executing
> mvn doxia:render-books
> I got
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books (default-cli) on project user-site: Execution default-cli of goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books failed: Unable to load the mojo 'render-books' in the plugin 'org.apache.maven.doxia:doxia-maven-plugin:1.2'. A required class is missing: org/codehaus/plexus/util/interpolation/ValueSource
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.apache.maven.doxia:doxia-maven-plugin:1.2
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-maven-plugin/1.2/doxia-maven-plugin-1.2.jar
> [ERROR] urls[1] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-book/1.2/doxia-book-1.2.jar
> ...
> [ERROR] urls[24] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> [ERROR]
> [ERROR] -----------------------------------------------------: org.codehaus.plexus.util.interpolation.ValueSource
> {noformat}
> My pom.xml is
> {code:xml}
> <project>
> ...
> <!-- Build Settings -->
> <build>
> <plugins>
> <!-- mvn doxia:render-books -->
> <plugin>
> <groupId>org.apache.maven.doxia</groupId>
> <artifactId>doxia-maven-plugin</artifactId>
> <version>1.2</version>
> <executions>
> <execution>
> <phase>pre-site</phase>
> <goals>
> <goal>render-books</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <books>
> <book>
> <directory>src/site/apt</directory>
> <descriptor>src/books/usersManual.xml</descriptor>
> <formats>
> <format>
> <id>pdf</id>
> </format>
> </formats>
> </book>
> <book>
> <directory>src/site/es/apt</directory>
> <descriptor>src/books/usersManual_es.xml</descriptor>
> <formats>
> <format>
> <id>pdf</id>
> </format>
> </formats>
> </book>
> </books>
> </configuration>
> </plugin>
> ...
> </plugins>
> </build>
> </project>
> {code}
> What is the problem?
> If I change the Doxia version to 1.1, it works normally.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (DOXIA-438) Problem to create a book with Maven 3
Posted by "Andres Gomez Casanova (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/DOXIA-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=288881#comment-288881 ]
Andres Gomez Casanova commented on DOXIA-438:
---------------------------------------------
The problem still exists. I have a question, this functionality is deprecated or do you have plans to fix the problems in the most recent versions?
I am using maven-site-plugin version 3.0 and the same problem appears.
> Problem to create a book with Maven 3
> -------------------------------------
>
> Key: DOXIA-438
> URL: https://jira.codehaus.org/browse/DOXIA-438
> Project: Maven Doxia
> Issue Type: Bug
> Components: Book
> Affects Versions: 1.2
> Environment: Maven 3
> Reporter: Andres Gomez Casanova
> Attachments: pom.xml
>
>
> I had a project configured for Maven 2 and everything worked perfectly. Today, I was trying to update it to Maven 3 and all plugin to newer versions. However, I found that I cannot use doxia-maven-plugin 1.2 to create the book.
> After executing
> mvn doxia:render-books
> I got
> [ERROR] Failed to execute goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books (default-cli) on project user-site: Execution default-cli of goal org.apache.maven.doxia:doxia-maven-plugin:1.2:render-books failed: Unable to load the mojo 'render-books' in the plugin 'org.apache.maven.doxia:doxia-maven-plugin:1.2'. A required class is missing: org/codehaus/plexus/util/interpolation/ValueSource
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.apache.maven.doxia:doxia-maven-plugin:1.2
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-maven-plugin/1.2/doxia-maven-plugin-1.2.jar
> [ERROR] urls[1] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/doxia/doxia-book/1.2/doxia-book-1.2.jar
> ...
> [ERROR] urls[24] = file:/C:/Users/Andres/.m2/repository/org/apache/maven/reporting/maven-reporting-api/2.0.4/maven-reporting-api-2.0.4.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
> [ERROR]
> [ERROR] -----------------------------------------------------: org.codehaus.plexus.util.interpolation.ValueSource
> My pom.xml is
> <project>
> ...
> <!-- Build Settings -->
> <build>
> <plugins>
> <!-- mvn doxia:render-books -->
> <plugin>
> <groupId>org.apache.maven.doxia</groupId>
> <artifactId>doxia-maven-plugin</artifactId>
> <version>1.2</version>
> <executions>
> <execution>
> <phase>pre-site</phase>
> <goals>
> <goal>render-books</goal>
> </goals>
> </execution>
> </executions>
> <configuration>
> <books>
> <book>
> <directory>src/site/apt</directory>
> <descriptor>src/books/usersManual.xml</descriptor>
> <formats>
> <format>
> <id>pdf</id>
> </format>
> </formats>
> </book>
> <book>
> <directory>src/site/es/apt</directory>
> <descriptor>src/books/usersManual_es.xml</descriptor>
> <formats>
> <format>
> <id>pdf</id>
> </format>
> </formats>
> </book>
> </books>
> </configuration>
> </plugin>
> ...
> </plugins>
> </build>
> </project>
> What is the problem?
> If I change the Doxia version to 1.1, it works normally.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira