You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Andy Seaborne <an...@apache.org> on 2013/11/22 16:57:00 UTC

jena-maven-tools and maven 3.1.1 => build failure

Using maven 3.1.1, I'm getting build errors in the 'install' stage:

[INFO] --- maven-invoker-plugin:1.7:install (integration-test) @ 
jena-maven-tools ---
[INFO] Installing /home/afs/Jena/jena-parent/pom.xml to 
/home/afs/Jena/jena-maven-tools/target/it-repo/org/apache/jena/jena-parent/8-SNAPSHOT/jena-parent-8-SNAPSHOT.pom
[INFO] Installing /home/afs/Jena/jena-maven-tools/pom.xml to 
/home/afs/Jena/jena-maven-tools/target/it-repo/org/apache/jena/jena-maven-tools/0.3-SNAPSHOT/jena-maven-tools-0.3-SNAPSHOT.pom
[INFO] Installing 
/home/afs/Jena/jena-maven-tools/target/jena-maven-tools-0.3-SNAPSHOT.jar 
to 
/home/afs/Jena/jena-maven-tools/target/it-repo/org/apache/jena/jena-maven-tools/0.3-SNAPSHOT/jena-maven-tools-0.3-SNAPSHOT.jar
[INFO] Installing 
/home/afs/Jena/jena-maven-tools/target/jena-maven-tools-0.3-SNAPSHOT-javadoc.jar 
to 
/home/afs/Jena/jena-maven-tools/target/it-repo/org/apache/jena/jena-maven-tools/0.3-SNAPSHOT/jena-maven-tools-0.3-SNAPSHOT-javadoc.jar
[INFO]
[INFO] --- maven-invoker-plugin:1.7:run (integration-test) @ 
jena-maven-tools ---
[WARNING] Filtering of parent/child POMs is not supported without 
cloning the projects
[INFO] Building: schemagen-integration-3/pom.xml
[INFO] ..FAILED (3.9 s)
[INFO]   The build exited with code 1. See 
/home/afs/Jena/jena-maven-tools/src/it/schemagen-integration-3/build.log 
for details.
[INFO] Building: schemagen-integration-0/pom.xml
[INFO] ..FAILED (2.1 s)
[INFO]   The build exited with code 1. See 
/home/afs/Jena/jena-maven-tools/src/it/schemagen-integration-0/build.log 
for details.
[INFO] Building: schemagen-integration-2/pom.xml
[INFO] ..FAILED (2.0 s)
[INFO]   The build exited with code 1. See 
/home/afs/Jena/jena-maven-tools/src/it/schemagen-integration-2/build.log 
for details.
[INFO] Building: schemagen-integration-1/pom.xml
[INFO] ..FAILED (2.1 s)
[INFO]   The build exited with code 1. See 
/home/afs/Jena/jena-maven-tools/src/it/schemagen-integration-1/build.log 
for details.
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 0, Failed: 4, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  schemagen-integration-3/pom.xml
[ERROR] *  schemagen-integration-0/pom.xml
[ERROR] *  schemagen-integration-2/pom.xml
[ERROR] *  schemagen-integration-1/pom.xml
[INFO] -------------------------------------------------

(and a lot of javadoc warnings)

	Andy

Re: jena-maven-tools and maven 3.1.1 => build failure

Posted by Ian Dickinson <i....@gmail.com>.
Hi Andy,
On Fri, Nov 22, 2013 at 3:57 PM, Andy Seaborne <an...@apache.org> wrote:
> Using maven 3.1.1, I'm getting build errors in the 'install' stage:
Problem confirmed. I'm not sure what's going on - mvn 3.1.1 seems to
have changed in the way that pom.xml parameters are passed into plugin
Java code. I don't know if it's an intended change, or a regression
bug. I don't have a workaround at the moment, but I've asked for help.

> (and a lot of javadoc warnings)
These are because both Java doc and the Maven integration use Java
annotations. In particular, @parameter is used to pass info from the
pom into plugin code. I don't know how to suppress them - suggestions
from anyone welcome!

Ian