[jira] [Commented] (MCOMPILER-538) Do not add target/generated-sources/annotations to the source roots
[ https://issues.apache.org/jira/browse/MCOMPILER-538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17798711#comment-17798711 ] zosrothko commented on MCOMPILER-538: - Hello I do not have any annotation in a small multmodule maven project and the error below is blocking the full maven rebuild [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.0:testCompile (default-testCompile) on project entitymodule: Fatal error compiling: basedir C:\MXW\Clients\SwissLife\ArchieV3\DEV\Modules\multimodulemavenproject\entitymodule\target\generated-test-sources\test-annotations does not exist -> [Help 1] [E Below the javac command line from: mvn clean install -X [DEBUG] Using compiler 'javac'. [DEBUG] Adding C:\MXW\Modules\multimodulemavenproject\entitymodule\target\generated-test-sources\test-annotations to test-compile source roots: C:\MXW\Modules\multimodulemavenproject\entitymodule\src\test\java [DEBUG] New test-compile source roots: C:\MXW\Modules\multimodulemavenproject\entitymodule\src\test\java C:\MXW\Modules\multimodulemavenproject\entitymodule\target\generated-test-sources\test-annotations [DEBUG] CompilerReuseStrategy: reuseCreated [DEBUG] useIncrementalCompilation enabled [INFO] New dependency detected: C:\MXW\Modules\multimodulemavenproject\entitymodule\target\classes\com\baeldung\entity\User.class [INFO] Recompiling the module because of changed dependency. [DEBUG] Classpath: [DEBUG] C:\MXW\Modules\multimodulemavenproject\entitymodule\target\test-classes [DEBUG] Modulepath: [DEBUG] C:\MXW\Modules\multimodulemavenproject\entitymodule\target\classes [DEBUG] Source roots: [DEBUG] C:\MXW\Modules\multimodulemavenproject\entitymodule\src\test\java [DEBUG] C:\MXW\Modules\multimodulemavenproject\entitymodule\target\generated-test-sources\test-annotations [DEBUG] Command line options: [DEBUG] -d C:\MXW\Modules\multimodulemavenproject\entitymodule\target\test-classes -classpath C:\MXW\Modules\multimodulemavenproject\entitymodule\target\test-classes; --module-path C:\MXW\Modules\multimodulemavenproject\entitymodule\target\classes; -sourcepath C:\MXW\Modules\multimodulemavenproject\entitymodule\src\test\java;C:\MXW\Modules\multimodulemavenproject\entitymodule\target\generated-test-sources\test-annotations; -s C:\MXW\Modules\multimodulemavenproject\entitymodule\target\generated-test-sources\test-annotations -g --release 11 -encoding UTF-8 --patch-module com.baeldung.entitymodule=C:\MXW\Modules\multimodulemavenproject\entitymodule\target\classes;C:\MXW\Modules\multimodulemavenproject\entitymodule\src\test\java;C:\MXW\Modules\multimodulemavenproject\entitymodule\target\generated-test-sources\test-annotations; --add-reads com.baeldung.entitymodule=ALL-UNNAMED -XDuseUnsharedTable=true > Do not add target/generated-sources/annotations to the source roots > --- > > Key: MCOMPILER-538 > URL: https://issues.apache.org/jira/browse/MCOMPILER-538 > Project: Maven Compiler Plugin > Issue Type: Bug >Affects Versions: 3.11.0 >Reporter: Daniel Mensinger >Assignee: Slawomir Jaranowski >Priority: Major > Fix For: next-release > > > Adding the generated source root ({{target/generated-sources/annotations}}) > is not required for javac. Additionally adding the generated source root > results in compilation errors with annotation processors generating code > unless the generated-sources dir is cleaned. > Specifically, the following steps result in compilation errors: > # run {{mvn clean}} > # Modify a source file that is consumed by the annotation processor so that > there is a compilation error, but the annotation processor still runs (add or > remove a parameter in a method call). > # run {{mvn compile}} --> the generated file exists but there is no class > file for the source file. > # Fix the "bug" from step 2 > # run {{mvn compile}} again --> compilation should succeed, but it fails. > > Example code: > [https://github.com/mensinda/quarkus-stuff/tree/annotationProcessingTest] > Use the {{annotationProcessingTest}} branch! > For step 2 this change can be used: > {code:java} > diff --git a/code/src/main/java/bar/MyAnnotatedClass.java > b/code/src/main/java/bar/MyAnnotatedClass.java > index bbfef7a..a303924 100644 > --- a/code/src/main/java/bar/MyAnnotatedClass.java > +++ b/code/src/main/java/bar/MyAnnotatedClass.java > @@ -4,7 +4,7 @@ import foo.MyAnnotation; > @MyAnnotation > public class MyAnnotatedClass { > -MyGeneratedClass generatedClass = new MyGeneratedClass(); > +MyGeneratedClass generatedClass = new MyGeneratedClass(false); > // foo > {code} > > To see that *not* adding {{target/generated-sources/annotations}} helps run > {{mvn -X compile}} and copy the {{Command line options:}}. Then
[jira] [Created] (MCOMPILER-535) jmps.args should be removed from the target/classes/META-INF directory
zosrothko created MCOMPILER-535: --- Summary: jmps.args should be removed from the target/classes/META-INF directory Key: MCOMPILER-535 URL: https://issues.apache.org/jira/browse/MCOMPILER-535 Project: Maven Compiler Plugin Issue Type: Bug Affects Versions: 3.11.0 Reporter: zosrothko Hello When compiling for Java 11 and using --add-exports flag as show below {code:java} maven-compiler-plugin --add-exports java.desktop/java.awt.dnd.peer=ALL-UNNAMED {code} the maven-compiler-plugin is generating a file named jmps.args in the target/classes/META-INF directory. This file should removed after the compilation otherwise one gets multiple identical file name when used in a multimodule projects. The jmps.args file contains {code:java} --add-exports java.desktop/java.awt.dnd.peer=ALL-UNNAMED {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (MNG-7419) Add overiding dependencies from a BOM dependencyManagement
[ https://issues.apache.org/jira/browse/MNG-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17628767#comment-17628767 ] zosrothko commented on MNG-7419: I can have a look if you give some hints where to look for... > Add overiding dependencies from a BOM dependencyManagement > -- > > Key: MNG-7419 > URL: https://issues.apache.org/jira/browse/MNG-7419 > Project: Maven > Issue Type: New Feature > Components: Dependencies > Environment: Apache Maven 3.6.3 > (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: C:\ASF\apache-maven-3.6.3\bin\.. > Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk1.8.0_181\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Labels: BOM > > Hello > By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I > finally manage my BOM problem. But I need an extension that allows the > imported BOM to be overriden by some new dependencies specs. As for exemple > {code:java} > > > > com.scort > mi > 4.4.0 > import > pom > > > foo > bar > provided > > > > {code} > The use case is the case where a customer wants to integrate the com.scor:mi > jars in a war to run on Tomcat for exemple, while it would like also to > integrate com.scort:mi jars as a module of a JBoss server, in which case, the > artifacts should be marked as provided. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (MNG-7419) Add overiding dependencies from a BOM dependencyManagement
[ https://issues.apache.org/jira/browse/MNG-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17628746#comment-17628746 ] zosrothko commented on MNG-7419: Hello Michael I am wondering if there are any progresses on this issue? > Add overiding dependencies from a BOM dependencyManagement > -- > > Key: MNG-7419 > URL: https://issues.apache.org/jira/browse/MNG-7419 > Project: Maven > Issue Type: New Feature > Components: Dependencies > Environment: Apache Maven 3.6.3 > (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: C:\ASF\apache-maven-3.6.3\bin\.. > Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk1.8.0_181\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Labels: BOM > > Hello > By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I > finally manage my BOM problem. But I need an extension that allows the > imported BOM to be overriden by some new dependencies specs. As for exemple > {code:java} > > > > com.scort > mi > 4.4.0 > import > pom > > > foo > bar > provided > > > > {code} > The use case is the case where a customer wants to integrate the com.scor:mi > jars in a war to run on Tomcat for exemple, while it would like also to > integrate com.scort:mi jars as a module of a JBoss server, in which case, the > artifacts should be marked as provided. -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Commented] (MNG-7419) Add overiding dependencies from a BOM dependencyManagement
[ https://issues.apache.org/jira/browse/MNG-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17522809#comment-17522809 ] zosrothko commented on MNG-7419: I do not have right now any other wishes... The BOM feature is really a "must-know" since it simplify greatly a product dependency for consumer. Thank you for having pointed this feature. > Add overiding dependencies from a BOM dependencyManagement > -- > > Key: MNG-7419 > URL: https://issues.apache.org/jira/browse/MNG-7419 > Project: Maven > Issue Type: New Feature > Components: Dependencies > Environment: Apache Maven 3.6.3 > (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: C:\ASF\apache-maven-3.6.3\bin\.. > Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk1.8.0_181\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Labels: BOM > > Hello > By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I > finally manage my BOM problem. But I need an extension that allows the > imported BOM to be overriden by some new dependencies specs. As for exemple > {code:java} > > > > com.scort > mi > 4.4.0 > import > pom > > > foo > bar > provided > > > > {code} > The use case is the case where a customer wants to integrate the com.scor:mi > jars in a war to run on Tomcat for exemple, while it would like also to > integrate com.scort:mi jars as a module of a JBoss server, in which case, the > artifacts should be marked as provided. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (MNG-7419) Add overiding dependencies from a BOM dependencyManagement
[ https://issues.apache.org/jira/browse/MNG-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17521117#comment-17521117 ] zosrothko commented on MNG-7419: Could this request extension be implemented and delivered? > Add overiding dependencies from a BOM dependencyManagement > -- > > Key: MNG-7419 > URL: https://issues.apache.org/jira/browse/MNG-7419 > Project: Maven > Issue Type: New Feature > Components: Dependencies > Environment: Apache Maven 3.6.3 > (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: C:\ASF\apache-maven-3.6.3\bin\.. > Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk1.8.0_181\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Labels: BOM > > Hello > By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I > finally manage my BOM problem. But I need an extension that allows the > imported BOM to be overriden by some new dependencies specs. As for exemple > {code:java} > > > > com.scort > mi > 4.4.0 > import > pom > > > foo > bar > provided > > > > {code} > The use case is the case where a customer wants to integrate the com.scor:mi > jars in a war to run on Tomcat for exemple, while it would like also to > integrate com.scort:mi jars as a module of a JBoss server, in which case, the > artifacts should be marked as provided. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (MNG-7269) Add multiple inheritance of parent projects
[ https://issues.apache.org/jira/browse/MNG-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17498754#comment-17498754 ] zosrothko commented on MNG-7269: Michael, what do you mean by "Did you check the ticket?" I do not undestand what I have to do. > Add multiple inheritance of parent projects > --- > > Key: MNG-7269 > URL: https://issues.apache.org/jira/browse/MNG-7269 > Project: Maven > Issue Type: New Feature > Components: Inheritance and Interpolation >Reporter: zosrothko >Priority: Major > Fix For: waiting-for-feedback > > > Hello Maven people > It would be nice to add the feature of multiples ihneritance of parent > projects for any kind of module packaging. This would simplifies greatly the > delivery of a software product build with multi modules artifacts and by > consequence the intégration of such products in a customer maven based > application. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] (MNG-7269) Add multiple inheritance of parent projects
[ https://issues.apache.org/jira/browse/MNG-7269 ] zosrothko deleted comment on MNG-7269: was (Author: zosrothko): Not yet tested. Will do by this week? > Add multiple inheritance of parent projects > --- > > Key: MNG-7269 > URL: https://issues.apache.org/jira/browse/MNG-7269 > Project: Maven > Issue Type: New Feature > Components: Inheritance and Interpolation >Reporter: zosrothko >Priority: Major > Fix For: waiting-for-feedback > > > Hello Maven people > It would be nice to add the feature of multiples ihneritance of parent > projects for any kind of module packaging. This would simplifies greatly the > delivery of a software product build with multi modules artifacts and by > consequence the intégration of such products in a customer maven based > application. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (MNG-7269) Add multiple inheritance of parent projects
[ https://issues.apache.org/jira/browse/MNG-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17498753#comment-17498753 ] zosrothko commented on MNG-7269: Not yet tested. Will do by this week? > Add multiple inheritance of parent projects > --- > > Key: MNG-7269 > URL: https://issues.apache.org/jira/browse/MNG-7269 > Project: Maven > Issue Type: New Feature > Components: Inheritance and Interpolation >Reporter: zosrothko >Priority: Major > Fix For: waiting-for-feedback > > > Hello Maven people > It would be nice to add the feature of multiples ihneritance of parent > projects for any kind of module packaging. This would simplifies greatly the > delivery of a software product build with multi modules artifacts and by > consequence the intégration of such products in a customer maven based > application. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (MNG-7419) Add overiding dependencies from a BOM dependencyManagement
[ https://issues.apache.org/jira/browse/MNG-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17496609#comment-17496609 ] zosrothko commented on MNG-7419: I read twice carefully all the proposals and it seems there is not anything equivalent of my feature extension. But, the draft is targeting Maven specialists of Maven inside architecture, model and I am not at this level to understand all tenants of the new POM 5.0.0. So I am suggesting to target my extension request on the current POM 4.0.0 as it concerns a limited area: the BOM. > Add overiding dependencies from a BOM dependencyManagement > -- > > Key: MNG-7419 > URL: https://issues.apache.org/jira/browse/MNG-7419 > Project: Maven > Issue Type: New Feature > Components: Dependencies > Environment: Apache Maven 3.6.3 > (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: C:\ASF\apache-maven-3.6.3\bin\.. > Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk1.8.0_181\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Labels: BOM > > Hello > By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I > finally manage my BOM problem. But I need an extension that allows the > imported BOM to be overriden by some new dependencies specs. As for exemple > {code:java} > > > > com.scort > mi > 4.4.0 > import > pom > > > foo > bar > provided > > > > {code} > The use case is the case where a customer wants to integrate the com.scor:mi > jars in a war to run on Tomcat for exemple, while it would like also to > integrate com.scort:mi jars as a module of a JBoss server, in which case, the > artifacts should be marked as provided. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Comment Edited] (MNG-7419) Add overiding dependencies from a BOM dependencyManagement
[ https://issues.apache.org/jira/browse/MNG-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17496579#comment-17496579 ] zosrothko edited comment on MNG-7419 at 2/23/22, 8:48 AM: -- I do not understand your lcomments – the latest and the former --. This issue is requesting a new feature on the BOM schema. For sure, the input is invalid without this extension. was (Author: zosrothko): I do not understand your lcomments – the latest and the former --. This issue is requesting a new feature on the BOM schema. For sure, the input is invalid... > Add overiding dependencies from a BOM dependencyManagement > -- > > Key: MNG-7419 > URL: https://issues.apache.org/jira/browse/MNG-7419 > Project: Maven > Issue Type: New Feature > Components: Dependencies > Environment: Apache Maven 3.6.3 > (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: C:\ASF\apache-maven-3.6.3\bin\.. > Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk1.8.0_181\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Labels: BOM > > Hello > By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I > finally manage my BOM problem. But I need an extension that allows the > imported BOM to be overriden by some new dependencies specs. As for exemple > {code:java} > > > > com.scort > mi > 4.4.0 > import > pom > > > foo > bar > provided > > > > {code} > The use case is the case where a customer wants to integrate the com.scor:mi > jars in a war to run on Tomcat for exemple, while it would like also to > integrate com.scort:mi jars as a module of a JBoss server, in which case, the > artifacts should be marked as provided. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (MNG-7419) Add overiding dependencies from a BOM dependencyManagement
[ https://issues.apache.org/jira/browse/MNG-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17496579#comment-17496579 ] zosrothko commented on MNG-7419: I do not understand your lcomments – the latest and the former --. This issue is requesting a new feature on the BOM schema. For sure, the input is invalid... > Add overiding dependencies from a BOM dependencyManagement > -- > > Key: MNG-7419 > URL: https://issues.apache.org/jira/browse/MNG-7419 > Project: Maven > Issue Type: New Feature > Components: Dependencies > Environment: Apache Maven 3.6.3 > (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: C:\ASF\apache-maven-3.6.3\bin\.. > Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk1.8.0_181\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Labels: BOM > > Hello > By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I > finally manage my BOM problem. But I need an extension that allows the > imported BOM to be overriden by some new dependencies specs. As for exemple > {code:java} > > > > com.scort > mi > 4.4.0 > import > pom > > > foo > bar > provided > > > > {code} > The use case is the case where a customer wants to integrate the com.scor:mi > jars in a war to run on Tomcat for exemple, while it would like also to > integrate com.scort:mi jars as a module of a JBoss server, in which case, the > artifacts should be marked as provided. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Comment Edited] (MNG-7419) Add overiding dependencies from a BOM dependencyManagement
[ https://issues.apache.org/jira/browse/MNG-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17496566#comment-17496566 ] zosrothko edited comment on MNG-7419 at 2/23/22, 8:44 AM: -- WIth maven 3.8.4 {code:java} D:\MXW\IC\4.5\IC>mvn -version Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) Maven home: C:\ASF\apache-maven-3.8.4 Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_181\jre Default locale: fr_FR, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" {code} the following BOM is rejected {code:java} com.scort mi 4.5.0 import pom com.scort.mi scortsmpaas provided {code} {code:java} D:\MXW\IC\4.5\IC>mvn clean install [INFO] Scanning for projects... Downloading from snapshot: https://nexus.metrixware.com/repository/snapshot/com/scort/2021.11-SNAPSHOT/maven-metadata.xml Downloaded from snapshot: https://nexus.metrixware.com/repository/snapshot/com/scort/2021.11-SNAPSHOT/maven-metadata.xml (589 B at 596 B/s) [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Malformed POM D:\MXW\IC\4.5\IC\pom.xml: Unrecognised tag: 'dependencies' (position: START_TAG seen ...\r\n\t\t\t\t... @28:19) @ D:\MXW\IC\4.5\IC\pom.xml, line 28, column 19 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.scort.test:ic:1.2.1-SNAPSHOT (D:\MXW\IC\4.5\IC\pom.xml) has 1 error [ERROR] Malformed POM D:\MXW\IC\4.5\IC\pom.xml: Unrecognised tag: 'dependencies' (position: START_TAG seen ...\r\n\t\t\t\t... @28:19) @ D:\MXW\IC\4.5\IC\pom.xml, line 28, column 19 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException {code} was (Author: zosrothko): WIth maven 3.8.4 {code:java} D:\MXW\IC\4.5\IC>mvn -version Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) Maven home: C:\ASF\apache-maven-3.8.4 Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_181\jre Default locale: fr_FR, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" {code} the following BOM is rejected {code:java} com.scort mi 4.5.0 import pom {code} {code:java} D:\MXW\IC\4.5\IC>mvn clean install [INFO] Scanning for projects... Downloading from snapshot: https://nexus.metrixware.com/repository/snapshot/com/scort/2021.11-SNAPSHOT/maven-metadata.xml Downloaded from snapshot: https://nexus.metrixware.com/repository/snapshot/com/scort/2021.11-SNAPSHOT/maven-metadata.xml (589 B at 596 B/s) [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Malformed POM D:\MXW\IC\4.5\IC\pom.xml: Unrecognised tag: 'dependencies' (position: START_TAG seen ...\r\n\t\t\t\t... @28:19) @ D:\MXW\IC\4.5\IC\pom.xml, line 28, column 19 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.scort.test:ic:1.2.1-SNAPSHOT (D:\MXW\IC\4.5\IC\pom.xml) has 1 error [ERROR] Malformed POM D:\MXW\IC\4.5\IC\pom.xml: Unrecognised tag: 'dependencies' (position: START_TAG seen ...\r\n\t\t\t\t... @28:19) @ D:\MXW\IC\4.5\IC\pom.xml, line 28, column 19 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException {code} > Add overiding dependencies from a BOM dependencyManagement > -- > > Key: MNG-7419 > URL: https://issues.apache.org/jira/browse/MNG-7419 > Project: Maven > Issue Type: New Feature >
[jira] [Commented] (MNG-7419) Add overiding dependencies from a BOM dependencyManagement
[ https://issues.apache.org/jira/browse/MNG-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17496566#comment-17496566 ] zosrothko commented on MNG-7419: WIth maven 3.8.4 {code:java} D:\MXW\IC\4.5\IC>mvn -version Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) Maven home: C:\ASF\apache-maven-3.8.4 Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_181\jre Default locale: fr_FR, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" {code} the following BOM is rejected {code:java} com.scort mi 4.5.0 import pom {code} {code:java} D:\MXW\IC\4.5\IC>mvn clean install [INFO] Scanning for projects... Downloading from snapshot: https://nexus.metrixware.com/repository/snapshot/com/scort/2021.11-SNAPSHOT/maven-metadata.xml Downloaded from snapshot: https://nexus.metrixware.com/repository/snapshot/com/scort/2021.11-SNAPSHOT/maven-metadata.xml (589 B at 596 B/s) [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Malformed POM D:\MXW\IC\4.5\IC\pom.xml: Unrecognised tag: 'dependencies' (position: START_TAG seen ...\r\n\t\t\t\t... @28:19) @ D:\MXW\IC\4.5\IC\pom.xml, line 28, column 19 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.scort.test:ic:1.2.1-SNAPSHOT (D:\MXW\IC\4.5\IC\pom.xml) has 1 error [ERROR] Malformed POM D:\MXW\IC\4.5\IC\pom.xml: Unrecognised tag: 'dependencies' (position: START_TAG seen ...\r\n\t\t\t\t... @28:19) @ D:\MXW\IC\4.5\IC\pom.xml, line 28, column 19 -> [Help 2] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException {code} > Add overiding dependencies from a BOM dependencyManagement > -- > > Key: MNG-7419 > URL: https://issues.apache.org/jira/browse/MNG-7419 > Project: Maven > Issue Type: New Feature > Components: Dependencies > Environment: Apache Maven 3.6.3 > (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: C:\ASF\apache-maven-3.6.3\bin\.. > Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk1.8.0_181\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Labels: BOM > > Hello > By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I > finally manage my BOM problem. But I need an extension that allows the > imported BOM to be overriden by some new dependencies specs. As for exemple > {code:java} > > > > com.scort > mi > 4.4.0 > import > pom > > > foo > bar > provided > > > > {code} > The use case is the case where a customer wants to integrate the com.scor:mi > jars in a war to run on Tomcat for exemple, while it would like also to > integrate com.scort:mi jars as a module of a JBoss server, in which case, the > artifacts should be marked as provided. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (MNG-7419) Add overiding dependencies from a BOM dependencyManagement
[ https://issues.apache.org/jira/browse/MNG-7419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17496044#comment-17496044 ] zosrothko commented on MNG-7419: Thanks for the tip, but which updated environment do you mean? > Add overiding dependencies from a BOM dependencyManagement > -- > > Key: MNG-7419 > URL: https://issues.apache.org/jira/browse/MNG-7419 > Project: Maven > Issue Type: New Feature > Components: Dependencies > Environment: Apache Maven 3.6.3 > (cecedd343002696d0abb50b32b541b8a6ba2883f) > Maven home: C:\ASF\apache-maven-3.6.3\bin\.. > Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk1.8.0_181\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Labels: BOM > > Hello > By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I > finally manage my BOM problem. But I need an extension that allows the > imported BOM to be overriden by some new dependencies specs. As for exemple > {code:java} > > > > com.scort > mi > 4.4.0 > import > pom > > > foo > bar > provided > > > > {code} > The use case is the case where a customer wants to integrate the com.scor:mi > jars in a war to run on Tomcat for exemple, while it would like also to > integrate com.scort:mi jars as a module of a JBoss server, in which case, the > artifacts should be marked as provided. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Created] (MNG-7419) Add overiding dependencies from a BOM dependencyManagement
zosrothko created MNG-7419: -- Summary: Add overiding dependencies from a BOM dependencyManagement Key: MNG-7419 URL: https://issues.apache.org/jira/browse/MNG-7419 Project: Maven Issue Type: New Feature Components: Dependencies Environment: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: C:\ASF\apache-maven-3.6.3\bin\.. Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_181\jre Default locale: fr_FR, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" Reporter: zosrothko Hello By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I finally manage my BOM problem. But I need an extension that allows the imported BOM to be overriden by some new dependencies specs. As for exemple {code:java} com.scort mi 4.4.0 import pom foo bar provided {code} The use case is the case where a customer wants to integrate the com.scor:mi jars in a war to run on Tomcat for exemple, while it would like also to integrate com.scort:mi jars as a module of a JBoss server, in which case, the artifacts should be marked as provided. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] (MNG-7269) Add multiple inheritance of parent projects
[ https://issues.apache.org/jira/browse/MNG-7269 ] zosrothko deleted comment on MNG-7269: was (Author: zosrothko): Hello By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I finally manage this BOM problem. But I need an extension that allow the imported BOM to be overriden by some new specs. As for exemple {code:java} com.scort mi 4.4.0 import pom foo bar provided {code} The use case is the case where a customer wants to integrate the com.scor:mi jars in a war to run on Tomcat for exemple, while it would like also to integrate com.scort:mi jars as a module of a JBoss server, in which case, the artifacts should be marked as provided. > Add multiple inheritance of parent projects > --- > > Key: MNG-7269 > URL: https://issues.apache.org/jira/browse/MNG-7269 > Project: Maven > Issue Type: New Feature > Components: Inheritance and Interpolation >Reporter: zosrothko >Priority: Major > > Hello Maven people > It would be nice to add the feature of multiples ihneritance of parent > projects for any kind of module packaging. This would simplifies greatly the > delivery of a software product build with multi modules artifacts and by > consequence the intégration of such products in a customer maven based > application. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (MNG-7269) Add multiple inheritance of parent projects
[ https://issues.apache.org/jira/browse/MNG-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17493845#comment-17493845 ] zosrothko commented on MNG-7269: Hello By looking at [MNG-5102|https://issues.apache.org/jira/browse/MNG-5102], I finally manage this BOM problem. But I need an extension that allow the imported BOM to be overriden by some new specs. As for exemple {code:java} com.scort mi 4.4.0 import pom foo bar provided {code} The use case is the case where a customer wants to integrate the com.scor:mi jars in a war to run on Tomcat for exemple, while it would like also to integrate com.scort:mi jars as a module of a JBoss server, in which case, the artifacts should be marked as provided. > Add multiple inheritance of parent projects > --- > > Key: MNG-7269 > URL: https://issues.apache.org/jira/browse/MNG-7269 > Project: Maven > Issue Type: New Feature > Components: Inheritance and Interpolation >Reporter: zosrothko >Priority: Major > > Hello Maven people > It would be nice to add the feature of multiples ihneritance of parent > projects for any kind of module packaging. This would simplifies greatly the > delivery of a software product build with multi modules artifacts and by > consequence the intégration of such products in a customer maven based > application. -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (MNG-7269) Add multiple inheritance of parent projects
[ https://issues.apache.org/jira/browse/MNG-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421450#comment-17421450 ] zosrothko commented on MNG-7269: Not yet considered BOM POMs. Will look at MNG-5102 as soon as possible. Thanks for the pointer. > Add multiple inheritance of parent projects > --- > > Key: MNG-7269 > URL: https://issues.apache.org/jira/browse/MNG-7269 > Project: Maven > Issue Type: New Feature > Components: Inheritance and Interpolation >Reporter: zosrothko >Priority: Major > > Hello Maven people > It would be nice to add the feature of multiples ihneritance of parent > projects for any kind of module packaging. This would simplifies greatly the > delivery of a software product build with multi modules artifacts and by > consequence the intégration of such products in a customer maven based > application. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MNG-7269) Add multiple inheritance of parent projects
[ https://issues.apache.org/jira/browse/MNG-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17421379#comment-17421379 ] zosrothko commented on MNG-7269: Ok let's explain a use's case I am delivering a multi module maven based product name MI with a top pom.xml. My customer is building a multi module maven web application, let say MYWAR with a main pom.xm. The MYWAR pom inherits from a customer parent, it self inheriting from a top level customer's pom. The MYWAR multi module has a lot of dependencies on my MI product (around 100). So adding the MI pom as a multi-inherited pom will help my customer to change of my MI version because his MYWAR pom would just have dependencies whose version will come from my MI pom instead of beeing hard coded. > Add multiple inheritance of parent projects > --- > > Key: MNG-7269 > URL: https://issues.apache.org/jira/browse/MNG-7269 > Project: Maven > Issue Type: New Feature > Components: Inheritance and Interpolation >Reporter: zosrothko >Priority: Major > > Hello Maven people > It would be nice to add the feature of multiples ihneritance of parent > projects for any kind of module packaging. This would simplifies greatly the > delivery of a software product build with multi modules artifacts and by > consequence the intégration of such products in a customer maven based > application. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (MNG-7269) Add multiple inheritance of parent projects
[ https://issues.apache.org/jira/browse/MNG-7269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zosrothko updated MNG-7269: --- Summary: Add multiple inheritance of parent projects (was: Add multiple ihneritance of parent projects) > Add multiple inheritance of parent projects > --- > > Key: MNG-7269 > URL: https://issues.apache.org/jira/browse/MNG-7269 > Project: Maven > Issue Type: New Feature > Components: Inheritance and Interpolation >Reporter: zosrothko >Priority: Major > > Hello Maven people > It would be nice to add the feature of multiples ihneritance of parent > projects for any kind of module packaging. This would simplifies greatly the > delivery of a software product build with multi modules artifacts and by > consequence the intégration of such products in a customer maven based > application. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (MNG-7269) Add multiple ihneritance of parent projects
zosrothko created MNG-7269: -- Summary: Add multiple ihneritance of parent projects Key: MNG-7269 URL: https://issues.apache.org/jira/browse/MNG-7269 Project: Maven Issue Type: New Feature Components: Inheritance and Interpolation Reporter: zosrothko Hello Maven people It would be nice to add the feature of multiples ihneritance of parent projects for any kind of module packaging. This would simplifies greatly the delivery of a software product build with multi modules artifacts and by consequence the intégration of such products in a customer maven based application. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (MINVOKER-266) Remove invalid message: [WARNING] Filtering of parent/child POMs is not supported without cloning the projects
zosrothko created MINVOKER-266: -- Summary: Remove invalid message: [WARNING] Filtering of parent/child POMs is not supported without cloning the projects Key: MINVOKER-266 URL: https://issues.apache.org/jira/browse/MINVOKER-266 Project: Maven Invoker Plugin Issue Type: Bug Affects Versions: 3.2.0 Environment: C:\Users\fandre\Documents\git\javacc\javacc-8.0>mvn -version Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T21:00:29+02:00) Maven home: C:\ASF\apache-maven-3.6.1\bin\.. Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_181\jre Default locale: fr_FR, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" Reporter: zosrothko Hello This warning: "[WARNING] Filtering of parent/child POMs is not supported without cloning the projects" is invalid since filtering parent/child projects is effective even is there is no cloning at all. Thus, it could be removed. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (MRELEASE-1051) maven-release-plugin should honor the -N command line option
[ https://issues.apache.org/jira/browse/MRELEASE-1051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17157169#comment-17157169 ] zosrothko commented on MRELEASE-1051: - It simplify the release of multimodule project. The use case is a multi module project using git as SCM with each submodule as well as the root parent project having its own git repository. Once the root parent be release only, the submodules could be released with their parent pom with a release version and not a snapshot version. This will work well with each submodule cloned as a git submodule from the root parent. > maven-release-plugin should honor the -N command line option > > > Key: MRELEASE-1051 > URL: https://issues.apache.org/jira/browse/MRELEASE-1051 > Project: Maven Release Plugin > Issue Type: Bug >Affects Versions: 3.0.0-M1 > Environment: C:\Users\fandre\Documents\git\javacc\javacc-8.0>mvn > -version > Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; > 2019-04-04T21:00:29+02:00) > Maven home: C:\ASF\apache-maven-3.6.1\bin\.. > Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program > Files\Java\jdk1.8.0_181\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > > Hello > > the maven-release-plugin does not seem to honnor the maven command line > option '-N' as it releases all modules of a root pom module. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (MRELEASE-1051) maven-release-plugin should honnor the -N command line option
zosrothko created MRELEASE-1051: --- Summary: maven-release-plugin should honnor the -N command line option Key: MRELEASE-1051 URL: https://issues.apache.org/jira/browse/MRELEASE-1051 Project: Maven Release Plugin Issue Type: Bug Affects Versions: 3.0.0-M1 Environment: C:\Users\fandre\Documents\git\javacc\javacc-8.0>mvn -version Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T21:00:29+02:00) Maven home: C:\ASF\apache-maven-3.6.1\bin\.. Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_181\jre Default locale: fr_FR, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" Reporter: zosrothko Hello the maven-release-plugin does not seem to honnor the maven command line option '-N' as it releases all modules of a root pom module. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (MSHADE-335) Add an option to exclude the transitive dependencies from the Shaded jar
zosrothko created MSHADE-335: Summary: Add an option to exclude the transitive dependencies from the Shaded jar Key: MSHADE-335 URL: https://issues.apache.org/jira/browse/MSHADE-335 Project: Maven Shade Plugin Issue Type: New Feature Reporter: zosrothko Hello One have build a specific maven plugin to implement the functionality of the Maven Shade Plugin but without including the transitive dependencies. Producing a shaded jar without the transitive dependencies would interest people since this kind of request appears many time on StackOverflow, hence this teature request. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (MRELEASE-1022) release:prepare does not honor project.dev version predefined in release.properties
zosrothko created MRELEASE-1022: --- Summary: release:prepare does not honor project.dev version predefined in release.properties Key: MRELEASE-1022 URL: https://issues.apache.org/jira/browse/MRELEASE-1022 Project: Maven Release Plugin Issue Type: Bug Components: prepare Affects Versions: 2.5.3 Environment: C:\Users\fandre\Documents\MXW\RD\RD>C:\ASF\apache-maven-3.6.1\bin\mvn --version Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T21:00:29+02:00) Maven home: C:\ASF\apache-maven-3.6.1\bin\.. Java version: 1.8.0_181, vendor: Oracle Corporation, runtime: C:\Program Files\Java\jdk1.8.0_181\jre Default locale: fr_FR, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" Reporter: zosrothko Attachments: mvn.log, pom.xml, pom.xml, pom.xml, release.properties, release.properties.dryRun Hi Using the release.properties defined as below {code:java} scm.tag=rd-2019.3 project.rel.com.scort\:rd=2019.3 project.dev.com.scort\:rd=2019.4-SNAPSHOT project.rel.com.scort.merge\:mergejar=1.2.0 project.dev.com.scort.merge\:mergejar=1.2.0 project.rel.com.scort.plugins\:mergejar=1.2.0 project.dev.com.scort.plugins\:mergejar=1.2.0 {code} with the command {code:java} mvn -B release:prepare -DdryRun=true {code} the maven-release-plugin does not use the specified 'project.dev' version to update the pom in the second phase. Here the log {code:java} [INFO] Scanning for projects... [INFO] [INFO] Reactor Build Order: [INFO] [INFO] RD [pom] [INFO] Jar Merger [jar] [INFO] MAVEN plugin to merge jar [maven-plugin] [INFO] [INFO] < com.scort:rd > [INFO] Building RD 2019.3-SNAPSHOT [1/3] [INFO] [ pom ]- [INFO] [INFO] --- maven-release-plugin:2.5.3:prepare (default-cli) @ rd --- [INFO] Verifying that there are no local modifications... [INFO] ignoring changes on: **\pom.xml.next, **\release.properties, **\pom.xml.branch, **\pom.xml.tag, **\pom.xml.backup, **\pom.xml.releaseBackup [INFO] Executing: cmd.exe /X /C "git rev-parse --show-toplevel" [INFO] Working directory: C:\Users\fandre\Documents\MXW\RD\RD [INFO] Executing: cmd.exe /X /C "git status --porcelain ." [INFO] Working directory: C:\Users\fandre\Documents\MXW\RD\RD [WARNING] Ignoring unrecognized line: ?? RD/release.properties.copy [INFO] Checking dependencies and plugins for snapshots ... [INFO] Transforming 'RD'... [INFO] Updating ${antmergejar} to 1.2.0 [INFO] Updating ${mavenmergejar} to 1.2.0 [INFO] Transforming 'Jar Merger'... [INFO] Transforming 'MAVEN plugin to merge jar'... [INFO] Not generating release POMs [INFO] Executing preparation goals - since this is simulation mode it is running against the original project, not the rewritten ones [INFO] Executing goals 'clean verify'... [INFO] [INFO] Scanning for projects... [INFO] [INFO] [INFO] [INFO] Reactor Build Order: [INFO] [INFO] [INFO] [INFO] RD [pom] [INFO] [INFO] Jar Merger [jar] [INFO] [INFO] MAVEN plugin to merge jar [maven-plugin] [INFO] [INFO] [INFO] [INFO] < com.scort:rd > [INFO] [INFO] Building RD 2019.3-SNAPSHOT [1/3] [INFO] [INFO] [ pom ]- [INFO] [INFO] [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ rd --- [INFO] [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ rd --- [INFO] [INFO] [INFO] [INFO] --< com.scort.merge:mergejar >-- [INFO] [INFO] Building Jar Merger 1.2.0 [2/3] [INFO] [INFO] [ jar ]- [INFO] [INFO] [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ mergejar --- [INFO] [INFO] Deleting C:\Users\fandre\Documents\MXW\RD\RD\AntMergeJar\target [INFO] [INFO] [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ mergejar --- [INFO] [INFO] [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ mergejar --- [INFO] [INFO] Using 'ISO-8859-15' encoding to copy filtered resources. [INFO] [INFO] Copying 1 resource [INFO] [INFO] [INFO] [INFO] ---
[jira] [Commented] (MRAR-81) rar artifact is build twice
[ https://issues.apache.org/jira/browse/MRAR-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16723006#comment-16723006 ] zosrothko commented on MRAR-81: --- Why maven-rar-plugin does not work like maven-jar-plugin? With the maven-jar-plugin, one can supersede the configuration into the without have the jar build twice?? > rar artifact is build twice > --- > > Key: MRAR-81 > URL: https://issues.apache.org/jira/browse/MRAR-81 > Project: Maven Rar Plugin > Issue Type: Bug >Affects Versions: 2.4 > Environment: Windows10, JDk 1.8, maven 3.5.4 >Reporter: zosrothko >Assignee: Karl Heinz Marbaise >Priority: Major > Attachments: pom.xml > > > Hi > Below a log a build with the mavan-rar-plugin showing that the rar artifact > is build twice, one for the 'default-rar' goal and one for the 'rar' goal > > [INFO] --< fr.swisslife.archiev3:archieftconnector > >--- > [INFO] Building SCORT FT Resource Adapter 0.0.1-SNAPSHOT > [9/11] > [INFO] [ rar > ]- > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ archieftconnector > --- > [INFO] Deleting > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > archieftconnector --- > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\resources > [INFO] > [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ > archieftconnector --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ > archieftconnector --- > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\test\resources > [INFO] > [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ > archieftconnector --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ > archieftconnector --- > [INFO] Tests are skipped. > [INFO] > [INFO] --- maven-rar-plugin:2.4:rar (default-rar) @ archieftconnector --- > [INFO] Copying artifact[bouncycastle, bouncycastle:bouncycastle:jar:1.04, > compile] > [INFO] Copying artifact[ctg, ctg:ctgclient:jar:4.0, compile] > [INFO] Copying artifact[commons-logging, > commons-logging:commons-logging:jar:1.1.1, compile] > [INFO] Copying artifact[log4j, log4j:log4j:jar:1.2.15, compile] > [INFO] Copying artifact[javax.mail, javax.mail:mail:jar:1.4, compile] > [INFO] Copying artifact[javax.activation, > javax.activation:activation:jar:1.1, compile] > [INFO] Copying artifact[javax.jms, javax.jms:jms:jar:1.1, compile] > [INFO] Copying artifact[com.sun.jdmk, com.sun.jdmk:jmxtools:jar:1.2.1, > compile] > [INFO] Copying artifact[com.sun.jmx, com.sun.jmx:jmxri:jar:1.2.1, compile] > [INFO] Copying artifact[com.scort.cics.jca, > com.scort.cics.jca:scortcicsecira:jar:3.1.0, compile] > [INFO] Copying artifact[com.scort.tools, > com.scort.tools:scortutilities:jar:2.2.0, compile] > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] Copying 9 resources to > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target\archieftconnector-0.0.1-SNAPSHOT > [INFO] Using ra.xml > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\rar\META-INF\ra.xml > [INFO] Including custom manifest > file[Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\rar\META-INF\MANIFEST.MF] > [INFO] Building jar: > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target\archieftconnector-0.0.1-SNAPSHOT.rar > [INFO] > [INFO] --- maven-rar-plugin:2.4:rar (rar) @ archieftconnector --- > [INFO] Copying artifact[bouncycastle, bouncycastle:bouncycastle:jar:1.04, > compile] > [INFO] Copying artifact[ctg, ctg:ctgclient:jar:4.0, compile] > [INFO] Copying artifact[commons-logging, > commons-logging:commons-logging:jar:1.1.1, compile] > [INFO] Copying artifact[log4j, log4j:log4j:jar:1.2.15, compile] > [INFO] Copying artifact[javax.mail, javax.mail:mail:jar:1.4, compile] > [INFO] Copying artifact[javax.activation, > javax.activation:activation:jar:1.1, compile] > [INFO] Copying artifact[javax.jms, javax.jms:jms:jar:1.1, compile] > [INFO] Copying artifact[com.sun.jdmk, com.sun.jdmk:jmxtools:jar:1.2.1, > compile] > [INFO] Copying
[jira] [Commented] (MRAR-81) rar artifact is build twice
[ https://issues.apache.org/jira/browse/MRAR-81?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16720540#comment-16720540 ] zosrothko commented on MRAR-81: --- Here the full [^pom.xml] > rar artifact is build twice > --- > > Key: MRAR-81 > URL: https://issues.apache.org/jira/browse/MRAR-81 > Project: Maven Rar Plugin > Issue Type: Bug >Affects Versions: 2.4 > Environment: Windows10, JDk 1.8, maven 3.5.4 >Reporter: zosrothko >Priority: Major > Attachments: pom.xml > > > Hi > Below a log a build with the mavan-rar-plugin showing that the rar artifact > is build twice, one for the 'default-rar' goal and one for the 'rar' goal > > [INFO] --< fr.swisslife.archiev3:archieftconnector > >--- > [INFO] Building SCORT FT Resource Adapter 0.0.1-SNAPSHOT > [9/11] > [INFO] [ rar > ]- > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ archieftconnector > --- > [INFO] Deleting > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > archieftconnector --- > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\resources > [INFO] > [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ > archieftconnector --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ > archieftconnector --- > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\test\resources > [INFO] > [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ > archieftconnector --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ > archieftconnector --- > [INFO] Tests are skipped. > [INFO] > [INFO] --- maven-rar-plugin:2.4:rar (default-rar) @ archieftconnector --- > [INFO] Copying artifact[bouncycastle, bouncycastle:bouncycastle:jar:1.04, > compile] > [INFO] Copying artifact[ctg, ctg:ctgclient:jar:4.0, compile] > [INFO] Copying artifact[commons-logging, > commons-logging:commons-logging:jar:1.1.1, compile] > [INFO] Copying artifact[log4j, log4j:log4j:jar:1.2.15, compile] > [INFO] Copying artifact[javax.mail, javax.mail:mail:jar:1.4, compile] > [INFO] Copying artifact[javax.activation, > javax.activation:activation:jar:1.1, compile] > [INFO] Copying artifact[javax.jms, javax.jms:jms:jar:1.1, compile] > [INFO] Copying artifact[com.sun.jdmk, com.sun.jdmk:jmxtools:jar:1.2.1, > compile] > [INFO] Copying artifact[com.sun.jmx, com.sun.jmx:jmxri:jar:1.2.1, compile] > [INFO] Copying artifact[com.scort.cics.jca, > com.scort.cics.jca:scortcicsecira:jar:3.1.0, compile] > [INFO] Copying artifact[com.scort.tools, > com.scort.tools:scortutilities:jar:2.2.0, compile] > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] Copying 9 resources to > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target\archieftconnector-0.0.1-SNAPSHOT > [INFO] Using ra.xml > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\rar\META-INF\ra.xml > [INFO] Including custom manifest > file[Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\rar\META-INF\MANIFEST.MF] > [INFO] Building jar: > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target\archieftconnector-0.0.1-SNAPSHOT.rar > [INFO] > [INFO] --- maven-rar-plugin:2.4:rar (rar) @ archieftconnector --- > [INFO] Copying artifact[bouncycastle, bouncycastle:bouncycastle:jar:1.04, > compile] > [INFO] Copying artifact[ctg, ctg:ctgclient:jar:4.0, compile] > [INFO] Copying artifact[commons-logging, > commons-logging:commons-logging:jar:1.1.1, compile] > [INFO] Copying artifact[log4j, log4j:log4j:jar:1.2.15, compile] > [INFO] Copying artifact[javax.mail, javax.mail:mail:jar:1.4, compile] > [INFO] Copying artifact[javax.activation, > javax.activation:activation:jar:1.1, compile] > [INFO] Copying artifact[javax.jms, javax.jms:jms:jar:1.1, compile] > [INFO] Copying artifact[com.sun.jdmk, com.sun.jdmk:jmxtools:jar:1.2.1, > compile] > [INFO] Copying artifact[com.sun.jmx, com.sun.jmx:jmxri:jar:1.2.1, compile] > [INFO] Copying artifact[com.scort.cics.jca, > com.scort.cics.jca:scortcicsecira:jar:3.1.0, compile] > [INFO] Copying
[jira] [Updated] (MRAR-81) rar artifact is build twice
[ https://issues.apache.org/jira/browse/MRAR-81?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zosrothko updated MRAR-81: -- Attachment: pom.xml > rar artifact is build twice > --- > > Key: MRAR-81 > URL: https://issues.apache.org/jira/browse/MRAR-81 > Project: Maven Rar Plugin > Issue Type: Bug >Affects Versions: 2.4 > Environment: Windows10, JDk 1.8, maven 3.5.4 >Reporter: zosrothko >Priority: Major > Attachments: pom.xml > > > Hi > Below a log a build with the mavan-rar-plugin showing that the rar artifact > is build twice, one for the 'default-rar' goal and one for the 'rar' goal > > [INFO] --< fr.swisslife.archiev3:archieftconnector > >--- > [INFO] Building SCORT FT Resource Adapter 0.0.1-SNAPSHOT > [9/11] > [INFO] [ rar > ]- > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ archieftconnector > --- > [INFO] Deleting > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > archieftconnector --- > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\resources > [INFO] > [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ > archieftconnector --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ > archieftconnector --- > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] skip non existing resourceDirectory > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\test\resources > [INFO] > [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ > archieftconnector --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ > archieftconnector --- > [INFO] Tests are skipped. > [INFO] > [INFO] --- maven-rar-plugin:2.4:rar (default-rar) @ archieftconnector --- > [INFO] Copying artifact[bouncycastle, bouncycastle:bouncycastle:jar:1.04, > compile] > [INFO] Copying artifact[ctg, ctg:ctgclient:jar:4.0, compile] > [INFO] Copying artifact[commons-logging, > commons-logging:commons-logging:jar:1.1.1, compile] > [INFO] Copying artifact[log4j, log4j:log4j:jar:1.2.15, compile] > [INFO] Copying artifact[javax.mail, javax.mail:mail:jar:1.4, compile] > [INFO] Copying artifact[javax.activation, > javax.activation:activation:jar:1.1, compile] > [INFO] Copying artifact[javax.jms, javax.jms:jms:jar:1.1, compile] > [INFO] Copying artifact[com.sun.jdmk, com.sun.jdmk:jmxtools:jar:1.2.1, > compile] > [INFO] Copying artifact[com.sun.jmx, com.sun.jmx:jmxri:jar:1.2.1, compile] > [INFO] Copying artifact[com.scort.cics.jca, > com.scort.cics.jca:scortcicsecira:jar:3.1.0, compile] > [INFO] Copying artifact[com.scort.tools, > com.scort.tools:scortutilities:jar:2.2.0, compile] > [WARNING] Using platform encoding (Cp1252 actually) to copy filtered > resources, i.e. build is platform dependent! > [INFO] Copying 9 resources to > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target\archieftconnector-0.0.1-SNAPSHOT > [INFO] Using ra.xml > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\rar\META-INF\ra.xml > [INFO] Including custom manifest > file[Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\rar\META-INF\MANIFEST.MF] > [INFO] Building jar: > Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target\archieftconnector-0.0.1-SNAPSHOT.rar > [INFO] > [INFO] --- maven-rar-plugin:2.4:rar (rar) @ archieftconnector --- > [INFO] Copying artifact[bouncycastle, bouncycastle:bouncycastle:jar:1.04, > compile] > [INFO] Copying artifact[ctg, ctg:ctgclient:jar:4.0, compile] > [INFO] Copying artifact[commons-logging, > commons-logging:commons-logging:jar:1.1.1, compile] > [INFO] Copying artifact[log4j, log4j:log4j:jar:1.2.15, compile] > [INFO] Copying artifact[javax.mail, javax.mail:mail:jar:1.4, compile] > [INFO] Copying artifact[javax.activation, > javax.activation:activation:jar:1.1, compile] > [INFO] Copying artifact[javax.jms, javax.jms:jms:jar:1.1, compile] > [INFO] Copying artifact[com.sun.jdmk, com.sun.jdmk:jmxtools:jar:1.2.1, > compile] > [INFO] Copying artifact[com.sun.jmx, com.sun.jmx:jmxri:jar:1.2.1, compile] > [INFO] Copying artifact[com.scort.cics.jca, > com.scort.cics.jca:scortcicsecira:jar:3.1.0, compile] > [INFO] Copying artifact[com.scort.tools, >
[jira] [Created] (MRAR-81) rar artifact is build twice
zosrothko created MRAR-81: - Summary: rar artifact is build twice Key: MRAR-81 URL: https://issues.apache.org/jira/browse/MRAR-81 Project: Maven Rar Plugin Issue Type: Bug Affects Versions: 2.4 Environment: Windows10, JDk 1.8, maven 3.5.4 Reporter: zosrothko Hi Below a log a build with the mavan-rar-plugin showing that the rar artifact is build twice, one for the 'default-rar' goal and one for the 'rar' goal [INFO] --< fr.swisslife.archiev3:archieftconnector >--- [INFO] Building SCORT FT Resource Adapter 0.0.1-SNAPSHOT [9/11] [INFO] [ rar ]- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ archieftconnector --- [INFO] Deleting Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ archieftconnector --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ archieftconnector --- [INFO] No sources to compile [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ archieftconnector --- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\test\resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ archieftconnector --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ archieftconnector --- [INFO] Tests are skipped. [INFO] [INFO] --- maven-rar-plugin:2.4:rar (default-rar) @ archieftconnector --- [INFO] Copying artifact[bouncycastle, bouncycastle:bouncycastle:jar:1.04, compile] [INFO] Copying artifact[ctg, ctg:ctgclient:jar:4.0, compile] [INFO] Copying artifact[commons-logging, commons-logging:commons-logging:jar:1.1.1, compile] [INFO] Copying artifact[log4j, log4j:log4j:jar:1.2.15, compile] [INFO] Copying artifact[javax.mail, javax.mail:mail:jar:1.4, compile] [INFO] Copying artifact[javax.activation, javax.activation:activation:jar:1.1, compile] [INFO] Copying artifact[javax.jms, javax.jms:jms:jar:1.1, compile] [INFO] Copying artifact[com.sun.jdmk, com.sun.jdmk:jmxtools:jar:1.2.1, compile] [INFO] Copying artifact[com.sun.jmx, com.sun.jmx:jmxri:jar:1.2.1, compile] [INFO] Copying artifact[com.scort.cics.jca, com.scort.cics.jca:scortcicsecira:jar:3.1.0, compile] [INFO] Copying artifact[com.scort.tools, com.scort.tools:scortutilities:jar:2.2.0, compile] [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 9 resources to Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target\archieftconnector-0.0.1-SNAPSHOT [INFO] Using ra.xml Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\rar\META-INF\ra.xml [INFO] Including custom manifest file[Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\rar\META-INF\MANIFEST.MF] [INFO] Building jar: Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target\archieftconnector-0.0.1-SNAPSHOT.rar [INFO] [INFO] --- maven-rar-plugin:2.4:rar (rar) @ archieftconnector --- [INFO] Copying artifact[bouncycastle, bouncycastle:bouncycastle:jar:1.04, compile] [INFO] Copying artifact[ctg, ctg:ctgclient:jar:4.0, compile] [INFO] Copying artifact[commons-logging, commons-logging:commons-logging:jar:1.1.1, compile] [INFO] Copying artifact[log4j, log4j:log4j:jar:1.2.15, compile] [INFO] Copying artifact[javax.mail, javax.mail:mail:jar:1.4, compile] [INFO] Copying artifact[javax.activation, javax.activation:activation:jar:1.1, compile] [INFO] Copying artifact[javax.jms, javax.jms:jms:jar:1.1, compile] [INFO] Copying artifact[com.sun.jdmk, com.sun.jdmk:jmxtools:jar:1.2.1, compile] [INFO] Copying artifact[com.sun.jmx, com.sun.jmx:jmxri:jar:1.2.1, compile] [INFO] Copying artifact[com.scort.cics.jca, com.scort.cics.jca:scortcicsecira:jar:3.1.0, compile] [INFO] Copying artifact[com.scort.tools, com.scort.tools:scortutilities:jar:2.2.0, compile] [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 9 resources to Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\target\archieftconnector-0.0.1-SNAPSHOT [INFO] Using ra.xml Z:\MXW\Clients\SwissLife\ArchieV3\LXX_ArchieV3_JBoss\archieftconnector\src\main\rar\META-INF\ra.xml
[jira] [Commented] (MINSTALL-151) Projects without primary artifacts, but with attachment artifacts fail install
[ https://issues.apache.org/jira/browse/MINSTALL-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16702833#comment-16702833 ] zosrothko commented on MINSTALL-151: What should be the fix in the izpaack-maven-plugin? > Projects without primary artifacts, but with attachment artifacts fail install > -- > > Key: MINSTALL-151 > URL: https://issues.apache.org/jira/browse/MINSTALL-151 > Project: Maven Install Plugin > Issue Type: Bug >Affects Versions: 3.0.0-M1 >Reporter: Peter Huffer >Priority: Major > Attachments: minstall-151.zip > > > I have a module which has a packaging of {{feature}} from the > {{karaf-maven-plugin}}. When running the {{mvn install}} command, the > following error occurs: > {code:java} > Failed to execute goal > org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install > (default-install) on project : NoFileAssignedException: The > packaging plugin for this project did not assign a main file to the project > but it has attachments. Change packaging to 'pom'. -> [Help 1] > {code} > Reverting back to version {{2.5.2}} made the {{mvn install}} command succeed. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MINSTALL-151) Projects without primary artifacts, but with attachment artifacts fail install
[ https://issues.apache.org/jira/browse/MINSTALL-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16701943#comment-16701943 ] zosrothko commented on MINSTALL-151: Hi Got the same issue with the izpack-maven-plugin which is running fine with maven-install-plugin:2.5.2 but fails with 3.0.0-M1 as [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install (default-install) on project installer-izpack: NoFileAssignedException: The packaging for this project did not assign a file to the build artifact -> [Help 1] How can this be fixed otherwise to rollback to the maven-install-plugin:2.5.2 ? > Projects without primary artifacts, but with attachment artifacts fail install > -- > > Key: MINSTALL-151 > URL: https://issues.apache.org/jira/browse/MINSTALL-151 > Project: Maven Install Plugin > Issue Type: Bug >Affects Versions: 3.0.0-M1 >Reporter: Peter Huffer >Priority: Major > Attachments: minstall-151.zip > > > I have a module which has a packaging of {{feature}} from the > {{karaf-maven-plugin}}. When running the {{mvn install}} command, the > following error occurs: > {code:java} > Failed to execute goal > org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install > (default-install) on project : NoFileAssignedException: The > packaging plugin for this project did not assign a main file to the project > but it has attachments. Change packaging to 'pom'. -> [Help 1] > {code} > Reverting back to version {{2.5.2}} made the {{mvn install}} command succeed. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16326895#comment-16326895 ] zosrothko commented on MPLUGIN-328: --- [~hboutemy]: Uploaded a new attachement plugin.rar build with WinRAR. BTW, WinRAR is opening without any problem plugin.zip > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Fix For: 3.6 > > Attachments: MPLUGIN_328_ArrayIndexOutOfBoundsException__48188.patch, > plugin.rar, plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:xml} > > maven-plugin-plugin > 3.5 > > {code} > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188 > at org.objectweb.asm.ClassReader.readClass(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream(DefaultMojoAnnotationsScanner.java:215) > at >
[jira] [Updated] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zosrothko updated MPLUGIN-328: -- Attachment: plugin.rar > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko >Priority: Major > Fix For: 3.6 > > Attachments: MPLUGIN_328_ArrayIndexOutOfBoundsException__48188.patch, > plugin.rar, plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:xml} > > maven-plugin-plugin > 3.5 > > {code} > {noformat}[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188 > at org.objectweb.asm.ClassReader.readClass(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream(DefaultMojoAnnotationsScanner.java:215) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scanArchive(DefaultMojoAnnotationsScanner.java:145) > at >
[jira] [Commented] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16287342#comment-16287342 ] zosrothko commented on MPLUGIN-328: --- Sample project provided in plugin.zip as well as its parent project as pom.xml > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko > Attachments: plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:java} > maven-plugin-plugin > 3.5 > > > {code} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188 > at org.objectweb.asm.ClassReader.readClass(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream(DefaultMojoAnnotationsScanner.java:215) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scanArchive(DefaultMojoAnnotationsScanner.java:145) > at >
[jira] [Updated] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
[ https://issues.apache.org/jira/browse/MPLUGIN-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] zosrothko updated MPLUGIN-328: -- Docs Text: plugin.zip contains the maven artifact com.scort.es.plugins:scortes-maven-plugin:1.0.5 where this issue appears. pom.xml is the parent project referenced by this later. com.scort rd 2017.1 Attachment: plugin.zip pom.xml > ArrayIndexOutOfBoundsException: 48188 > -- > > Key: MPLUGIN-328 > URL: https://issues.apache.org/jira/browse/MPLUGIN-328 > Project: Maven Plugin Tools > Issue Type: Bug > Components: Plugin Plugin >Affects Versions: 3.5 > Environment: > :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn > -version > Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; > 2017-04-03T21:39:06+02:00) > Maven home: C:\ASF\apache-maven-3.5.0\bin\.. > Java version: 1.8.0_141, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.8.0_141\jre > Default locale: fr_FR, platform encoding: Cp1252 > OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" >Reporter: zosrothko > Attachments: plugin.zip, pom.xml > > > Hi > Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an > empty execution element > {code:java} > maven-plugin-plugin > 3.5 > > > {code} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> > [Help 1] > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute > goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor > (default-descriptor) on project scortes-maven-plugin: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) > at > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > default-descriptor of goal > org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) > ... 20 more > Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188 > at org.objectweb.asm.ClassReader.readClass(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at org.objectweb.asm.ClassReader.accept(Unknown Source) > at > org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream(DefaultMojoAnnotationsScanner.java:215) > at >
[jira] [Created] (MPLUGIN-328) ArrayIndexOutOfBoundsException: 48188
zosrothko created MPLUGIN-328: - Summary: ArrayIndexOutOfBoundsException: 48188 Key: MPLUGIN-328 URL: https://issues.apache.org/jira/browse/MPLUGIN-328 Project: Maven Plugin Tools Issue Type: Bug Components: Plugin Plugin Affects Versions: 3.5 Environment: :\Users\fandre\Documents\MXW\MI\MI-4.1.1\Installer>C:\ASF\apache-maven-3.5.0\bin\mvn -version Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00) Maven home: C:\ASF\apache-maven-3.5.0\bin\.. Java version: 1.8.0_141, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.8.0_141\jre Default locale: fr_FR, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" Reporter: zosrothko Hi Got a ArrayIndexOutOfBoundsException on the maven-plugin-plugin:3.5 with an empty execution element {code:java} maven-plugin-plugin 3.5 {code} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor (default-descriptor) on project scortes-maven-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor (default-descriptor) on project scortes-maven-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:154) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:146) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:309) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:194) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:107) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:993) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:345) at org.apache.maven.cli.MavenCli.main(MavenCli.java:191) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:3.5:descriptor failed: 48188 at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) ... 20 more Caused by: java.lang.ArrayIndexOutOfBoundsException: 48188 at org.objectweb.asm.ClassReader.readClass(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.objectweb.asm.ClassReader.accept(Unknown Source) at org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.analyzeClassStream(DefaultMojoAnnotationsScanner.java:215) at org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scanArchive(DefaultMojoAnnotationsScanner.java:145) at org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan(DefaultMojoAnnotationsScanner.java:112) at org.apache.maven.tools.plugin.extractor.annotations.scanner.DefaultMojoAnnotationsScanner.scan(DefaultMojoAnnotationsScanner.java:79) at org.apache.maven.tools.plugin.extractor.annotations.JavaAnnotationsMojoDescriptorExtractor.scanAnnotations(JavaAnnotationsMojoDescriptorExtractor.java:124) at
[jira] [Created] (MNG-6292) Add to the settings.xml file
zosrothko created MNG-6292: -- Summary: Add to the settings.xml file Key: MNG-6292 URL: https://issues.apache.org/jira/browse/MNG-6292 Project: Maven Issue Type: Improvement Components: Deployment Affects Versions: 3.5.0 Reporter: zosrothko Hi Currently, the element can be specified only in a pom. It would be interesting also to factorize this element into a settings.xml file. This would avoid to repeat this element when one manages many independent Maven projects. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] (MPLUGIN-188) .NoSuchMethodError: org.apache.maven.settings.RuntimeInfo.init(Lorg/apache/maven/settings/Settings
[ https://jira.codehaus.org/browse/MPLUGIN-188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=296897#comment-296897 ] zosrothko commented on MPLUGIN-188: --- You are right... it is a Anno Mojo issue I didn't check up to this point. .NoSuchMethodError: org.apache.maven.settings.RuntimeInfo.init(Lorg/apache/maven/settings/Settings Key: MPLUGIN-188 URL: https://jira.codehaus.org/browse/MPLUGIN-188 Project: Maven 2.x Plugin Tools Issue Type: Bug Components: Plugin Plugin Affects Versions: 2.3 Environment: D:\OSI\maven-jaxb2-pluginmvn -version Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100) Maven home: C:\Program Files\Apache Software Foundation\apache-maven-3.0.3\bin\.. Java version: 1.6.0_26, vendor: Sun Microsystems Inc. Java home: C:\Progra~1\Java\jdk1.6.0_26\jre Default locale: fr_FR, platform encoding: Cp1252 OS name: windows xp, version: 5.1, arch: x86, family: windows Reporter: zosrothko Hi Got this NoSuchMethodError when building the maven-jax2b-plugin [INFO] Reactor Summary: [INFO] [INFO] Maven JAXB 2.x Plugin Project . SUCCESS [2.782s] [INFO] Maven JAXB 2.x Plugin Core SUCCESS [11.031s] [INFO] Maven JAXB 2.0.x Plugin ... FAILURE [2.094s] [INFO] Maven JAXB 2.1.x Plugin ... SKIPPED [INFO] Maven JAXB 2.2.x Plugin ... SKIPPED [INFO] Maven JAXB 2.x Plugin . SKIPPED [INFO] Maven JAXB 2.x Plugin Testing . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 16.735s [INFO] Finished at: Thu Oct 06 04:43:12 CEST 2011 [INFO] Final Memory: 8M/23M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:2.3:descriptor (default-descriptor) on proje ct maven-jaxb20-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:2.3:descriptor failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-plugin-plugin:2.3:descrip tor: java.lang.NoSuchMethodError: org.apache.maven.settings.RuntimeInfo.init(Lorg/apache/maven/settings/Settings;)V [ERROR] - [ERROR] realm =pluginorg.apache.maven.plugins:maven-plugin-plugin:2.3 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/apache/maven/plugins/maven-plugin- plugin/2.3/maven-plugin-plugin-2.3.jar [ERROR] urls[1] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/jfrog/maven/annomojo/maven-plugin- tools-anno/1.3.1/maven-plugin-tools-anno-1.3.1.jar [ERROR] urls[2] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/jfrog/maven/annomojo/maven-plugin- anno/1.3.1/maven-plugin-anno-1.3.1.jar [ERROR] urls[3] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/p lexus-utils-1.1.jar [ERROR] urls[4] = file:/C:/Progra~1/Java/jdk1.6.0_26/jre/../lib/tools.jar [ERROR] urls[5] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar [ERROR] urls[6] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/apache/maven/maven-plugin-tools-ap i/2.1/maven-plugin-tools-api-2.1.jar [ERROR] urls[7] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/apache/maven/maven-plugin-tools-ja va/2.1/maven-plugin-tools-java-2.1.jar [ERROR] urls[8] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/qdox/qdox/1.6.1/qdox-1.6.1.jar [ERROR] urls[9] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/apache/maven/maven-plugin-tools-be anshell/2.1/maven-plugin-tools-beanshell-2.1.jar [ERROR] urls[10] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/bsh/bsh/1.3.0/bsh-1.3.0.jar [ERROR] urls[11] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/apache/maven/reporting/maven-repo rting-impl/2.0/maven-reporting-impl-2.0.jar [ERROR] urls[12] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/commons-validator/commons-validator/1 .1.4/commons-validator-1.1.4.jar [ERROR] urls[13] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/oro/oro/2.0.7/oro-2.0.7.jar [ERROR] urls[14] =
[jira] Commented: (MJAVADOC-332) outputDirectory is not honored as it should, but valuated to destDir.
[ https://jira.codehaus.org/browse/MJAVADOC-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=281184#comment-281184 ] zosrothko commented on MJAVADOC-332: What I want is to put the directory where are generated the javadocs outside the target/site directory and none of the outpuDirectory ot destDist parameters let me do so. It is like the kink option that always produces an ablsolute file while it should be relative if it has beeing specified as relative. As exemple with destDirapi/als/destDir detectLinkstrue/detectLinks links link../asn/link link../ugn/link /links the plugin generates link as below D:/OSI/iso.itu.osi.als/target/site/apidocs/api/als\../asn/package-list which is not what I am expecting since the asn/package-list will never located under the target site/apidocs/als directory... IMHO, all path should be relative to the expressed outputDirectory where anyone can put its own link referrals. outputDirectory is not honored as it should, but valuated to destDir. - Key: MJAVADOC-332 URL: https://jira.codehaus.org/browse/MJAVADOC-332 Project: Maven 2.x Javadoc Plugin Issue Type: Bug Affects Versions: 2.8 Environment: WXP SP3 JDK 1.6.0_26 Maven 3.0 Reporter: zosrothko Hi The outputDirectory is referencing ${destDir} instead of ${outputDirectory} as per following snippet extracted from AbstractJavadocMojo.java /** * Specifies the destination directory where javadoc saves the generated HTML files. * br/ * See a href=http://download.oracle.com/javase/1.4.2/docs/tooldocs/windows/javadoc.html#d;d/a. * br/ * * @parameter expression=${destDir} alias=destDir default-alue=${project.build.directory}/apidocs * @required */ protected File outputDirectory; -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MJAVADOC-332) outputDirectory is not honored as it should, but valuated to destDir.
outputDirectory is not honored as it should, but valuated to destDir. - Key: MJAVADOC-332 URL: https://jira.codehaus.org/browse/MJAVADOC-332 Project: Maven 2.x Javadoc Plugin Issue Type: Bug Affects Versions: 2.8 Environment: WXP SP3 JDK 1.6.0_26 Maven 3.0 Reporter: zosrothko Hi The outputDirectory is referencing ${destDir} instead of ${outputDirectory} as per following snippet extracted from AbstractJavadocMojo.java /** * Specifies the destination directory where javadoc saves the generated HTML files. * br/ * See a href=http://download.oracle.com/javase/1.4.2/docs/tooldocs/windows/javadoc.html#d;d/a. * br/ * * @parameter expression=${destDir} alias=destDir default-alue=${project.build.directory}/apidocs * @required */ protected File outputDirectory; -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Created: (MPLUGIN-188) .NoSuchMethodError: org.apache.maven.settings.RuntimeInfo.init(Lorg/apache/maven/settings/Settings
.NoSuchMethodError: org.apache.maven.settings.RuntimeInfo.init(Lorg/apache/maven/settings/Settings Key: MPLUGIN-188 URL: https://jira.codehaus.org/browse/MPLUGIN-188 Project: Maven 2.x Plugin Tools Issue Type: Bug Components: Plugin Plugin Affects Versions: 2.3 Environment: D:\OSI\maven-jaxb2-pluginmvn -version Apache Maven 3.0.3 (r1075438; 2011-02-28 18:31:09+0100) Maven home: C:\Program Files\Apache Software Foundation\apache-maven-3.0.3\bin\.. Java version: 1.6.0_26, vendor: Sun Microsystems Inc. Java home: C:\Progra~1\Java\jdk1.6.0_26\jre Default locale: fr_FR, platform encoding: Cp1252 OS name: windows xp, version: 5.1, arch: x86, family: windows Reporter: zosrothko Hi Got this NoSuchMethodError when building the maven-jax2b-plugin [INFO] Reactor Summary: [INFO] [INFO] Maven JAXB 2.x Plugin Project . SUCCESS [2.782s] [INFO] Maven JAXB 2.x Plugin Core SUCCESS [11.031s] [INFO] Maven JAXB 2.0.x Plugin ... FAILURE [2.094s] [INFO] Maven JAXB 2.1.x Plugin ... SKIPPED [INFO] Maven JAXB 2.2.x Plugin ... SKIPPED [INFO] Maven JAXB 2.x Plugin . SKIPPED [INFO] Maven JAXB 2.x Plugin Testing . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 16.735s [INFO] Finished at: Thu Oct 06 04:43:12 CEST 2011 [INFO] Final Memory: 8M/23M [INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:2.3:descriptor (default-descriptor) on proje ct maven-jaxb20-plugin: Execution default-descriptor of goal org.apache.maven.plugins:maven-plugin-plugin:2.3:descriptor failed: An API incompatibility was encountered while executing org.apache.maven.plugins:maven-plugin-plugin:2.3:descrip tor: java.lang.NoSuchMethodError: org.apache.maven.settings.RuntimeInfo.init(Lorg/apache/maven/settings/Settings;)V [ERROR] - [ERROR] realm =pluginorg.apache.maven.plugins:maven-plugin-plugin:2.3 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/apache/maven/plugins/maven-plugin- plugin/2.3/maven-plugin-plugin-2.3.jar [ERROR] urls[1] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/jfrog/maven/annomojo/maven-plugin- tools-anno/1.3.1/maven-plugin-tools-anno-1.3.1.jar [ERROR] urls[2] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/jfrog/maven/annomojo/maven-plugin- anno/1.3.1/maven-plugin-anno-1.3.1.jar [ERROR] urls[3] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/p lexus-utils-1.1.jar [ERROR] urls[4] = file:/C:/Progra~1/Java/jdk1.6.0_26/jre/../lib/tools.jar [ERROR] urls[5] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar [ERROR] urls[6] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/apache/maven/maven-plugin-tools-ap i/2.1/maven-plugin-tools-api-2.1.jar [ERROR] urls[7] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/apache/maven/maven-plugin-tools-ja va/2.1/maven-plugin-tools-java-2.1.jar [ERROR] urls[8] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/qdox/qdox/1.6.1/qdox-1.6.1.jar [ERROR] urls[9] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/apache/maven/maven-plugin-tools-be anshell/2.1/maven-plugin-tools-beanshell-2.1.jar [ERROR] urls[10] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/bsh/bsh/1.3.0/bsh-1.3.0.jar [ERROR] urls[11] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/apache/maven/reporting/maven-repo rting-impl/2.0/maven-reporting-impl-2.0.jar [ERROR] urls[12] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/commons-validator/commons-validator/1 .1.4/commons-validator-1.1.4.jar [ERROR] urls[13] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/oro/oro/2.0.7/oro-2.0.7.jar [ERROR] urls[14] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/org/apache/maven/reporting/maven-repo rting-api/2.0/maven-reporting-api-2.0.jar [ERROR] urls[15] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/doxia/doxia-sink-api/1.0-alpha-4/doxi a-sink-api-1.0-alpha-4.jar [ERROR] urls[16] = file:/C:/Documents%20and%20Settings/FrancisANDRE/.m2/repository/doxia/doxia-core/1.0-alpha-4/doxia-co re-1.0-alpha-4.jar [ERROR] Number of foreign
[jira] Created: (MNG-5079) maven-install-plugin: add a skip configuration parameter to avoid the install side effect
maven-install-plugin: add a skip configuration parameter to avoid the install side effect --- Key: MNG-5079 URL: http://jira.codehaus.org/browse/MNG-5079 Project: Maven 2 3 Issue Type: Improvement Affects Versions: 3.0.3 Environment: WXP, Sun JDK 1.6.0_17 Reporter: zosrothko Hi As there is a skip flag for the maven-deploy-plugin that avoid to deploy, I suggest to add also an skip flag for coherence purpose in the build flow because if there is a need to avoid deploying, there are also case to avoid to install. Rgds -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MINSTALL-84) maven-install-plugin: add a skip configuration parameter to avoid the install side effect
[ http://jira.codehaus.org/browse/MINSTALL-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=264637#action_264637 ] zosrothko commented on MINSTALL-84: --- Hi Sorry for the noise...I did not check this improvment was already requested! maven-install-plugin: add a skip configuration parameter to avoid the install side effect --- Key: MINSTALL-84 URL: http://jira.codehaus.org/browse/MINSTALL-84 Project: Maven 2.x Install Plugin Issue Type: Improvement Affects Versions: 2.3.1 Environment: WXP, Sun JDK 1.6.0_17 Reporter: zosrothko Assignee: Benjamin Bentmann Hi As there is a skip flag for the maven-deploy-plugin that avoid to deploy, I suggest to add also an skip flag for coherence purpose in the build flow because if there is a need to avoid deploying, there are also case to avoid to install. Rgds -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira