[jira] Commented: (MNG-148) Write an ear mojo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MNG-148) Write an ear mojo

JIRA jira@codehaus.org
     [ http://jira.codehaus.org/browse/MNG-148?page=comments#action_39043 ]
     
Emmanuel Venisse commented on MNG-148:
--------------------------------------

You use dependencies/dependency tag throught project.getArtifacts() and you eclude some deps in plugin configuration like this:

<configuration>
  <excludedDependencies>
    <excludedDependency>groupId:artifactId</excludedDependency>
    ...
  </excludedDependencies>
</configuration>

The excludeDependency Pattern can be groupId:artifactId:type for some case where users have two deps with the same groupId/artifactId.
I prefer the exclusion of dependencies because I think it's more short to configure for an ear, but you can support includedDependencies and excludedDependencies, so users choose the more simple.

An other note: you must exlude all dependencies with scope equals to test.


> 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: [hidden email]
For additional commands, e-mail: [hidden email]