Shahim Essaid created TOMEE-2026:
------------------------------------

             Summary: org.apache.tomee.javaee-api does not have Bundle-Version 
OSGi header
                 Key: TOMEE-2026
                 URL: https://issues.apache.org/jira/browse/TOMEE-2026
             Project: TomEE
          Issue Type: Bug
          Components: TomEE Core Server
    Affects Versions: 7.0.1
            Reporter: Shahim Essaid


The two jars in Central under:

http://repo1.maven.org/maven2/org/apache/tomee/javaee-api/

do not have the OSGi Bundle-Version header in their manifest and this causes 
problems at least with the following workflow:

1. Mirror Central on a private Nexus server with P2 capabilities (i.e. extract 
P2 metadata and generate P2 repository)

2. Mirror the Nexus generated P2 repository to local machine with Tycho tools.

3. Either Nexus or Tycho gets confused by the lack of correct version 
information and the local mirroring fails. Also, it appears that Nexus gives 
such a bundle a version of 0.0.0 instead of just excluding the artifact from 
the generated P2 repository.

The javaee-api jar is really useful for development in Eclipse. Please add the 
necessary version information. Also, it needs to be updated with each new Maven 
version, not kept at 7.0.0 or something like that.

There might be other TomEE bundles that have the same issue but this is the 
first one that is causing problems for my workflow.
 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to