Author: moeller Date: 2013-08-20 21:19:07 +0000 (Tue, 20 Aug 2013) New Revision: 17157
Added: trunk/jaxb2-maven-plugin/ trunk/jaxb2-maven-plugin/debian/ trunk/jaxb2-maven-plugin/debian/README.source trunk/jaxb2-maven-plugin/debian/changelog trunk/jaxb2-maven-plugin/debian/compat trunk/jaxb2-maven-plugin/debian/control trunk/jaxb2-maven-plugin/debian/copyright trunk/jaxb2-maven-plugin/debian/libjaxb2-maven-plugin-java.poms trunk/jaxb2-maven-plugin/debian/maven.cleanIgnoreRules trunk/jaxb2-maven-plugin/debian/maven.ignoreRules trunk/jaxb2-maven-plugin/debian/maven.properties trunk/jaxb2-maven-plugin/debian/maven.publishedRules trunk/jaxb2-maven-plugin/debian/maven.rules trunk/jaxb2-maven-plugin/debian/orig-tar.sh trunk/jaxb2-maven-plugin/debian/patches/ trunk/jaxb2-maven-plugin/debian/patches/pom.xml trunk/jaxb2-maven-plugin/debian/patches/series trunk/jaxb2-maven-plugin/debian/rules trunk/jaxb2-maven-plugin/debian/source/ trunk/jaxb2-maven-plugin/debian/source/format trunk/jaxb2-maven-plugin/debian/watch Log: Sigh. Early excitement vanished since stuck with packaging build dependency http://jaxb.java.net. Property changes on: trunk/jaxb2-maven-plugin/debian ___________________________________________________________________ Added: mergeWithUpstream + 1 Added: trunk/jaxb2-maven-plugin/debian/README.source =================================================================== --- trunk/jaxb2-maven-plugin/debian/README.source (rev 0) +++ trunk/jaxb2-maven-plugin/debian/README.source 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1,13 @@ +Information about jaxb2-maven-plugin +------------------------------------ + +This package was debianized using the mh_make command +from the maven-debian-helper package and manually curated +for additional dependencies and better package descriptions. + +The build system uses Maven but prevents it from downloading +anything from the Internet, making the build compliant with +the Debian policy. + +Tests and documentation are not enabled because of +missing dependencies. There is some work remaining to be done. Added: trunk/jaxb2-maven-plugin/debian/changelog =================================================================== --- trunk/jaxb2-maven-plugin/debian/changelog (rev 0) +++ trunk/jaxb2-maven-plugin/debian/changelog 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1,5 @@ +jaxb2-maven-plugin (1.5-1) UNRELEASED; urgency=low + + * Initial release (Closes: #720347). + + -- Steffen Moeller <[email protected]> Tue, 20 Aug 2013 21:05:10 +0200 Added: trunk/jaxb2-maven-plugin/debian/compat =================================================================== --- trunk/jaxb2-maven-plugin/debian/compat (rev 0) +++ trunk/jaxb2-maven-plugin/debian/compat 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1 @@ +7 Added: trunk/jaxb2-maven-plugin/debian/control =================================================================== --- trunk/jaxb2-maven-plugin/debian/control (rev 0) +++ trunk/jaxb2-maven-plugin/debian/control 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1,34 @@ +Source: jaxb2-maven-plugin +Section: java +Priority: optional +Maintainer: Debian Java Maintainers <[email protected]> +Uploaders: Steffen Moeller <[email protected]> +Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.5) +Build-Depends-Indep: libmaven2-core-java, libplexus-build-api-java, libplexus-compiler-java, + libplexus-utils-java, libmaven-invoker-plugin-java +Standards-Version: 3.9.4 +Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/jaxb2-maven-plugin +Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/jaxb2-maven-plugin +Homepage: http://mojo.codehaus.org/jaxb2-maven-plugin/ + +Package: libjaxb2-maven-plugin-java +Architecture: all +Depends: ${misc:Depends}, ${maven:Depends} +Recommends: ${maven:OptionalDepends} +Description: interlinking XML files with Java Objects from mojo.codehaus.org + Mojo's JAXB-2 Maven plugin is used to create an object graph from XSDs + based on the JAXB 2.1 implementation and to generate XSDs from JAXB-annotated + Java classes. + . + This plugin uses JAXB2 to generate Java classes from XML Schemas (and + binding files) and to create XML Schemas for existing Java classes. + . + General Information about the plugin goals: + . + * jaxb2:schemagen Creates XML Schema Definition (XSD) file(s) from + annotated Java sources. + * jaxb2:testSchemagen Creates XML Schema Definition (XSD) file(s) + from annotated Java test sources. + * jaxb2:xjc Generates Java sources from XML Schema(s). + * jaxb2:testXjc Generates Java test sources from XML Schema(s). + Added: trunk/jaxb2-maven-plugin/debian/copyright =================================================================== --- trunk/jaxb2-maven-plugin/debian/copyright (rev 0) +++ trunk/jaxb2-maven-plugin/debian/copyright 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1,18 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: JAXB-2 Maven Plugin +Upstream-Contact: http://bamboo.ci.codehaus.org/browse/MOJO-MJAXB +Source: http://mojo.codehaus.org/jaxb2-maven-plugin/ + +Files: * +Copyright: 2005-2013, Jeff Genender <[email protected]> +License: Apache-2.0 + +Files: debian/* +Copyright: 2013, Steffen Moeller <[email protected]> +License: Apache-2.0 + +License: Apache-2.0 + On Debian systems, the full text of the Apache-2.0 license + can be found in the file '/usr/share/common-licenses/Apache-2.0' + + Added: trunk/jaxb2-maven-plugin/debian/libjaxb2-maven-plugin-java.poms =================================================================== --- trunk/jaxb2-maven-plugin/debian/libjaxb2-maven-plugin-java.poms (rev 0) +++ trunk/jaxb2-maven-plugin/debian/libjaxb2-maven-plugin-java.poms 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1,28 @@ +# List of POM files for the package +# Format of this file is: +# <path to pom file> [option]* +# where option can be: +# --ignore: ignore this POM and its artifact if any +# --ignore-pom: don't install the POM. To use on POM files that are created +# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] +# --no-parent: remove the <parent> tag from the POM +# --package=<package>: an alternative package to use when installing this POM +# and its artifact +# --has-package-version: to indicate that the original version of the POM is the same as the upstream part +# of the version for the package. +# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM +# during a clean operation with mh_cleanpom or mh_installpom +# --artifact=<path>: path to the build artifact associated with this POM, +# it will be installed when using the command mh_install. [mh_install] +# --java-lib: install the jar into /usr/share/java to comply with Debian +# packaging guidelines +# --usj-name=<name>: name to use when installing the library in /usr/share/java +# --usj-version=<version>: version to use when installing the library in /usr/share/java +# --no-usj-versionless: don't install the versionless link in /usr/share/java +# --dest-jar=<path>: the destination for the real jar. +# It will be installed with mh_install. [mh_install] +# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default. +# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed. +# Empty by default. [mh_install] +# +pom.xml --no-parent --has-package-version Added: trunk/jaxb2-maven-plugin/debian/maven.cleanIgnoreRules =================================================================== --- trunk/jaxb2-maven-plugin/debian/maven.cleanIgnoreRules (rev 0) +++ trunk/jaxb2-maven-plugin/debian/maven.cleanIgnoreRules 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1 @@ + Added: trunk/jaxb2-maven-plugin/debian/maven.ignoreRules =================================================================== --- trunk/jaxb2-maven-plugin/debian/maven.ignoreRules (rev 0) +++ trunk/jaxb2-maven-plugin/debian/maven.ignoreRules 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1,6 @@ + +com.sun.xml.bind jaxb-xjc * * * * +junit junit * * * * +org.apache.maven.plugin-testing maven-plugin-testing-harness * * * * +org.apache.maven.plugins maven-changes-plugin * * * * +xmlunit xmlunit * * * * Added: trunk/jaxb2-maven-plugin/debian/maven.properties =================================================================== --- trunk/jaxb2-maven-plugin/debian/maven.properties (rev 0) +++ trunk/jaxb2-maven-plugin/debian/maven.properties 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1,7 @@ +# Include here properties to pass to Maven during the build. +# For example: +# maven.test.skip=true + +maven.test.skip=true +maven.compiler.source=1.5 +maven.compiler.target=1.5 Added: trunk/jaxb2-maven-plugin/debian/maven.publishedRules =================================================================== --- trunk/jaxb2-maven-plugin/debian/maven.publishedRules (rev 0) +++ trunk/jaxb2-maven-plugin/debian/maven.publishedRules 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1 @@ + Added: trunk/jaxb2-maven-plugin/debian/maven.rules =================================================================== --- trunk/jaxb2-maven-plugin/debian/maven.rules (rev 0) +++ trunk/jaxb2-maven-plugin/debian/maven.rules 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1,11 @@ + +junit junit jar s/3\..*/3.x/ * * +org.codehaus.plexus plexus-compiler-api jar s/.*/debian/ * * +org.sonatype.plexus plexus-build-api jar s/.*/debian/ * * +xmlunit xmlunit jar s/1\.3.*/debian/ * * +org.apache.maven.plugins maven-invoker-plugin * s/.*/1.5/ * * +s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-harness * s/.*/debian/ * * +s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing-tools * s/.*/debian/ * * +s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-plugin-testing * s/.*/debian/ * * +s/org.apache.maven.shared/org.apache.maven.plugin-testing/ maven-test-tools * s/.*/debian/ * * + Added: trunk/jaxb2-maven-plugin/debian/orig-tar.sh =================================================================== --- trunk/jaxb2-maven-plugin/debian/orig-tar.sh (rev 0) +++ trunk/jaxb2-maven-plugin/debian/orig-tar.sh 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1,16 @@ +#!/bin/sh -e + +VERSION=$2 +TAR=../jaxb2-maven-plugin_$VERSION.orig.tar.gz +DIR=jaxb2-maven-plugin-$VERSION +TAG=$(echo "jaxb2-maven-plugin-$VERSION" | sed -re's/~(alpha|beta)/-\1-/') + +svn export http://svn.codehaus.org/mojo/tags/${TAG}/ $DIR +GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*.class' $DIR +rm -rf $DIR ../$TAG + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir && echo "moved $TAR to $origDir" +fi Property changes on: trunk/jaxb2-maven-plugin/debian/orig-tar.sh ___________________________________________________________________ Added: svn:executable + * Added: trunk/jaxb2-maven-plugin/debian/patches/pom.xml =================================================================== --- trunk/jaxb2-maven-plugin/debian/patches/pom.xml (rev 0) +++ trunk/jaxb2-maven-plugin/debian/patches/pom.xml 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1,19 @@ +Index: jaxb2-maven-plugin-1.5/pom.xml +=================================================================== +--- jaxb2-maven-plugin-1.5.orig/pom.xml ++++ jaxb2-maven-plugin-1.5/pom.xml +@@ -193,6 +193,7 @@ + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-invoker-plugin</artifactId> ++ <version>1.5</version> + <configuration> + <debug>true</debug> + <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> +@@ -219,4 +220,4 @@ + </build> + </profile> + </profiles> +-</project> +\ No newline at end of file ++</project> Added: trunk/jaxb2-maven-plugin/debian/patches/series =================================================================== --- trunk/jaxb2-maven-plugin/debian/patches/series (rev 0) +++ trunk/jaxb2-maven-plugin/debian/patches/series 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1 @@ +pom.xml Added: trunk/jaxb2-maven-plugin/debian/rules =================================================================== --- trunk/jaxb2-maven-plugin/debian/rules (rev 0) +++ trunk/jaxb2-maven-plugin/debian/rules 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/maven.mk + +JAVA_HOME := /usr/lib/jvm/default-java + +get-orig-source: + uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename Property changes on: trunk/jaxb2-maven-plugin/debian/rules ___________________________________________________________________ Added: svn:executable + * Added: trunk/jaxb2-maven-plugin/debian/source/format =================================================================== --- trunk/jaxb2-maven-plugin/debian/source/format (rev 0) +++ trunk/jaxb2-maven-plugin/debian/source/format 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1 @@ +3.0 (quilt) Added: trunk/jaxb2-maven-plugin/debian/watch =================================================================== --- trunk/jaxb2-maven-plugin/debian/watch (rev 0) +++ trunk/jaxb2-maven-plugin/debian/watch 2013-08-20 21:19:07 UTC (rev 17157) @@ -0,0 +1,4 @@ +version=3 +opts="uversionmangle=s/-(alpha|beta)-/~$1/" \ + http://svn.codehaus.org/mojo/tags/ \ + jaxb2-maven-plugin-(\d.*)/ debian debian/orig-tar.sh _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

