geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-2225) The M2 build no longer inserts META-INF/geronimo-plugin.xml into the CARs
Date Mon, 24 Jul 2006 22:04:14 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-2225?page=comments#action_12423173 ] 
            
Aaron Mulder commented on GERONIMO-2225:
----------------------------------------

Here's the diagnosis procedure:

{noformat}
> ls configs/welcome-jetty/src/conf/
geronimo-plugin.xml

> jar -tf configs/welcome-jetty/target/welcome-jetty-1.2-SNAPSHOT.car
META-INF/config.ser
META-INF/config.ser.sha1
META-INF/config.info
META-INF/MANIFEST.MF
geronimo-power.gif
geronimo-logo.png
main.css
images/head_bgstretch_1x86.gif
images/welcome_head_570x86.gif
images/powered_by_100x30.gif
index.jsp
WEB-INF/lib/geronimo-welcome-1.2-SNAPSHOT.jar
WEB-INF/web.xml
sampleNotInstalled.jsp

> jar -tf ~/.maven/repository/geronimo/cars/welcome-jetty-1.1.car
META-INF/config.ser
META-INF/config.ser.sha1
META-INF/config.info
META-INF/MANIFEST.MF
META-INF/geronimo-plugin.xml
geronimo-power.gif
geronimo-logo.png
main.css
images/head_bgstretch_1x86.gif
images/welcome_head_570x86.gif
images/powered_by_100x30.gif
index.jsp
WEB-INF/lib/jstl-1.1.1.jar
WEB-INF/lib/classes.jar
WEB-INF/lib/standard-1.1.1.jar
WEB-INF/web.xml
sampleNotInstalled.jsp
{noformat}

If you look at the plugin metadata file, it starts with:

{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<geronimo-plugin xmlns="http://geronimo.apache.org/xml/ns/plugins-1.1">
<name>Geronimo Welcome Web App (Jetty)</name>
<module-id>${pom.groupId}/${pom.artifactId}/${pom.currentVersion}/car</module-id>
<category>Core Geronimo</category>
...
{code}
So it needs variable substitution on the group/artifact/version/type.

> The M2 build no longer inserts META-INF/geronimo-plugin.xml into the CARs
> -------------------------------------------------------------------------
>
>                 Key: GERONIMO-2225
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2225
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: buildsystem
>    Affects Versions: 1.2
>            Reporter: Jason Dillon
>         Assigned To: Jason Dillon
>            Priority: Blocker
>             Fix For: 1.2
>
>
> The M2 build no longer inserts META-INF/geronimo-plugin.xml into the CARs that have src/conf/geronimo-plugin.xml.
 There was handling for this in the M1 build (e.g. for the welcome app and other examples).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message