[ http://jira.codehaus.org/browse/MNG-148?page=comments#action_39266 ] Stephane Nicoll commented on MNG-148: -------------------------------------
So far, so good :) A basic EAR plugin is now in place, let me know if you want to have a look to it. Current issues 1/ The excludedDependencies/excludedDependency causes NoClassDefFoundError issues because plexus want to instanciate an ExcludedDependency class. I discussed on #plexus, they're going to handle that Workaround: <excludedDependencies> <excludedDependency implementation="java.lang.String">myGroupId:myArtifactId</excludedDependency> </excludedDependencies> 2/ Scope test seems to be ignored. I have no clue where it's coming from. Example: <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> If I do artifact.getScope() on this artifact it returns "compile" 3/ I always have classworlds dependency (but I think it's a common issue, right?) 4/ I've heard that the artifactId:groupId would have a helper class to parse it somewhere (to avoid duplicating the code). If so, please let me know 5/ I'm trying to add Doctype/Xschema definition to the generated application.xml as well as encoding type. I am using plexus XMLWriter ; Any clue how I can do this (currently, generated application.xml contains an application element without XML header definition :/) 6/ Any proposal to handle context-root for War dependency? > Write an ear mojo > ----------------- > > Key: MNG-148 > URL: http://jira.codehaus.org/browse/MNG-148 > Project: m2 > Type: Task > Components: maven-plugins > Reporter: Emmanuel Venisse > Assignee: Emmanuel Venisse > Fix For: 2.0-alpha-3 > > > - Use Plexus Archiver > - Add all features present in m1 plugin (ear:ear, ear:generate-ear-descriptor) -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]