Fix geronimo assemblies
-----------------------

                 Key: GERONIMO-2675
                 URL: http://issues.apache.org/jira/browse/GERONIMO-2675
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: buildsystem
    Affects Versions: 2.0-M2
         Environment: All
            Reporter: Anita Kulshreshtha
         Assigned To: Anita Kulshreshtha


  The following assemblies are using car-maven-plugin without specifying a 
version.
geronimo-framework/pom.xml:                
<artifactId>car-maven-plugin</artifactId>
geronimo-jetty6-jee5/pom.xml:                
<artifactId>car-maven-plugin</artifactId>
geronimo-jetty6-minimal/pom.xml:                
<artifactId>car-maven-plugin</artifactId>
geronimo-tomcat6-jee5/pom.xml:                
<artifactId>car-maven-plugin</artifactId>
geronimo-tomcat6-minimal/pom.xml:                
<artifactId>car-maven-plugin</artifactId>

The version is not inherited from the top pom either, because the plugin is 
configured in configs pom.
As a result maven picks an "available" version. As shown in the following 
output, maven picked 
1.2-SNAPSHOT for trunk. The plugin downloads various 1.2-SNAPSHOT jars, e.g. 
geronimo-kernel, geronimo-system 
and uses them to install configs. This produces strange build and sometime 
server startup errors.



[INFO]
----------------------------------------------------------------------------
[INFO] Building Geronimo Assemblies :: Boilerplate J2EE
[INFO]    task-segment: [clean, install]
[INFO]
----------------------------------------------------------------------------
[INFO] artifact org.apache.geronimo.plugins:car-maven-plugin: checking
for updates from co
dehaus
[INFO] snapshot
org.apache.geronimo.plugins:car-maven-plugin:1.2-SNAPSHOT: checking for
up
dates from apache-snapshots
[INFO] snapshot
org.apache.geronimo.plugins:car-maven-plugin:1.2-SNAPSHOT: checking for
up
dates from codehaus-snapshots
[INFO] snapshot org.apache.geronimo.plugins:maven-plugins:1.2-SNAPSHOT:
checking for updat
es from apache-snapshots
[INFO] snapshot org.apache.geronimo.plugins:maven-plugins:1.2-SNAPSHOT:
checking for updat
es from codehaus-snapshots
[INFO] snapshot org.apache.geronimo:geronimo:1.2-SNAPSHOT: checking for
updates from apach
e-snapshots
[INFO] snapshot org.apache.geronimo:geronimo:1.2-SNAPSHOT: checking for
updates from codeh
aus-snapshots
[INFO] [clean:clean]
[INFO] Deleting directory
C:\anita\geronimo\g2.0\assemblies\geronimo-boilerplate-j2ee\targ
et
[INFO] Deleting directory
C:\anita\geronimo\g2.0\assemblies\geronimo-boilerplate-j2ee\targ
et\classes
[INFO] Deleting directory
C:\anita\geronimo\g2.0\assemblies\geronimo-boilerplate-j2ee\targ
et\test-classes
[INFO] [tools:require-java-version {execution: validate-java-version}]
[INFO] [tools:copy-legal-files {execution: install-legal-files}]
[INFO] Created dir:
C:\anita\geronimo\g2.0\assemblies\geronimo-boilerplate-j2ee\target\cla
sses\META-INF
[INFO] Copying 2 files to
C:\anita\geronimo\g2.0\assemblies\geronimo-boilerplate-j2ee\targ
et\classes\META-INF
[INFO] [dependency:unpack {execution: unpack-boilerplate}]
[INFO] Configured Artifact:
org.apache.geronimo.assemblies:geronimo-boilerplate-minimal:nu
ll:2.0-SNAPSHOT:jar
[INFO] snapshot
org.apache.geronimo.assemblies:geronimo-boilerplate-minimal:2.0-SNAPSHOT:
checking for updates from apache-snapshots
[INFO] snapshot
org.apache.geronimo.assemblies:geronimo-boilerplate-minimal:2.0-SNAPSHOT:
checking for updates from codehaus-snapshots
[INFO] snapshot
org.apache.geronimo.assemblies:geronimo-boilerplate-minimal:2.0-SNAPSHOT:
checking for updates from apache.snapshots
[INFO] Expanding: C:\Documents and
Settings\Anita\.m2\repository\org\apache\geronimo\assem
blies\geronimo-boilerplate-minimal\2.0-SNAPSHOT\geronimo-boilerplate-minimal-2.0-SNAPSHOT.
jar into
C:\anita\geronimo\g2.0\assemblies\geronimo-boilerplate-j2ee\target\boilerplate
[INFO] [antrun:run {execution: extend-boilerplate}]



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

        

Reply via email to