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 (JIRA)" <ji...@apache.org> on 2013/12/03 16:41:37 UTC

[jira] [Comment Edited] (JENA-596) Schemagen does not work with Maven 3.1.x

    [ 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:39 PM:
-------------------------------------------------------------

(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 recreate 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}



was (Author: andy.seaborne):
I am now getting problems with maven 3.0.X in the "install" step. One solution is to require 3.1.1 for the build, or at least the complete build.

> 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)