[ 
http://issues.apache.org/jira/browse/GERONIMO-717?page=comments#action_12315178 
] 

Jeremy Boynes commented on GERONIMO-717:
----------------------------------------

The problem is bootstrapping the packaging plugin. It uses the gbean-deployer 
config to package the gbean-deployer config so a version of the gbean-deployer 
config needs to be downloadable. The kernel version for the packaging plugin 
needs to match the version used to create the gbean-deployer config that is 
downloaded.

The fix to this is to break the tie between the deployer's kernel version and 
the target's version. That way the plugin/gbean-deployer can use e.g. rev 
169154 and can build new versions of themselves that use the SNAPSHOT version. 
This involves making the root configuration (e.g. o/a/g/System) be able to 
express the dependencies it needs rather than implicitly getting them from the 
manifest classpath.

This does not affect the other plugins as they are not bootstapping the 
deployer - they rely on the bootstrap step performed by the assembly module as 
it creates the initial deployer configuration.

> Packaging Plugin still using geronimo-kernel-1.0-169154
> -------------------------------------------------------
>
>          Key: GERONIMO-717
>          URL: http://issues.apache.org/jira/browse/GERONIMO-717
>      Project: Geronimo
>         Type: Bug
>   Components: buildsystem
>     Versions: 1.0-M4
>  Environment: Clean Build
>     Reporter: Donald Woods
>  Attachments: Geronimo-717.diff
>
> Problem:  Build fails when starting with a clean source tree and Maven 
> repository, due to plugins/geronimo-packaging-plugin/project.xml using 
> hardcoded version number for geronimo-kernel-1.0-169154.
> Fix:  Update plugins/geronimo-packaging-plugin/project.xml to use the default 
> ../../etc/project.xml like the other plugins to pick-up the current Geronimo 
> version and to use that in the geronimo-kernel dependency.
> Fix Diff:
> Index: project.xml
> ===================================================================
> --- project.xml       (revision 209498)
> +++ project.xml       (working copy)
> @@ -19,16 +19,23 @@
>  <!-- $Rev$ $Date$ -->
>  <project>
>      <pomVersion>3</pomVersion>
> +    <extend>../../etc/project.xml</extend>
> +
> +    <!-- ===================== -->
> +    <!-- Module Identification -->
> +    <!-- ===================== -->
>      <groupId>geronimo</groupId>
>      <id>geronimo-packaging-plugin</id>
>      <name>Geronimo Packaging Plugin</name>
> -    <currentVersion>0.1.1</currentVersion>
>  
> +    <!-- ============ -->
> +    <!-- Dependencies -->
> +    <!-- ============ -->
>      <dependencies>
>          <dependency>
>              <groupId>geronimo</groupId>
>              <artifactId>geronimo-kernel</artifactId>
> -            <version>1.0-169154</version>
> +            <version>${pom.currentVersion}</version>
>          </dependency>
>  
>          <dependency>

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