[ 
https://issues.apache.org/jira/browse/JENA-596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13837796#comment-13837796
 ] 

Andy Seaborne edited comment on JENA-596 at 12/3/13 3:43 PM:
-------------------------------------------------------------

(Sorry to reopen this but comments are only edittable if the JIRA is open)

I am now getting problems with maven again at the "verify" step.  On enough 
testing, it does not look like it's 3.0.* vs 3.1.* related.  I've used both on 
my machine.

This is blocking the deployment so a (very) short-term hack is to remove it 
from the default build.

In the module directory: {{mvn clean package}} works, {{mvn clean verify}} 
generates:

{noformat}
[WARNING] Filtering of parent/child POMs is not supported without cloning the 
projects
[INFO] Building: schemagen-integration-2/pom.xml
[INFO] run script verify.bsh
[INFO] ..FAILED (27.0 s)
[INFO]   The post-build script did not succeed. Expected file was not found: 
/home/afs/Jena/jena-maven-tools/src/it/schemagen-integration-2/target/alt-source-dir/org/example/test/Test1.java
[INFO] Building: schemagen-integration-1/pom.xml
[INFO] run script verify.bsh
[INFO] ..FAILED (2.6 s)
[INFO]   The post-build script did not succeed. Expected file was not found: 
/home/afs/Jena/jena-maven-tools/src/it/schemagen-integration-1/target/generated-sources/org/example/test/Test1.java
[INFO] Building: schemagen-integration-0/pom.xml
[INFO] run script verify.bsh
[INFO] ..FAILED (2.7 s)
[INFO]   The post-build script did not succeed. Expected file was not found: 
/home/afs/Jena/jena-maven-tools/src/it/schemagen-integration-0/target/generated-sources/Test1.java
[INFO] Building: schemagen-integration-3/pom.xml
[INFO] run script verify.bsh
[INFO] ..FAILED (2.6 s)
[INFO]   The post-build script did not succeed. Expected file was not found: 
/home/afs/Jena/jena-maven-tools/src/it/schemagen-integration-3/target/generated-sources/org/example/test/Test1.java
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 0, Failed: 4, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  schemagen-integration-2/pom.xml
[ERROR] *  schemagen-integration-1/pom.xml
[ERROR] *  schemagen-integration-0/pom.xml
[ERROR] *  schemagen-integration-3/pom.xml
[INFO] -------------------------------------------------
{noformat}



was (Author: andy.seaborne):
(Sorry to reopen this but comments are edittable unless the JIRA is open)

I am now getting problems with maven 3.0.X in the "install" step. I thought it 
was Jenkins problems but I've recreated it on my local machine.

We could require 3.1.1 for the build. Not ideal (people don't upgrade their 
maven very often and if getting via a packager on adistro, there is a lot of 
lag). We could require 3.0.* (may break the ARM build but no big deal).

The {{mvn clean package}} works, {{mvn clean verify}} generates:

{noformat}
[WARNING] Filtering of parent/child POMs is not supported without cloning the 
projects
[INFO] Building: schemagen-integration-2/pom.xml
[INFO] run script verify.bsh
[INFO] ..FAILED (27.0 s)
[INFO]   The post-build script did not succeed. Expected file was not found: 
/home/afs/Jena/jena-maven-tools/src/it/schemagen-integration-2/target/alt-source-dir/org/example/test/Test1.java
[INFO] Building: schemagen-integration-1/pom.xml
[INFO] run script verify.bsh
[INFO] ..FAILED (2.6 s)
[INFO]   The post-build script did not succeed. Expected file was not found: 
/home/afs/Jena/jena-maven-tools/src/it/schemagen-integration-1/target/generated-sources/org/example/test/Test1.java
[INFO] Building: schemagen-integration-0/pom.xml
[INFO] run script verify.bsh
[INFO] ..FAILED (2.7 s)
[INFO]   The post-build script did not succeed. Expected file was not found: 
/home/afs/Jena/jena-maven-tools/src/it/schemagen-integration-0/target/generated-sources/Test1.java
[INFO] Building: schemagen-integration-3/pom.xml
[INFO] run script verify.bsh
[INFO] ..FAILED (2.6 s)
[INFO]   The post-build script did not succeed. Expected file was not found: 
/home/afs/Jena/jena-maven-tools/src/it/schemagen-integration-3/target/generated-sources/org/example/test/Test1.java
[INFO] -------------------------------------------------
[INFO] Build Summary:
[INFO]   Passed: 0, Failed: 4, Errors: 0, Skipped: 0
[INFO] -------------------------------------------------
[ERROR] The following builds failed:
[ERROR] *  schemagen-integration-2/pom.xml
[ERROR] *  schemagen-integration-1/pom.xml
[ERROR] *  schemagen-integration-0/pom.xml
[ERROR] *  schemagen-integration-3/pom.xml
[INFO] -------------------------------------------------
{noformat}


> Schemagen does not work with Maven 3.1.x
> ----------------------------------------
>
>                 Key: JENA-596
>                 URL: https://issues.apache.org/jira/browse/JENA-596
>             Project: Apache Jena
>          Issue Type: Bug
>            Reporter: Ian Dickinson
>            Assignee: Ian Dickinson
>             Fix For: Jena 2.11.1
>
>         Attachments: jena-maven-tools.patch
>
>
> Maven 3.1.x has changed the way that POM parameters are passed to plugin 
> code, causing the schemagen Maven plugin to break.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to