[maven-filtering] 04/32: add plexus' components.xml
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jul 17 15:57:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository maven-filtering.
commit 6b63ce862a3cadd59cb78a4693b344361a0eabdf
Author: Torsten Werner <twerner at debian.org>
Date: Mon Dec 8 10:35:58 2008 +0000
add plexus' components.xml
---
debian/components.xml | 23 +++++++++++++++++++++++
debian/rules | 4 ++++
2 files changed, 27 insertions(+)
diff --git a/debian/components.xml b/debian/components.xml
new file mode 100644
index 0000000..5b21847
--- /dev/null
+++ b/debian/components.xml
@@ -0,0 +1,23 @@
+<component-set>
+ <components>
+ <component>
+ <role>org.apache.maven.shared.filtering.MavenFileFilter</role>
+ <role-hint>default</role-hint>
+ <implementation>org.apache.maven.shared.filtering.DefaultMavenFileFilter</implementation>
+ <description></description>
+ </component>
+ <component>
+ <role>org.apache.maven.shared.filtering.MavenResourcesFiltering</role>
+ <role-hint>default</role-hint>
+ <implementation>org.apache.maven.shared.filtering.DefaultMavenResourcesFiltering</implementation>
+ <description></description>
+ <requirements>
+ <requirement>
+ <role>org.apache.maven.shared.filtering.MavenFileFilter</role>
+ <role-hint>default</role-hint>
+ <field-name>mavenFileFilter</field-name>
+ </requirement>
+ </requirements>
+ </component>
+ </components>
+</component-set>
diff --git a/debian/rules b/debian/rules
index a8da205..3243923 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,10 @@ get-orig-source:
REPO := /usr/share/maven-repo
DEST := $(REPO)/org/apache/maven/shared
+makebuilddir/lib$(PACKAGE)-java::
+ install -d target/classes/META-INF/plexus/
+ install -m644 debian/components.xml target/classes/META-INF/plexus/
+
binary-post-install/lib$(PACKAGE)-java::
dh_install target/*.jar $(DEST)/$(PACKAGE)/$(VERSION)/
install -m644 pom.xml $(DEB_DESTDIR)$(DEST)/$(PACKAGE)/$(VERSION)/$(PACKAGE)-$(VERSION).pom
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-filtering.git
More information about the pkg-java-commits
mailing list