|
From: Bob F. (JIRA) <ji...@an...> - 2010-07-27 15:09:46
|
Maven3 support for build and runtime
------------------------------------
Key: MAVEN-72
URL: http://jira.andromda.org/browse/MAVEN-72
Project: Maven Plugins
Issue Type: Improvement
Affects Versions: 3.4-SNAPSHOT
Environment: Maven 3.0-beta1
Reporter: Bob Fields
Assignee: Bob Fields
Priority: Minor
Fix For: 3.4-SNAPSHOT
Fixes are required to build and run under maven3 (beta1 4/10). Additional maven dependencies have not yet been released in order to finish this (maven-project-plugin, maven-compiler-plugin). See http://docs.codehaus.org/display/MAVEN/Maven+3.0.x
- Classloader has been changed, see https://cwiki.apache.org/MAVEN/maven-3x-class-loading.html. This means that .getClass().getClassLoader() and Thread.currentThread().getContextClassLoader() no longer return the maven dependencies when running a maven plugin. Most likely org.andromda.core.common.ClassUtils and ResourceUtils will need to be fixed, or at least thoroughly tested.
- site generation fails completely. See https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html
- maven3 profile turns off all other activeByDefault profiles, which builds no project modules, they must be explicitly activated.
- Maven subprojects: maven-plugin-plugin fails when building under maven3, after updating properties maven.version:
org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile
maven\andromdapp\src\main\java\org\andromda\maven\plugin\andromdapp\BuildMojo.java:[481,26] cannot find symbol : method setUsingPOMsFromFilesystem(boolean)
location: class org.apache.maven.execution.MavenSession
maven\andromdapp\src\main\java\org\andromda\maven\plugin\andromdapp\MavenExecuteMojo.java:[183,50] execute(org.apache.maven.execution.MavenSession) in org.apache.maven.lifecycle.LifecycleExecutor cannot be applied to (org.apache.maven.execution.MavenSession,org.apache.maven.execution.ReactorManager,org.apache.maven.monitor.event.EventDispatcher)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|