You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michal Galet (JIRA)" <ji...@codehaus.org> on 2009/12/17 09:52:55 UTC

[jira] Commented: (MEJB-3) Add ejb bundle feature like in maven 1

    [ http://jira.codehaus.org/browse/MEJB-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203184#action_203184 ] 

Michal Galet commented on MEJB-3:
---------------------------------

If you just want to include your dependencies into your EJB jar file a simple workaround is:
{code:xml} 
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-resources</phase>
            <goals>
              <goal>copy-dependencies</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <outputDirectory>target/classes</outputDirectory>
          <includeScope>runtime</includeScope>
        </configuration>
      </plugin>
  . . .
{code} 


> Add ejb bundle feature like in maven 1
> --------------------------------------
>
>                 Key: MEJB-3
>                 URL: http://jira.codehaus.org/browse/MEJB-3
>             Project: Maven 2.x EJB Plugin
>          Issue Type: New Feature
>         Environment: windows
>            Reporter: Alexandre Vivien
>
> It could be nice if we could include dependencies in the ejb jar produce by the ejb plugin. In fact, I think an ejb bundle feature like in Maven 1 will be useful. We could use the dependencies scope or whatever. (Perhaps it can be handy to add a new scope name "bundle" that could be use with ejb, war and ear plugin ???? )
> Thanks.
> Alexandre Vivien

-- 
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