Skip to content

Commit

Permalink
Merge pull request #127 from BluWings/master
Browse files Browse the repository at this point in the history
#88 replace snapshot by timestamp qualifier
  • Loading branch information
DirkMahler committed Jul 7, 2014
2 parents 31987c0 + d4c0db7 commit a7ebae9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
7 changes: 7 additions & 0 deletions json/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
com.buschmais.xo.json.api.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
</Export-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
3 changes: 3 additions & 0 deletions neo4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
<configuration>
<instructions>
<DynamicImport-Package>*</DynamicImport-Package>
<Export-Package>
com.buschmais.xo.neo4j.api.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}"
</Export-Package>
</instructions>
</configuration>
</plugin>
Expand Down
14 changes: 9 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java8.build.outputDirectory>${project.build.directory}/classes-java8</java8.build.outputDirectory>
<bundle.name>com.buschmais.${project.artifactId}</bundle.name>
<github.global.server>github</github.global.server>
<org_asciidoctor.version>0.1.4</org_asciidoctor.version>

<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
<bundle.name>com.buschmais.${project.artifactId}</bundle.name>
</properties>

<profiles>
Expand Down Expand Up @@ -296,10 +298,8 @@
<Bundle-Name>${project.name} (Source)</Bundle-Name>
<Bundle-SymbolicName>${bundle.name}.source</Bundle-SymbolicName>
<Bundle-Vendor>${project.organization.name}</Bundle-Vendor>
<Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
<Eclipse-SourceBundle>
${bundle.name};version="${parsedVersion.osgiVersion}";roots:="."
</Eclipse-SourceBundle>
<Bundle-Version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${build.timestamp}</Bundle-Version>
<Eclipse-SourceBundle>${bundle.name};version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${build.timestamp}";roots:="."</Eclipse-SourceBundle>
</manifestEntries>
</archive>
</configuration>
Expand Down Expand Up @@ -377,6 +377,7 @@
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.4.0</version>
<extensions>true</extensions>
<executions>
<execution>
<id>bundle-manifest</id>
Expand All @@ -386,7 +387,10 @@
</goals>
<configuration>
<instructions>
<Bundle-RequiredExecutionEnvironment>JavaSE-1.7</Bundle-RequiredExecutionEnvironment>
<Bundle-Name>${project.name}</Bundle-Name>
<_snapshot>${maven.build.timestamp}</_snapshot>
<_versionpolicy>[$(version;==;$(@)),$(version;+;$(@)))</_versionpolicy>
</instructions>
</configuration>
</execution>
Expand Down

0 comments on commit a7ebae9

Please sign in to comment.