-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maven build issue #1
Comments
No idea... Hudson and my local builds are ok. Maybe this was caused by upgrading the parent POM. Can you please pull and try again? By the way, OPS4J issues are tracked in JIRA, not here: http://team.ops4j.org/browse/PAXCDI. I should have turned this off right from the start... Best regards, |
Error is still there after doing a pull request. [INFO] BUILD FAILURE [INFO][INFO] Total time: 7.132s [INFO][ERROR] Failed to execute goal On Mon, Aug 20, 2012 at 2:51 PM, Harald Wellmann
Charles Moulliard |
Can you give a little more context, e.g. Maven version, JDK version, mvn -X output? Do you get the same error when running with a clean local Maven repository and no non-standard repositories in your settings.xml? Our Hudson builds run with Oracle JDK 1.6.0_32 and Maven 3.0.4. |
I also uses Maven 3.0.4 and JDK 1.6 Progresss-MacBook-Pro:pax-cdi chmoulli$ mvn -X clean install On Mon, Aug 20, 2012 at 6:30 PM, Harald Wellmann
Charles Moulliard |
Strange... I'm on Linux, that's the main difference I can see. I've just tried running the build from another user account with an empty Maven repo, without any problems (or at least not until hitting the required SNAPSHOT versions of Pax Web and Weld), so it must be something in your local environment. |
Hi,
Pax-cdi cannot be build -->
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.866s
[INFO] Finished at: Mon Aug 20 11:29:55 CEST 2012
[INFO] Final Memory: 5M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce (enforce-maven) on project cdi: Execution enforce-maven of goal org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce failed: A required class was missing while executing org.apache.maven.plugins:maven-enforcer-plugin:1.0:enforce: org/apache/maven/enforcer/rule/api/EnforcerRuleException
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.apache.maven.plugins:maven-enforcer-plugin:1.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/chmoulli/.m2/repository/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.jar
[ERROR] urls[1] = file:/Users/chmoulli/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[project>org.ops4j.pax:cdi:0.3.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------: org.apache.maven.enforcer.rule.api.EnforcerRuleException
[ERROR] -> [Help 1]
[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/PluginContainerException
Regards,
Charles
The text was updated successfully, but these errors were encountered: