[ 
https://issues.apache.org/jira/browse/FELIX-198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Conlon updated FELIX-198:
------------------------------

    Attachment: pom.xml

As a work around to the maven bug, this single pom uses different profiles for 
building the different types of felix modules. 
        
Usage:
    mvn -Dpackaging=<type>  install

Examples:
    mvn -Dpackaging=osgi-bundle install
    mvn -Dpackaging=osgi-bundle-mosgi install
    mvn -Dpackaging=bundle install
    mvn -Dpackaging=ipojo-bundle install


> Build of trunk fails
> --------------------
>
>                 Key: FELIX-198
>                 URL: https://issues.apache.org/jira/browse/FELIX-198
>             Project: Felix
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>         Environment: java version "1.5.0_06"
>            Reporter: John Conlon
>            Priority: Critical
>             Fix For: 1.0.0
>
>         Attachments: mychanges.patch, pom-bug.xml, pom-old-pluginA.xml, 
> pom.xml
>
>
> Encountering maven bug
>  http://jira.codehaus.org/browse/MNG-1682 when building the trunk with 
> pom-old-plugin.xml called from the ant build.xml.
> This bug occurs when more than two packaging types are used in a multiproject 
> build.  In this case ipojo does a  <packaging>ipojo-bundle</packaging> which 
> triggers the bug for all subsequent module builds.
> These module builds will only occur when running with a jdk1.5, as this will 
> trigger the mosgi module builds. 
> <profiles>
>     <profile>
>       <id>jdk1.5</id>
>       <activation>
>         <jdk>1.5</jdk>
>       </activation>
>       <modules>
>         <module>mosgi.console.xxx...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to