You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Ulrich Romahn (Created) (JIRA)" <ji...@apache.org> on 2011/12/07 00:56:43 UTC

[jira] [Created] (GERONIMO-6227) Version numbers not resolved in resulting karaf-framework-3.0-beta-1-features.xml

Version numbers not resolved in resulting karaf-framework-3.0-beta-1-features.xml
---------------------------------------------------------------------------------

                 Key: GERONIMO-6227
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6227
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: osgi-bundles
    Affects Versions: 3.0-M1
         Environment: All
            Reporter: Ulrich Romahn


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GERONIMO-6227) Version numbers not resolved in resulting karaf-framework-3.0-beta-1-features.xml

Posted by "Ulrich Romahn (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164011#comment-13164011 ] 

Ulrich Romahn commented on GERONIMO-6227:
-----------------------------------------

UPDATE:
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: https://issues.apache.org/jira/browse/GERONIMO-6227
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira