Maven site goal fail with the Karaf maven plugin
------------------------------------------------
Key: KARAF-924
URL: https://issues.apache.org/jira/browse/KARAF-924
Project: Karaf
Issue Type: Bug
Components: karaf-tooling
Affects Versions: 2.2.3
Reporter: Jean-Baptiste Onofré
Fix For: 2.2.4, 3.0.0
When we use the features-maven-plugin (or karaf-maven-plugin) in a POM, the mvn
site goal failed:
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project
maven-test: failed to get report for
org.apache.maven.plugins:maven-javadoc-plugin: Failed to execute goal
org.apache.karaf.tooling:features-maven-plugin:2.2.4-SNAPSHOT:add-features-to-repo
(add-features-to-repo) on project test-assembly: Error populating repository:
/home/jbonofre/maven-test/test-subproject/target/classes (No such file or
directory) -> [Help 1]
[ERROR]
We should exclude the Karaf maven plugin from the site phase, or create the
target/classes directory if required.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira