You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Philipp Ottlinger (JIRA)" <ji...@apache.org> on 2018/09/07 19:56:00 UTC

[jira] [Commented] (LANG-1419) Restore BundleSymbolicName / regression in version 3.8.0

    [ https://issues.apache.org/jira/browse/LANG-1419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16607600#comment-16607600 ] 

Philipp Ottlinger commented on LANG-1419:
-----------------------------------------

I tried mingling with the bnd-plugin configuration but it didn't help to correct the META-data:
{code:java}
diff --git a/pom.xml b/pom.xml
index ff00abca..9ac95673 100644
--- a/pom.xml
+++ b/pom.xml
@@ -666,6 +666,14 @@
             <skip>false</skip>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.felix</groupId>
+          <artifactId>maven-bundle-plugin</artifactId>
+          <version>3.5.0</version>
+          <configuration>
+            <Bundle-SymbolicName>org.apache.commons.lang3</Bundle-SymbolicName>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
@@ -742,8 +750,14 @@
           <excludeFilterFile>${basedir}/spotbugs-exclude-filter.xml</excludeFilterFile>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <configuration>
+          <Bundle-SymbolicName>org.apache.commons.lang3</Bundle-SymbolicName>
+        </configuration>
+      </plugin>
     </plugins>
-
   </build>

   <reporting>{code}

> Restore BundleSymbolicName / regression in version 3.8.0
> --------------------------------------------------------
>
>                 Key: LANG-1419
>                 URL: https://issues.apache.org/jira/browse/LANG-1419
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 3.8
>            Reporter: Philipp Ottlinger
>            Priority: Critical
>
> In contrast to version 3.7.0 the BundleSymbolicName changed erroneously in 3.8.0 to:
> {code:java}
> org.apache.commons.commons-lang3{code}
>  
> As this breaks existing installations the change should be reverted and a new version with OSGi support should be released.
> h2. v3.8.0 - MetaData
> {code:java}
> Automatic-Module-Name                    org.apache.commons.lang3               
> Bnd-LastModified                         1534383412565                           
> Build-Jdk                                1.8.0_172                              
> Built-By                                 chtompki                               
> Bundle-Description                       Apache Commons Lang, a package of Java utility classes for the  classes that are in java.lang's hierarchy, or are considered to be so  standard as to justify existence in java.lang.
> Bundle-DocURL                            http://commons.apache.org/proper/commons-lang/
> Bundle-License                           https://www.apache.org/licenses/LICENSE-2.0.txt
> Bundle-ManifestVersion                   2                                      
> Bundle-Name                              Apache Commons Lang                    
> Bundle-SymbolicName                      org.apache.commons.commons-lang3       
> Bundle-Vendor                            The Apache Software Foundation         
> Bundle-Version                           3.8.0                                  
> Created-By                               Apache Maven Bundle Plugin             
> Export-Package                           org.apache.commons.lang3;version="3.8",org.apache.commons.lang3.arch;version="3.8",org.apache.commons.lang3.builder;version="3.8",org.apache.commons.lang3.concurrent;version="3.8",org.apache.commons.lang3.event;version="3.8",org.apache.commons.lang3.exception;version="3.8",org.apache.commons.lang3.math;version="3.8",org.apache.commons.lang3.mutable;version="3.8",org.apache.commons.lang3.reflect;version="3.8",org.apache.commons.lang3.text;version="3.8",org.apache.commons.lang3.text.translate;version="3.8",org.apache.commons.lang3.time;version="3.8",org.apache.commons.lang3.tuple;version="3.8"
> Implementation-Title                     Apache Commons Lang                    
> Implementation-URL                       http://commons.apache.org/proper/commons-lang/
> Implementation-Vendor                    The Apache Software Foundation         
> Implementation-Vendor-Id                 org.apache.commons                     
> Implementation-Version                   3.8                                    
> Include-Resource                         META-INF/NOTICE.txt=NOTICE.txt,META-INF/LICENSE.txt=LICENSE.txt
> Manifest-Version                         1.0                                    
> Require-Capability                       osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.7))"
> Specification-Title                      Apache Commons Lang                    
> Specification-Vendor                     The Apache Software Foundation         
> Specification-Version                    3.8                                    
> Tool                                     Bnd-3.5.0.201709291849{code}
> h2. v3.7.0 - MetaData
> {code:java}
> Archiver-Version                         Plexus Archiver                        
> Automatic-Module-Name                    org.apache.commons.lang3               
> Bnd-LastModified                         1509819256170                          
> Build-Jdk                                1.7.0_80                               
> Built-By                                 ggregory                               
> Bundle-Description                       Apache Commons Lang, a package of Java utility classes for the  classes that are in java.lang's hierarchy, or are considered to be so  standard as to justify existence in java.lang.
> Bundle-DocURL                            http://commons.apache.org/proper/commons-lang/
> Bundle-License                           https://www.apache.org/licenses/LICENSE-2.0.txt
> Bundle-ManifestVersion                   2                                      
> Bundle-Name                              Apache Commons Lang                    
> Bundle-SymbolicName                      org.apache.commons.lang3               
> Bundle-Vendor                            The Apache Software Foundation         
> Bundle-Version                           3.7.0                                  
> Created-By                               Apache Maven Bundle Plugin             
> Export-Package                           org.apache.commons.lang3;version="3.7",org.apache.commons.lang3.arch;version="3.7",org.apache.commons.lang3.builder;version="3.7",org.apache.commons.lang3.concurrent;version="3.7",org.apache.commons.lang3.event;version="3.7",org.apache.commons.lang3.exception;version="3.7",org.apache.commons.lang3.math;version="3.7",org.apache.commons.lang3.mutable;version="3.7",org.apache.commons.lang3.reflect;version="3.7",org.apache.commons.lang3.text;version="3.7",org.apache.commons.lang3.text.translate;version="3.7",org.apache.commons.lang3.time;version="3.7",org.apache.commons.lang3.tuple;version="3.7"
> Implementation-Title                     Apache Commons Lang                    
> Implementation-URL                       http://commons.apache.org/proper/commons-lang/
> Implementation-Vendor                    The Apache Software Foundation         
> Implementation-Vendor-Id                 org.apache.commons                     
> Implementation-Version                   3.7                                    
> Include-Resource                         META-INF/LICENSE.txt=LICENSE.txt,META-INF/NOTICE.txt=NOTICE.txt
> Manifest-Version                         1.0                                    
> Require-Capability                       osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.7))"
> Specification-Title                      Apache Commons Lang                    
> Specification-Vendor                     The Apache Software Foundation         
> Specification-Version                    3.7                                     
> Tool                                     Bnd-3.0.0.201509101326             {code}
>  
> Thanks :)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)