You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shawn Jiang (JIRA)" <ji...@apache.org> on 2010/09/06 07:45:33 UTC

[jira] Created: (GERONIMO-5575) car-maven-plugin EBA plugin build failed to include the eba module in the target plugin car.

car-maven-plugin EBA plugin build failed to include the eba module in the target plugin car.
--------------------------------------------------------------------------------------------

                 Key: GERONIMO-5575
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5575
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: car-maven-plugin
    Affects Versions: 3.0
            Reporter: Shawn Jiang
            Assignee: Shawn Jiang


After fixing https://issues.apache.org/jira/browse/GERONIMO-5409,  the EBA plugin could run successfully.   But I found  EBA plugin build failed to include the eba module in the target plugin car.

you could recreate this with https://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/osgi/ariestrader-jdbc/

                <groupId>org.apache.geronimo.buildsupport</groupId>
                <artifactId>car-maven-plugin</artifactId>
                <configuration>
                    <module>
                        <groupId>org.apache.aries.samples.ariestrader</groupId>
                        <artifactId>org.apache.aries.samples.ariestrader.jdbc</artifactId>    
                        <version>${ariesVersion}</version>
                        <type>eba</type>
                    </module>

The eba group was replaced with "application" by aries installer,  I believe it's the reason why package mojo can't find the correct package to include.


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


[jira] Resolved: (GERONIMO-5575) car-maven-plugin EBA plugin build failed to include the eba module in the target plugin car.

Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-5575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shawn Jiang resolved GERONIMO-5575.
-----------------------------------

    Resolution: Fixed

Fix with r1023627@trunk.   

To make the EBA plugin work, you must ensure:

# The artifactId of the included module must equal Application-SymbolicName of the EBA to include.
# The verion of the included module must equal Application-Version of the EBA to include.


pom.xml of the plugin:

<groupId>org.apache.geronimo.buildsupport</groupId>
<artifactId>car-maven-plugin</artifactId>
<configuration>
<module>
<groupId>org.apache.aries.samples.ariestrader</groupId>
<artifactId>*org.apache.aries.samples.ariestrader.jdbc*</artifactId>
<version>*0.1.0.incubating*</version>
<type>eba</type>
</module>


APPLICATION.MF of the EBA to include:

Application-SymbolicName: *org.apache.aries.samples.ariestrader.jdbc*
Application-Version: *0.1.0.incubating*



> car-maven-plugin EBA plugin build failed to include the eba module in the target plugin car.
> --------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5575
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5575
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: car-maven-plugin
>    Affects Versions: 3.0
>            Reporter: Shawn Jiang
>            Assignee: Shawn Jiang
>
> After fixing https://issues.apache.org/jira/browse/GERONIMO-5409,  the EBA plugin could run successfully.   But I found  EBA plugin build failed to include the eba module in the target plugin car.
> you could recreate this with https://svn.apache.org/repos/asf/geronimo/samples/trunk/samples/osgi/ariestrader-jdbc/
>                 <groupId>org.apache.geronimo.buildsupport</groupId>
>                 <artifactId>car-maven-plugin</artifactId>
>                 <configuration>
>                     <module>
>                         <groupId>org.apache.aries.samples.ariestrader</groupId>
>                         <artifactId>org.apache.aries.samples.ariestrader.jdbc</artifactId>    
>                         <version>${ariesVersion}</version>
>                         <type>eba</type>
>                     </module>
> The eba group was replaced with "application" by aries installer,  I believe it's the reason why package mojo can't find the correct package to include.

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