This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository maven-repo-helper.
commit 6d19471ef643e1e5b72a66ef9aa60f57da0e0558 Author: Emmanuel Bourg <[email protected]> Date: Wed Jun 29 12:48:27 2016 +0200 Reduced the size of the poms installed in /usr/share/maven-repo by removing the non-functional elements --- debian/changelog | 3 + .../java/org/debian/maven/repo/POMCleaner.java | 3 +- src/test/resources/apache.cleaned | 26 ---- src/test/resources/commons-validator.cleaned | 164 +-------------------- .../resources/hibernate-validator-parent.cleaned | 40 +---- src/test/resources/maven.cleaned | 85 +---------- src/test/resources/mojo-parent.cleaned | 47 ------ .../resources/plexus-active-collections.cleaned | 6 +- src/test/resources/plexus-archiver.cleaned | 15 +- src/test/resources/plexus-utils2.cleaned | 10 -- src/test/resources/slf4j.cleaned | 13 +- 11 files changed, 11 insertions(+), 401 deletions(-) diff --git a/debian/changelog b/debian/changelog index c9f7cd4..bdf82f6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,8 @@ maven-repo-helper (1.8.13) UNRELEASED; urgency=medium + * Reduced the size of the poms installed in /usr/share/maven-repo by removing + the non-functional elements (licenses, scm, developers, contributors, + issueManagement, mailingLists, inceptionYear, url, organization). * Standards-Version updated to 3.9.8 (no changes) * Use secure Vcs-* URLs diff --git a/src/main/java/org/debian/maven/repo/POMCleaner.java b/src/main/java/org/debian/maven/repo/POMCleaner.java index 207cf1b..879ab95 100644 --- a/src/main/java/org/debian/maven/repo/POMCleaner.java +++ b/src/main/java/org/debian/maven/repo/POMCleaner.java @@ -40,7 +40,8 @@ public class POMCleaner extends POMTransformer { private static final List<String> WRITE_IGNORED_ELEMENTS = Arrays.asList("build", "distributionManagement", "profiles", "ciManagement", "prerequisites", "repositories", "pluginRepositories", "reports", "reporting", "modelVersion", - "parent"); + "parent", "licenses", "scm", "developers", "contributors", "issueManagement", + "mailingLists", "inceptionYear", "url", "organization"); private boolean keepAllElements = false; private Collection<String> keepElements = new ArrayList<String>(); diff --git a/src/test/resources/apache.cleaned b/src/test/resources/apache.cleaned index 6bced71..a8a12ec 100644 --- a/src/test/resources/apache.cleaned +++ b/src/test/resources/apache.cleaned @@ -35,27 +35,6 @@ under the License. <description>The Apache Software Foundation provides support for the Apache community of open-source software projects. The Apache projects are characterized by a collaborative, consensus based development process, an open andpragmatic software license, and a desire to create high quality software that leads the way in its field. We consider ourselves not simply a group of projects sharing a server, but rather a community of developersand users.</description> - <licenses> - <license> - <name>The Apache Software License, Version 2.0</name> - <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> - <distribution>repo</distribution> - </license> - </licenses> - <organization> - <name>The Apache Software Foundation</name> - <url>http://www.apache.org/</url> - </organization> - <url>http://www.apache.org/</url> - <mailingLists> - <mailingList> - <name>Apache Announce List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - <archive>http://mail-archives.apache.org/mod_mbox/www-announce/</archive> - </mailingList> - </mailingLists> <properties> <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName> <distMgmtSnapshotsUrl>https://repository.apache.org/content/repositories/snapshots</distMgmtSnapshotsUrl> @@ -65,11 +44,6 @@ under the License. <debian.originalVersion>7</debian.originalVersion> <debian.package>libmaven-parent-poms</debian.package> </properties> - <scm> - <connection>scm:svn:http://svn.apache.org/repos/asf/maven/pom/tags/apache-7</connection> - <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/pom/tags/apache-7</developerConnection> - <url>http://svn.apache.org/viewvc/maven/pom/tags/apache-7</url> - </scm> <build> <pluginManagement> <plugins> diff --git a/src/test/resources/commons-validator.cleaned b/src/test/resources/commons-validator.cleaned index 48be1c2..cd0c289 100644 --- a/src/test/resources/commons-validator.cleaned +++ b/src/test/resources/commons-validator.cleaned @@ -20,168 +20,6 @@ <name>Validator</name> <description>Commons Validator provides the building blocks for both client side validation and server side data validation. It may be used standalone or with a framework likeStruts.</description> - <url>http://jakarta.apache.org/commons/${pom.artifactId.substring(8)}/</url> - <issueManagement> - <url>http://issues.apache.org/jira/</url> - </issueManagement> - <inceptionYear>2002</inceptionYear> - <mailingLists> - <mailingList> - <name>Commons Dev List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <archive>http://mail-archives.apache.org/mod_mbox/jakarta-commons-dev/</archive> - </mailingList> - <mailingList> - <name>Commons User List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <archive>http://mail-archives.apache.org/mod_mbox/jakarta-commons-user/</archive> - </mailingList> - </mailingLists> - <developers> - <developer> - <id>mrdon</id> - <name>Don Brown</name> - <email>[email protected]</email> - </developer> - <developer> - <id>martinc</id> - <name>Martin Cooper</name> - <email>[email protected]</email> - </developer> - <developer> - <id>dgraham</id> - <name>David Graham</name> - <email>[email protected]</email> - </developer> - <developer> - <id>husted</id> - <name>Ted Husted</name> - <email>[email protected]</email> - </developer> - <developer> - <id>rleland</id> - <name>Rob Leland</name> - <email>rleland at apache.org</email> - </developer> - <developer> - <id>craigmcc</id> - <name>Craig McClanahan</name> - <email>[email protected]</email> - </developer> - <developer> - <id>jmitchell</id> - <name>James Mitchell</name> - <email>jmitchell NOSPAM apache.org</email> - <organization>EdgeTech, Inc</organization> - </developer> - <developer> - <id>niallp</id> - <name>Niall Pemberton</name> - </developer> - <developer> - <id>turner</id> - <name>James Turner</name> - <email>[email protected]</email> - </developer> - <developer> - <id>dwinterfeldt</id> - <name>David Winterfeldt</name> - <email>[email protected]</email> - </developer> - <developer> - <id>bayard</id> - <name>Henri Yandell</name> - </developer> - </developers> - <contributors> - <contributor> - <name>Saul Q Yuan Add</name> - </contributor> - <contributor> - <name>Shane Bailey</name> - </contributor> - <contributor> - <name>Dave Derry</name> - </contributor> - <contributor> - <name>Tim O'Brien</name> - </contributor> - <contributor> - <name>Scott Clasen</name> - <email>[email protected]></email> - </contributor> - <contributor> - <name>Marcus Brito Finish</name> - </contributor> - <contributor> - <name>Padma Ginnaram</name> - </contributor> - <contributor> - <name>Thomas Jacob</name> - <email>[email protected]</email> - </contributor> - <contributor> - <name>Adam Kramer</name> - </contributor> - <contributor> - <name>Greg Ludington</name> - </contributor> - <contributor> - <name>Bjorn-H. Moritz</name> - </contributor> - <contributor> - <name>David Neuer</name> - <email>[email protected]</email> - </contributor> - <contributor> - <name>Kurt Post</name> - </contributor> - <contributor> - <name>Arun Mammen Thomas</name> - </contributor> - <contributor> - <name>Steven Fines</name> - <email>[email protected]</email> - </contributor> - <contributor> - <name>Didier Romelot</name> - <email>[email protected]</email> - </contributor> - <contributor> - <name>Steve Stair</name> - </contributor> - <contributor> - <name>Jeremy Tan</name> - <email>[email protected]</email> - </contributor> - <contributor> - <name>94RGt2</name> - <email>[email protected]</email> - </contributor> - <contributor> - <name>Nacho G. Mac Dowell</name> - </contributor> - <contributor> - <name>Mark Lowe</name> - <email>[email protected]</email> - </contributor> - </contributors> - <licenses> - <license> - <name>The Apache Software License, Version 2.0</name> - <url>/LICENSE.txt</url> - </license> - </licenses> - <scm> - <connection>scm:svn:http://svn.apache.org/repos/asf/jakarta/commons/proper/${pom.artifactId.substring(8)}/trunk</connection> - <url>http://svn.apache.org/viewvc</url> - </scm> - <organization> - <name>The Apache Software Foundation</name> - <url>http://jakarta.apache.org</url> - </organization> <dependencies> <dependency> <groupId>commons-beanutils</groupId> @@ -211,4 +49,4 @@ <scope>provided</scope> </dependency> </dependencies> -</project> \ No newline at end of file +</project> diff --git a/src/test/resources/hibernate-validator-parent.cleaned b/src/test/resources/hibernate-validator-parent.cleaned index d8af954..10c0095 100644 --- a/src/test/resources/hibernate-validator-parent.cleaned +++ b/src/test/resources/hibernate-validator-parent.cleaned @@ -12,30 +12,7 @@ </properties> <name>Hibernate Validator Parent</name> - <url>http://validator.hibernate.org</url> <description>Hibernate's Bean Validation (JSR-303) reference implementation.</description> - <developers> - <developer> - <id>epbernard</id> - <name>Emmanuel Bernard</name> - <email>[email protected]</email> - <organization>JBoss, a division of Red Hat</organization> - <url>http://in.relation.to/Bloggers/Emmanuel</url> - </developer> - <developer> - <id>hardy.ferentschik</id> - <name>Hardy Ferentschik</name> - <email>[email protected]</email> - <organization>JBoss, a division of Red Hat</organization> - <url>http://in.relation.to/Bloggers/Hardy</url> - </developer> - </developers> - <mailingLists> - <mailingList> - <name>hibernate-dev</name> - <post>[email protected]</post> - </mailingList> - </mailingLists> <modules> <module>hibernate-validator</module> <module>hibernate-validator-archetype</module> @@ -67,19 +44,4 @@ </dependency> </dependencies> </dependencyManagement> - <issueManagement> - <system>JIRA</system> - <url>http://opensource.atlassian.com/projects/hibernate/browse/HV</url> - </issueManagement> - <inceptionYear>2007</inceptionYear> - <licenses> - <license> - <name>Apache License, Version 2.0</name> - <url>license.txt</url> - </license> - </licenses> - <scm> - <connection>scm:svn:https://svn.jboss.org/repos/hibernate/validator/tags/v4_0_2_GA</connection> - <url>http://fisheye.jboss.org/browse/Hibernate/validator/tags/v4_0_2_GA</url> - </scm> -</project> \ No newline at end of file +</project> diff --git a/src/test/resources/maven.cleaned b/src/test/resources/maven.cleaned index 2537992..986117b 100644 --- a/src/test/resources/maven.cleaned +++ b/src/test/resources/maven.cleaned @@ -26,89 +26,6 @@ under the License. <name>Maven</name> <description>Maven is a project development management and comprehension tool. Based on the concept of a project object model: builds, dependency management, documentation creation, site publication, and distribution publication are all controlled from the declarative file. Maven can be extended by plugins to utilise a number of other development tools for reporting or the build process.</description> - <url>http://maven.apache.org</url> - <inceptionYear>2001</inceptionYear> - <issueManagement> - <system>jira</system> - <url>http://jira.codehaus.org/browse/MNG</url> - </issueManagement> - <mailingLists> - <mailingList> - <name>Maven User List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - <archive>http://mail-archives.apache.org/mod_mbox/maven-users</archive> - <otherArchives> - <otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive> - <otherArchive>http://www.nabble.com/Maven---Users-f178.html</otherArchive> - <otherArchive>http://maven.users.markmail.org/</otherArchive> - </otherArchives> - </mailingList> - <mailingList> - <name>Maven Developer List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - <archive>http://mail-archives.apache.org/mod_mbox/maven-dev</archive> - <otherArchives> - <otherArchive>http://www.mail-archive.com/[email protected]/</otherArchive> - <otherArchive>http://www.nabble.com/Maven-Developers-f179.html</otherArchive> - <otherArchive>http://maven.dev.markmail.org/</otherArchive> - </otherArchives> - </mailingList> - <mailingList> - <name>Maven Issues List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <archive>http://mail-archives.apache.org/mod_mbox/maven-issues/</archive> - <otherArchives> - <otherArchive>http://www.mail-archive.com/[email protected]</otherArchive> - <otherArchive>http://www.nabble.com/Maven---Issues-f15573.html</otherArchive> - <otherArchive>http://maven.issues.markmail.org/</otherArchive> - </otherArchives> - </mailingList> - <mailingList> - <name>Maven Commits List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <archive>http://mail-archives.apache.org/mod_mbox/maven-commits</archive> - <otherArchives> - <otherArchive>http://www.mail-archive.com/[email protected]</otherArchive> - <otherArchive>http://www.nabble.com/Maven---Commits-f15575.html</otherArchive> - <otherArchive>http://maven.commits.markmail.org/</otherArchive> - </otherArchives> - </mailingList> - <!-- duplication from parent pom - temporary until they inherit properly --> - <mailingList> - <name>Maven Announcements List</name> - <post>[email protected]</post> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <archive>http://mail-archives.apache.org/mod_mbox/maven-announce/</archive> - <otherArchives> - <otherArchive>http://www.mail-archive.com/[email protected]</otherArchive> - <otherArchive>http://www.nabble.com/Maven-Announcements-f15617.html</otherArchive> - <otherArchive>http://maven.announce.markmail.org/</otherArchive> - </otherArchives> - </mailingList> - <mailingList> - <name>Maven Notifications List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <archive>http://mail-archives.apache.org/mod_mbox/maven-notifications/</archive> - <otherArchives> - <otherArchive>http://www.mail-archive.com/[email protected]</otherArchive> - <otherArchive>http://www.nabble.com/Maven---Notifications-f15574.html</otherArchive> - <otherArchive>http://maven.notifications.markmail.org/</otherArchive> - </otherArchives> - </mailingList> - </mailingLists> - <scm> - <connection>scm:svn:http://svn.apache.org/repos/asf/maven/components/branches/maven-2.1.x</connection> - <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/components/branches/maven-2.1.x</developerConnection> - <url>http://svn.apache.org/viewvc/maven/components/branches/maven-2.1.x</url> - </scm> <modules> <module>maven-artifact</module> <module>maven-artifact-manager</module> @@ -329,4 +246,4 @@ under the License. <!--start--> </dependencyManagement> <!--end--> -</project> \ No newline at end of file +</project> diff --git a/src/test/resources/mojo-parent.cleaned b/src/test/resources/mojo-parent.cleaned index 784f649..38c8972 100644 --- a/src/test/resources/mojo-parent.cleaned +++ b/src/test/resources/mojo-parent.cleaned @@ -21,53 +21,6 @@ </parent> <name>Codehaus Mojo Parent</name> - <url>http://mojo.codehaus.org</url> - <organization> - <name>Codehaus</name> - <url>http://codehaus.org</url> - </organization> - <mailingLists> - <mailingList> - <name>Development List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - <archive>http://archive.codehaus.org/lists/org.codehaus.mojo.dev</archive> - <otherArchives> - <otherArchive>http://www.nabble.com/mojo---dev-f11981.html</otherArchive> - <otherArchive>http://markmail.org/list/org.codehaus.mojo.dev</otherArchive> - </otherArchives> - </mailingList> - <mailingList> - <name>User List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <post>[email protected]</post> - <archive>http://archive.codehaus.org/lists/org.codehaus.mojo.user</archive> - <otherArchives> - <otherArchive>http://www.nabble.com/mojo---user-f11980.html</otherArchive> - <otherArchive>http://markmail.org/list/org.codehaus.mojo.user</otherArchive> - </otherArchives> - </mailingList> - <mailingList> - <name>Commits List</name> - <subscribe>[email protected]</subscribe> - <unsubscribe>[email protected]</unsubscribe> - <archive>http://archive.codehaus.org/lists/org.codehaus.mojo.scm</archive> - <otherArchives> - <otherArchive>http://markmail.org/list/org.codehaus.mojo.scm</otherArchive> - </otherArchives> - </mailingList> - </mailingLists> - <scm> - <connection>scm:svn:http://svn.codehaus.org/mojo/tags/mojo-parent-27</connection> - <developerConnection>scm:svn:https://svn.codehaus.org/mojo/tags/mojo-parent-27</developerConnection> - <url>http://fisheye.codehaus.org/browse/mojo/tags/mojo-parent-27</url> - </scm> - <issueManagement> - <system>jira</system> - <url>http://jira.codehaus.org/browse/MOJO</url> - </issueManagement> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <mojo.java.target>1.4</mojo.java.target> diff --git a/src/test/resources/plexus-active-collections.cleaned b/src/test/resources/plexus-active-collections.cleaned index 8e831a3..4f26fbd 100644 --- a/src/test/resources/plexus-active-collections.cleaned +++ b/src/test/resources/plexus-active-collections.cleaned @@ -28,8 +28,4 @@ <version>1.0-alpha</version> </dependency> </dependencies> - <scm> - <connection>scm:svn:http://svn.codehaus.org/plexus/tags/plexus-active-collections-1.0-beta-2</connection> - <developerConnection>scm:svn:https://svn.codehaus.org/plexus/tags/plexus-active-collections-1.0-beta-2</developerConnection> - </scm> -</project> \ No newline at end of file +</project> diff --git a/src/test/resources/plexus-archiver.cleaned b/src/test/resources/plexus-archiver.cleaned index 3656894..0e12193 100644 --- a/src/test/resources/plexus-archiver.cleaned +++ b/src/test/resources/plexus-archiver.cleaned @@ -13,14 +13,6 @@ </properties> <name>Plexus Archiver Component</name> - <contributors> - <contributor> - <name>Dan Tran</name> - </contributor> - <contributor> - <name>Richard van der Hoff</name> - </contributor> - </contributors> <dependencies> <dependency> <groupId>org.codehaus.plexus</groupId> @@ -38,9 +30,4 @@ <version>debian</version> </dependency> </dependencies> - <scm> - <connection>scm:svn:http://svn.codehaus.org/plexus/plexus-components/tags/plexus-archiver-1.0-alpha-12</connection> - <developerConnection>scm:svn:https://svn.codehaus.org/plexus/plexus-components/tags/plexus-archiver-1.0-alpha-12</developerConnection> - <url>http://fisheye.codehaus.org/browse/plexus/plexus-components/tags/plexus-archiver-1.0-alpha-12</url> - </scm> -</project> \ No newline at end of file +</project> diff --git a/src/test/resources/plexus-utils2.cleaned b/src/test/resources/plexus-utils2.cleaned index 563d4b7..606bd28 100644 --- a/src/test/resources/plexus-utils2.cleaned +++ b/src/test/resources/plexus-utils2.cleaned @@ -34,14 +34,4 @@ limitations under the License. <name>Plexus Common Utilities</name> <description>A collection of various utility classes to ease working with strings, files, command lines, XML and more.</description> - <url>http://plexus.codehaus.org/plexus-utils</url> - <scm> - <connection>scm:svn:http://svn.codehaus.org/plexus/plexus-utils/tags/plexus-utils-2.0.5</connection> - <developerConnection>scm:svn:https://svn.codehaus.org/plexus/plexus-utils/tags/plexus-utils-2.0.5</developerConnection> - <url>http://fisheye.codehaus.org/browse/plexus/plexus-utils/tags/plexus-utils-2.0.5</url> - </scm> - <issueManagement> - <system>JIRA</system> - <url>http://jira.codehaus.org/browse/PLXUTILS</url> - </issueManagement> </project> diff --git a/src/test/resources/slf4j.cleaned b/src/test/resources/slf4j.cleaned index 4f700ae..3cd16e8 100644 --- a/src/test/resources/slf4j.cleaned +++ b/src/test/resources/slf4j.cleaned @@ -13,12 +13,6 @@ </properties> <name>SLF4J</name> - <url>http://www.slf4j.org</url> - <organization> - <name>QOS.ch</name> - <url>http://www.qos.ch</url> - </organization> - <inceptionYear>2005</inceptionYear> <modules> <module>slf4j-api</module> <module>slf4j-simple</module> @@ -57,9 +51,4 @@ </dependency> </dependencies> </dependencyManagement> - <scm> - <connection>scm:svn:http://svn.slf4j.org/repos/slf4j/trunk</connection> - <developerConnection>scm:svn:https://svn.slf4j.org/repos/slf4j/trunk</developerConnection> - <url>http://svn.slf4j.org/viewvc/slf4j/trunk/</url> - </scm> -</project> \ No newline at end of file +</project> -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-repo-helper.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

