[xml-maven-plugin] 03/23: fixed jar installation

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Jul 31 15:42:57 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository xml-maven-plugin.

commit 7c5bb87bc4677616f487093e274f61115fb67c35
Author: Eugene Zhukov <eugene at debian.org>
Date:   Mon May 20 13:08:55 2013 +0000

    fixed jar installation
---
 debian/control                          |  6 +++++-
 debian/libxml-maven-plugin-java.install |  1 +
 debian/patches/pom_fixes.patch          | 25 ++++++++++++++++++++-----
 3 files changed, 26 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index 9ad4bfa..923e950 100644
--- a/debian/control
+++ b/debian/control
@@ -19,4 +19,8 @@ Recommends: ${maven:OptionalDepends}
 Description: Maven XML Plugin
  A plugin for various XML related tasks like validation, transformation,
  and the like.
-
+ The plugin offers the following goals:
+  * xml:validate validates XML files against a schema.
+    If the files aren't matching a certain schema, one may simply check,
+    whether they are well formed.
+  * xml:transform transforms XML files by applying XSLT stylesheets.
diff --git a/debian/libxml-maven-plugin-java.install b/debian/libxml-maven-plugin-java.install
new file mode 100644
index 0000000..d3a8587
--- /dev/null
+++ b/debian/libxml-maven-plugin-java.install
@@ -0,0 +1 @@
+target/xml-maven-plugin-1.0.jar usr/share/java
diff --git a/debian/patches/pom_fixes.patch b/debian/patches/pom_fixes.patch
index 0a3f788..f9d18bc 100644
--- a/debian/patches/pom_fixes.patch
+++ b/debian/patches/pom_fixes.patch
@@ -1,10 +1,11 @@
 Description: fixed deps
-   * fixed dependencies according to debian local maven repo
+ * fixed dependencies according to debian local maven repo
+ * maven-jar-plugin added for Class-Path in metainf
 Author: Eugene Zhukov <jevgeni.zh at gmail.com>
-Last-Update: <2013-05-03>
+Last-Update: <2013-05-20>
 
---- a/pom.xml
-+++ b/pom.xml
+--- xml-maven-plugin-1.0.orig/pom.xml
++++ xml-maven-plugin-1.0/pom.xml
 @@ -145,15 +145,15 @@
        </exclusions>
      </dependency>
@@ -25,8 +26,22 @@ Last-Update: <2013-05-03>
        <scope>test</scope>
      </dependency>
      <dependency>
-@@ -169,6 +169,7 @@
+@@ -167,8 +167,21 @@
+   <build>
+     <plugins>
        <plugin>
++	<groupId>org.apache.maven.plugins</groupId>
++	<artifactId>maven-jar-plugin</artifactId>
++	<configuration>
++	<archive>
++	<manifest>
++	<addClasspath>true</addClasspath>
++	</manifest>
++	</archive>
++	</configuration>
++	<version>2.2</version>
++      </plugin>
++      <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-invoker-plugin</artifactId>
 +	<version>1.5</version>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/xml-maven-plugin.git



More information about the pkg-java-commits mailing list