You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by Enrique Rodriguez <en...@gmail.com> on 2007/03/14 22:57:40 UTC

[commons] Bundle problems in 3rd round

Hi, Felix developers,

I committed a 3rd round of wrapper POMs.  I ran into 5 problems.  I
commented out broken wrapper POM modules in the commons parent POM.  3
of these are Java/Sun jars that don't appear in M2; we expected that
(jms, jta, jmxtools).  2 of these (hsqldb and log4j) appear to be
issues with the version:

1)  With 'hsqldb', the problem appears to be that the version is:

<pkgVersion>1.8.0.7</pkgVersion>

The error is:

[ERROR] Invalid value for Bundle-Version, 1.8.0.7.0001-SNAPSHOT does
not match [0-9]+(\.[0-9]+(\.[0-9]+(\.[0-9A-Za-z_-]+)?)?)?
org.apache.maven.plugin.MojoFailureException: Found errors, see log
        at org.apache.felix.tools.maven2.bundleplugin.BundlePlugin.execute(BundlePlugin.java:153)

2)  Similarly, with 'log4j':

<pkgVersion>1.2.12</pkgVersion>

[ERROR] Invalid value for Bundle-Version, 1.2.12-0001-SNAPSHOT does
not match [0-9]+(\.[0-9]+(\.[0-9]+(\.[0-9A-Za-z_-]+)?)?)?
org.apache.maven.plugin.MojoFailureException: Found errors, see log
        at org.apache.felix.tools.maven2.bundleplugin.BundlePlugin.execute(BundlePlugin.java:153)

I'll commit what I have now.  I held off last night and I had to catch a train.

Enrique

Re: [commons] Bundle problems in 3rd round

Posted by Enrique Rodriguez <en...@gmail.com>.
On 3/15/07, Alin Dreghiciu <ad...@gmail.com> wrote:
> 1. shall we use a pattern as everything that has more then 3 groups of
> digits will become qualifier as is. e.g for hsqldb 1.8.0.7 becomes osgi
> 1.8.0.7-0001-SNAPSHOT?

We would need to do something with that 4th digit.  The regex doesn't allow it:

[ERROR] Invalid value for Bundle-Version, 1.8.0.7.0001-SNAPSHOT does
not match [0-9]+(\.[0-9]+(\.[0-9]+(\.[0-9A-Za-z_-]+)?)?)?

Does one of the other regex's proposed allow that 4th digit?  These
are the current properties:

    <properties>
        <pkgArtifactId>hsqldb</pkgArtifactId>
        <pkgVersion>1.8.0.7</pkgVersion>
        <pomVersion>0001</pomVersion>
        <osgiVersion>${pkgVersion}</osgiVersion>
    </properties>

> 2. the log4j version is a problem from maven-bundle-plugin that I already
> posted to jira

Fixed.  Deployed.

> 3. about the sun jars. two parts:
> 3.1 the open sourcing of java will/did not remove the restrictions on the
> binaries?
> 3.2. just by a quick search I founded a repo that has the artifacts. is
> there any problem if we use those repo's for downloading the artifacts? Of
> course that this will have some side effects but I'm wondering about the
> possibility.
> http://builds.osafoundation.org/maven2/

Until they are in the central repo, if ever, I think they are outside
the scope of what we can reasonably deploy here.

Enrique

Re: [commons] Bundle problems in 3rd round

Posted by Alin Dreghiciu <ad...@gmail.com>.
1. shall we use a pattern as everything that has more then 3 groups of
digits will become qualifier as is. e.g for hsqldb 1.8.0.7 becomes osgi
1.8.0.7-0001-SNAPSHOT?

2. the log4j version is a problem from maven-bundle-plugin that I already
posted to jira

3. about the sun jars. two parts:
3.1 the open sourcing of java will/did not remove the restrictions on the
binaries?
3.2. just by a quick search I founded a repo that has the artifacts. is
there any problem if we use those repo's for downloading the artifacts? Of
course that this will have some side effects but I'm wondering about the
possibility.
http://builds.osafoundation.org/maven2/

On 3/14/07, Enrique Rodriguez <en...@gmail.com> wrote:
>
> Hi, Felix developers,
>
> I committed a 3rd round of wrapper POMs.  I ran into 5 problems.  I
> commented out broken wrapper POM modules in the commons parent POM.  3
> of these are Java/Sun jars that don't appear in M2; we expected that
> (jms, jta, jmxtools).  2 of these (hsqldb and log4j) appear to be
> issues with the version:
>
> 1)  With 'hsqldb', the problem appears to be that the version is:
>
> <pkgVersion>1.8.0.7</pkgVersion>
>
> The error is:
>
> [ERROR] Invalid value for Bundle-Version, 1.8.0.7.0001-SNAPSHOT does
> not match [0-9]+(\.[0-9]+(\.[0-9]+(\.[0-9A-Za-z_-]+)?)?)?
> org.apache.maven.plugin.MojoFailureException: Found errors, see log
>         at org.apache.felix.tools.maven2.bundleplugin.BundlePlugin.execute
> (BundlePlugin.java:153)
>
> 2)  Similarly, with 'log4j':
>
> <pkgVersion>1.2.12</pkgVersion>
>
> [ERROR] Invalid value for Bundle-Version, 1.2.12-0001-SNAPSHOT does
> not match [0-9]+(\.[0-9]+(\.[0-9]+(\.[0-9A-Za-z_-]+)?)?)?
> org.apache.maven.plugin.MojoFailureException: Found errors, see log
>         at org.apache.felix.tools.maven2.bundleplugin.BundlePlugin.execute
> (BundlePlugin.java:153)
>
> I'll commit what I have now.  I held off last night and I had to catch a
> train.
>
> Enrique
>