felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (FELIX-497) Genearated Source url is not a valid url
Date Tue, 19 Feb 2008 07:40:43 GMT

     [ https://issues.apache.org/jira/browse/FELIX-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Stuart McCulloch resolved FELIX-497.

       Resolution: Fixed
    Fix Version/s: 1.4.0

Using the Maven SCM URL for the source entry does not match the RFC or the bundlerepository
implementation, both of which expect a jarfile containing the sources rather than a URL pointing
into a source repository system. Therefore I have changed the plugin to add the Maven source
attachment (if it exists) instead.

As before, bundles can override this by explicitly setting Bundle-Source.

To try this out use:

   mvn clean source:jar install

Fixed in trunk and deployed new snapshot (1.3.0-20080219.073339-2)

> Genearated Source url is not a valid url
> ----------------------------------------
>                 Key: FELIX-497
>                 URL: https://issues.apache.org/jira/browse/FELIX-497
>             Project: Felix
>          Issue Type: Bug
>          Components: Maven OBR Plugin
>            Reporter: Clement Escoffier
>            Assignee: Stuart McCulloch
>             Fix For: 1.4.0
> When compiling the actual Felix trunk, the generated repository.xml file contains non
valid sources. The bundles contains the source information but with an invalid url such as
> <source>scm:svn:https://svn.apache.org/repos/asf/felix/releases/javax.servlet</source>
> All bundles have this issue.
> Scm:svn:https is not a valid url prefix for Java. So, when the OBR run-time try to create
the URL object, from this string,  an exception is thrown. This doesn't impede the  OBR deployment
process as the exception is ignored.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message