[jackson-jaxrs-providers] 04/162: Fixing build issues for json provider

Timo Aaltonen tjaalton at moszumanska.debian.org
Mon Sep 8 22:16:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

tjaalton pushed a commit to branch master
in repository jackson-jaxrs-providers.

commit 495268ddc014d95f83996fa572d227c5c1f5eb86
Author: Tatu Saloranta <tsaloranta at gmail.com>
Date:   Mon Feb 4 14:24:12 2013 -0800

    Fixing build issues for json provider
---
 json/pom.xml | 19 ++++++++++++++++++-
 pom.xml      |  3 +--
 2 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/json/pom.xml b/json/pom.xml
index 8c3dad2..fd8ec40 100644
--- a/json/pom.xml
+++ b/json/pom.xml
@@ -29,6 +29,9 @@
   </description>
 
   <properties>
+    <!-- Generate PackageVersion.java into this directory. -->
+    <packageVersion.dir>com/fasterxml/jackson/jaxrs/json</packageVersion.dir>
+    <packageVersion.package>${project.groupId}.json</packageVersion.package>
     <osgi.export>${project.groupId}.json.*;version=${project.version}</osgi.export>
     <!-- NOTE: JAXB annotations module is optional dependency, need to try to mark
          as such here.
@@ -102,5 +105,19 @@
       <scope>test</scope>
     </dependency>
   </dependencies>
-
+  <build>
+    <plugins>
+      <plugin>
+        <!-- Inherited from oss-base. Generate PackageVersion.java.-->
+	<groupId>com.google.code.maven-replacer-plugin</groupId>
+        <artifactId>replacer</artifactId>
+	<executions>
+          <execution>
+            <id>process-packageVersion</id>
+            <phase>process-sources</phase>
+          </execution>
+	</executions>
+      </plugin>
+    </plugins>
+  </build>
 </project>
diff --git a/pom.xml b/pom.xml
index 2cd03d1..ebe0e34 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
   <parent>
     <groupId>com.fasterxml</groupId>
     <artifactId>oss-parent</artifactId>
-    <version>4</version>
+    <version>8-SNAPSHOT</version>
   </parent>
   <groupId>com.fasterxml.jackson.jaxrs</groupId>
   <artifactId>jackson-jaxrs-providers</artifactId>
@@ -59,5 +59,4 @@
       <scope>test</scope>
     </dependency>
   </dependencies>
-
 </project>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jackson-jaxrs-providers.git



More information about the pkg-java-commits mailing list