[jboss-jira] [JBoss JIRA] (AS7-3147) Document packaging dependencies in EAR's /lib with maven

Radoslav Husar (Commented) (JIRA) jira-events at lists.jboss.org
Mon Jan 2 08:52:09 EST 2012


    [ https://issues.jboss.org/browse/AS7-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12653331#comment-12653331 ] 

Radoslav Husar commented on AS7-3147:
-------------------------------------

All you need is configure defaultLibBundleDir to lib. That should be somewhere in docs

{code}
<build>
      <plugins>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-ear-plugin</artifactId>
            <configuration>
               <!-- Tell maven to package in ear/lib for AS7 -->
               <defaultLibBundleDir>lib</defaultLibBundleDir>
{code}

                
> Document packaging dependencies in EAR's /lib with maven
> --------------------------------------------------------
>
>                 Key: AS7-3147
>                 URL: https://issues.jboss.org/browse/AS7-3147
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Documentation
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>             Fix For: 7.1.0.Final
>
>
> AFAIR People are asking how to do this in maven when migrating their projects.
> https://docs.jboss.org/author/display/AS71/Developer+Guide#DeveloperGuide-HowtoPackageEARsandWARs
> https://docs.jboss.org/author/display/AS71/Class+Loading+in+AS7
> I ran into this when I read the manual for packaging my own hibernate3 distribution, but by default it packages in EAR's root which fails in AS7.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list