geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ulrich Romahn (Commented) (JIRA)" <>
Subject [jira] [Commented] (GERONIMO-6227) Version numbers not resolved in resulting karaf-framework-3.0-beta-1-features.xml
Date Wed, 07 Dec 2011 00:46:40 GMT


Ulrich Romahn commented on GERONIMO-6227:

I think I figured out what the issue is here. The pom.xml of the karaf-framework artifact
is "importing" the main pom of karaf assuming it would also get all the properties defined
therein. However, this is not what importing the pom does - it only imports the dependencies
defined in this pom, but not the properties. In order to fix the issue, I had to manually
copy all the missing properties from the karaf main pom into the pom of the Geronimo karaf-framework.
This is not perfect but at least a stop-gap.
> Version numbers not resolved in resulting karaf-framework-3.0-beta-1-features.xml
> ---------------------------------------------------------------------------------
>                 Key: GERONIMO-6227
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: osgi-bundles
>    Affects Versions: 3.0-M1
>         Environment: All
>            Reporter: Ulrich Romahn
>              Labels: build
> The build process is supposed to replace all version numbers contained in the source
file features.xml inside framework/configs/karaf-framework/src/main/filtered-resources with
the corresponding values defined somewhere.
> Example: 
>   the line 
>     <bundle>mvn:org.apache.geronimo.specs/geronimo-servlet_2.5_spec/${geronimo.servlet.version}</bundle>
>   should be expanded to something like
>     <bundle>mvn:org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.1.2</bundle>
> in the resulting file.
> However, those environment variables are not defined anywhere and hence they are not
resolved during build time.
> This is causing error messages while trying to install an OSGI feature, such as the webconsole
or other OSGI features that depend on such bundles/features.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message