]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Reversioned org.jdom2 from 2.0.6 to 2.0.6.b0001
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 31 Mar 2017 09:05:47 +0000 (12:05 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 31 Mar 2017 09:05:47 +0000 (12:05 +0300)
This ensures that people loading the target platform will
receive the correct version of the plug-in. Currently developers
still have old cached versions of the old bundle with version
2.0.6 that the system unwantedly keeps loading while P2 should
be loading the correct file on the web. The only way to prevent
this is to bump the version qualifier stamp to force downloads.

refs #7114

releng/org.simantics.sdk.build.p2.site/pom.xml

index 14cf316afc60eec433e22980eca22964327054f4..b8d6a714fdbbc7e13a4576976caa0cb01a6f1042 100644 (file)
@@ -13,6 +13,8 @@
         <lucene.version>4.9.0</lucene.version>
         <lucene.version.actual>4.9.0.b0003</lucene.version.actual>
         <lucene.prefix>org.apache.lucene4</lucene.prefix>
+        <jdom.version>2.0.6</jdom.version>
+        <jdom.version.actual>2.0.6.b0001</jdom.version.actual>
     </properties>
 
 
                                     </instructions>
                                 </artifact>
                                 <artifact>
-                                    <id>org.jdom:jdom2:2.0.6</id>
+                                    <id>org.jdom:jdom2:${jdom.version}</id>
                                     <source>true</source>
                                     <instructions>
                                         <Bundle-SymbolicName>org.jdom2</Bundle-SymbolicName>
+                                        <Bundle-Version>${jdom.version.actual}</Bundle-Version>
+                                        <Export-Package>*;version="${jdom.version}"</Export-Package>
                                     </instructions>
                                 </artifact>
                                 <artifact>