debian/0000755000000000000000000000000012247275504007176 5ustar debian/build.xml0000644000000000000000000002620412235750712011017 0ustar debian/libmaven-plugin-tools-java.poms0000644000000000000000000000141412235750712015240 0ustar pom.xml --no-parent --has-package-version maven-plugin-annotations/pom.xml --has-package-version maven-plugin-plugin/pom.xml --no-parent --has-package-version maven-plugin-tools-annotations/pom.xml --has-package-version maven-plugin-tools-ant/pom.xml --has-package-version maven-plugin-tools-api/pom.xml --has-package-version maven-plugin-tools-model/pom.xml --has-package-version maven-plugin-tools-beanshell/pom.xml --has-package-version maven-plugin-tools-generators/pom.xml --has-package-version maven-plugin-tools-java/pom.xml --has-package-version maven-plugin-tools-javadoc/pom.xml --has-package-version maven-script/pom.xml --has-package-version maven-script/maven-script-ant/pom.xml --has-package-version maven-script/maven-script-beanshell/pom.xml --has-package-version debian/maven.rules0000644000000000000000000000063712235750712011362 0ustar # newer beanshell versions use the group org.beanshell instead of bsh s/bsh/org.beanshell/ bsh jar s/.*/debian/ # keep the version for all Maven plugins as versionless plugins don't work * * maven-plugin * org.codehaus.plexus plexus-container-default jar s/1\.0-alpha.*/1.0-alpha/ junit junit jar s/3\..*/3.x/ asm * * s/.*/3.x/ org.apache.maven maven-artifact * s/3\..*/3.x/ s/bsh/org.beanshell/ bsh * s/.*/debian/ debian/components-tools-beanshell.xml0000644000000000000000000000067212235750712015177 0ustar org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor bsh org.apache.maven.tools.plugin.extractor.beanshell.BeanshellMojoDescriptorExtractor false debian/watch0000644000000000000000000000017211224761350010220 0ustar version=3 http://svn.apache.org/repos/asf/maven/plugin-tools/tags/ \ maven-plugin-tools-(.*)/ debian debian/orig-tar.sh debian/rules0000755000000000000000000000672212235750712010261 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/ant.mk PACKAGE := $(DEB_SOURCE_PACKAGE) VERSION := $(DEB_UPSTREAM_VERSION) JAVA_HOME := /usr/lib/jvm/default-java DEB_JARS := ant-nodeps maven-repo-helper DEB_ANT_BUILD_TARGET := package #javadoc DEB_ANT_BUILDFILE := debian/build.xml DEB_ANT_ARGS := -Dpackage=$(PACKAGE) -Dversion=$(VERSION) API_DOCS := target/api DEB_CLASSPATH := $(DEB_CLASSPATH):maven-plugin-tools-api/target/classes get-orig-source: -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename makebuilddir/lib$(PACKAGE)-java:: install -d debian/tmp/maven-repo cp -rL /usr/share/maven-repo/* debian/tmp/maven-repo/ -rm -rf debian/tmp/maven-repo/org/apache/maven/plugins/ -rm -rf debian/tmp/maven-repo/org/apache/maven/plugin-tools/ cat debian/maven-settings.xml | sed 's|BASEDIR|$(realpath $(DEB_BUILDDIR))|g' > debian/tmp/maven-settings.xml binary-post-install/lib$(PACKAGE)-java:: mh_installpoms -plib$(PACKAGE)-java mh_installjar -plib$(PACKAGE)-java maven-script/maven-script-ant/pom.xml maven-script/maven-script-ant/target/maven-script-ant-$(VERSION).jar mh_installjar -plib$(PACKAGE)-java maven-script/maven-script-beanshell/pom.xml maven-script/maven-script-beanshell/target/maven-script-beanshell-$(VERSION).jar mh_installjar -plib$(PACKAGE)-java -l maven-plugin-plugin/pom.xml maven-plugin-plugin/target/maven-plugin-plugin-$(VERSION).jar mh_installjar -plib$(PACKAGE)-java -l maven-plugin-annotations/pom.xml maven-plugin-annotations/target/maven-plugin-annotations-$(VERSION).jar mh_installjar -plib$(PACKAGE)-java -l maven-plugin-tools-annotations/pom.xml maven-plugin-tools-annotations/target/maven-plugin-tools-annotations-$(VERSION).jar mh_installjar -plib$(PACKAGE)-java -l maven-plugin-tools-ant/pom.xml maven-plugin-tools-ant/target/maven-plugin-tools-ant-$(VERSION).jar mh_installjar -plib$(PACKAGE)-java -l maven-plugin-tools-api/pom.xml maven-plugin-tools-api/target/maven-plugin-tools-api-$(VERSION).jar mh_installjar -plib$(PACKAGE)-java -l maven-plugin-tools-model/pom.xml maven-plugin-tools-model/target/maven-plugin-tools-model-$(VERSION).jar mh_installjar -plib$(PACKAGE)-java -l maven-plugin-tools-beanshell/pom.xml maven-plugin-tools-beanshell/target/maven-plugin-tools-beanshell-$(VERSION).jar mh_installjar -plib$(PACKAGE)-java -l maven-plugin-tools-generators/pom.xml maven-plugin-tools-generators/target/maven-plugin-tools-generators-$(VERSION).jar mh_installjar -plib$(PACKAGE)-java -l maven-plugin-tools-java/pom.xml maven-plugin-tools-java/target/maven-plugin-tools-java-$(VERSION).jar mh_installjar -plib$(PACKAGE)-java -l maven-plugin-tools-javadoc/pom.xml maven-plugin-tools-javadoc/target/maven-plugin-tools-javadoc-$(VERSION).jar clean:: mh_unpatchpoms -plib$(PACKAGE)-java mh_clean rm -Rf target rm -Rf maven-plugin-tools-api/target rm -Rf maven-plugin-tools-model/target rm -Rf maven-plugin-tools-java/target rm -Rf maven-plugin-tools-javadoc/target rm -Rf maven-plugin-tools-beanshell/target rm -Rf maven-plugin-tools-ant/target rm -Rf maven-plugin-tools-annotations/target rm -Rf maven-plugin-tools-generators/target rm -Rf maven-script/maven-script-ant/target rm -Rf maven-script/maven-script-beanshell/target rm -Rf maven-plugin-annotations/target rm -Rf maven-plugin-plugin/target find . | grep pom.xml.save | xargs rm -f debian/changelog0000644000000000000000000000616012247275414011053 0ustar maven-plugin-tools (3.2-2) unstable; urgency=low * Team upload. * Add dependency on libasm3-java. (Closes: #729771) -- tony mancill Mon, 02 Dec 2013 22:28:29 -0800 maven-plugin-tools (3.2-1) unstable; urgency=low * Team upload. * New upstream release (Closes: #691932) - Added patches to remain compatible with the versions of plexus-archiver and plexus-utils in Debian - Install the news artifacts: maven-plugin-annotations, maven-plugin-tools-annotations, maven-plugin-tools-generators, maven-script-ant and maven-script-beanshell - Refreshed the plugin descriptor debian/plugin.xml * Use XZ compression for the upstream tarball * debian/control: Updated Standards-Version to 3.9.5 (no changes) -- Emmanuel Bourg Mon, 04 Nov 2013 17:55:38 +0100 maven-plugin-tools (2.8-3) unstable; urgency=low * Team upload. * debian/control: - Replaced libgoogle-collections-java with libguava-java as a build dependency (required by the modello task of maven-ant-helper) - Tightened the versioned dependency on maven-ant-helper - Updated Standards-Version to 3.9.4 (no changes) - Use canonical URLs for the Vcs-* fields * debian/rules: Added a clean target to allow rebuilds * Build depend on debhelper >= 9 -- Emmanuel Bourg Wed, 11 Sep 2013 17:46:07 +0200 maven-plugin-tools (2.8-2) unstable; urgency=low * Team upload. * Switch to default-jdk. (Closes: #643548). -- Miguel Landaeta Thu, 29 Sep 2011 20:52:34 -0430 maven-plugin-tools (2.8-1) unstable; urgency=low * Team upload. * New upstream release. (Closes: #637213). * Switch to source format 3.0 (quilt). * Bump Standards-Version to 3.9.2. No changes were required. * Remove unnecessary Build-Depends on quilt. * Drop unnecessary patches already applied by upstream. -- Miguel Landaeta Sun, 14 Aug 2011 13:16:31 -0430 maven-plugin-tools (2.5-2) unstable; urgency=low * Upload to unstable. -- Torsten Werner Fri, 14 Aug 2009 15:11:15 +0200 maven-plugin-tools (2.5-1) experimental; urgency=low * New upstream version, add myself to Uploaders * Change section to java, bump up Standards-Version to 3.8.1 * Remove the dependency on java runtimes as it is a library. * Remove the recursive dependency on libmaven-plugin-tools-java, it's not needed * Add a Build-Depends-Indep dependency on maven-repo-helper * Use mh_installpom and mh_installjar to install the POM and the jar to the Maven repository * Remove the patch for the POMs as it's no longer needed, use another patch to ignore old artifacts * Add a dependency on libjtidy-java and libmaven2-core-java * Add a Build-Depends on libclassworlds-java * Build with openjdk-6-jdk, required for module maven-plugin-tools-javadoc, add a Build-Depends on this jdk. -- Ludovic Claude Wed, 13 May 2009 12:04:41 +0100 maven-plugin-tools (2.4.3-1) unstable; urgency=low * Initial release. (Closes: #507922) -- Torsten Werner Thu, 04 Dec 2008 19:29:26 +0100 debian/components-tools-java.xml0000644000000000000000000000066012235750712014160 0ustar org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor java org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtractor false debian/plugin.xml0000644000000000000000000012607512235750712011225 0ustar Maven Plugin Plugin The Plugin Plugin is used to create a Maven plugin descriptor for any Mojo's found in the source tree, to include in the JAR. It is also used to generate Xdoc files for the Mojos as well as for updating the plugin registry, the artifact metadata and a generic help goal. org.apache.maven.plugins maven-plugin-plugin 3.2 plugin false true help Display help information on maven-plugin-plugin.<br/> Call <code>mvn plugin:help -Ddetail=true -Dgoal=&lt;goal-name&gt;</code> to display parameter details. false false false false false true org.apache.maven.plugin.plugin.HelpMojo java per-lookup once-per-session true detail boolean false true If <code>true</code>, display all settable properties for each goal. goal java.lang.String false true The name of the goal for which to show help. If unspecified, all goals will be displayed. indentSize int false true The number of spaces per indentation level, should be positive. lineLength int false true The maximum length of a display line, should be positive. ${detail} ${goal} ${indentSize} ${lineLength} addPluginArtifactMetadata Inject any plugin-specific <a href="/ref/current/maven-repository-metadata/repository-metadata.html">artifact metadata</a> to the project's artifact, for subsequent installation and deployment. It is used: <ol> <li>to add the <code>latest</code> metadata (which is plugin-specific) for shipping alongside the plugin's artifact</li> <li>to define plugin mapping in the group</li> </ol> false true false false false true package org.apache.maven.plugin.plugin.metadata.AddPluginArtifactMetadataMojo java per-lookup once-per-session 2.0 true goalPrefix java.lang.String false true The prefix for the plugin goal. skip boolean 2.8 false true Set this to "true" to skip invoking any goals or reports of the plugin. project org.apache.maven.project.MavenProject true false ${maven.plugin.skip} helpmojo Generates a <code>HelpMojo</code> class. compile false true false false false true generate-sources org.apache.maven.plugin.plugin.HelpGeneratorMojo java per-lookup once-per-session 2.4 true dependencies java.util.Set 3.0 true false The set of dependencies for the current project encoding java.lang.String 2.5 false true The file encoding of the source files. extractors java.util.Set false true The role names of mojo extractors to use. <p/> If not set, all mojo extractors will be used. If set to an empty extractor name, no mojo extractors will be used. <p/> Example: <p/> <pre> &lt;!-- Use all mojo extractors --&gt; &lt;extractors/&gt; &lt;!-- Use no mojo extractors --&gt; &lt;extractors&gt; &lt;extractor/&gt; &lt;/extractors&gt; &lt;!-- Use only bsh mojo extractor --&gt; &lt;extractors&gt; &lt;extractor&gt;bsh&lt;/extractor&gt; &lt;/extractors&gt; </pre> goalPrefix java.lang.String false true The goal prefix that will appear before the ":". helpPackageName java.lang.String 2.6 false true The name of the package for the generated <code>HelpMojo</code>. By default, the package will be calculated based on the packages of the other plugin goals. local org.apache.maven.artifact.repository.ArtifactRepository 3.0 true false Location of the local repository. outputDirectory java.io.File false true The directory where the generated <code>HelpMojo</code> file will be put. remoteRepos java.util.List 3.0 true false List of Remote Repositories used by the resolver skip boolean 2.8 false true Set this to "true" to skip invoking any goals or reports of the plugin. skipErrorNoDescriptorsFound boolean 3.0 false true By default an exception is throw if no mojo descriptor is found. As the maven-plugin is defined in core, the descriptor generator mojo is bound to generate-resources phase. But for annotations, the compiled classes are needed, so skip error project org.apache.maven.project.MavenProject true false ${encoding} ${maven.plugin.skip} ${maven.plugin.skipErrorNoDescriptorsFound} org.apache.maven.tools.plugin.scanner.MojoScanner mojoScanner org.codehaus.plexus.velocity.VelocityComponent velocity updateRegistry Update the user plugin registry (if it's in use) to reflect the version we're installing. false true false false false true install org.apache.maven.plugin.plugin.UpdatePluginRegistryMojo java per-lookup once-per-session 2.0 true artifactId java.lang.String true false The artifact id of the project currently being built. groupId java.lang.String true false The group id of the project currently being built. skip boolean 2.8 false true Set this to "true" to skip invoking any goals or reports of the plugin. skipUpdatePluginRegistry boolean 2.8 false true Set this to "true" to skip updating the plugin registry. usePluginRegistry boolean true false Indicates whether the <code>plugin-registry.xml</code> file is used by Maven or not to manage plugin versions. version java.lang.String true false The version of the project currently being built. ${maven.plugin.skip} ${maven.plugin.update.registry.skip} org.apache.maven.plugin.registry.MavenPluginRegistryBuilder pluginRegistryBuilder xdoc Generate Xdoc files for the project mojos or goals. false true false false false true org.apache.maven.plugin.plugin.XdocGeneratorMojo java per-lookup once-per-session 2.0 true dependencies java.util.Set 3.0 true false The set of dependencies for the current project encoding java.lang.String 2.5 false true The file encoding of the source files. extractors java.util.Set false true The role names of mojo extractors to use. <p/> If not set, all mojo extractors will be used. If set to an empty extractor name, no mojo extractors will be used. <p/> Example: <p/> <pre> &lt;!-- Use all mojo extractors --&gt; &lt;extractors/&gt; &lt;!-- Use no mojo extractors --&gt; &lt;extractors&gt; &lt;extractor/&gt; &lt;/extractors&gt; &lt;!-- Use only bsh mojo extractor --&gt; &lt;extractors&gt; &lt;extractor&gt;bsh&lt;/extractor&gt; &lt;/extractors&gt; </pre> goalPrefix java.lang.String false true The goal prefix that will appear before the ":". local org.apache.maven.artifact.repository.ArtifactRepository 3.0 true false Location of the local repository. outputDirectory java.io.File false true The directory where the generated Xdoc files will be put. remoteRepos java.util.List 3.0 true false List of Remote Repositories used by the resolver skip boolean 2.8 false true Set this to "true" to skip invoking any goals or reports of the plugin. skipErrorNoDescriptorsFound boolean 3.0 false true By default an exception is throw if no mojo descriptor is found. As the maven-plugin is defined in core, the descriptor generator mojo is bound to generate-resources phase. But for annotations, the compiled classes are needed, so skip error project org.apache.maven.project.MavenProject true false ${encoding} ${maven.plugin.skip} ${maven.plugin.skipErrorNoDescriptorsFound} org.apache.maven.tools.plugin.scanner.MojoScanner mojoScanner report Generates the Plugin's documentation report. false true false false false true process-classes org.apache.maven.plugin.plugin.PluginReport java per-lookup once-per-session 2.0 true dependencies java.util.Set 3.0 true false The set of dependencies for the current project encoding java.lang.String 2.7 false true The file encoding of the source files. goalPrefix java.lang.String 2.4 false true The goal prefix that will appear before the ":". By default, this plugin applies a heuristic to derive a heuristic from the plugin's artifactId. <p/> It removes any occurrences of the regular expression <strong>-?maven-?</strong>, and then removes any occurrences of <strong>-?plugin-?</strong>. <p> For example, horsefeature-maven-plugin becomes horsefeature. </p> <p> (There is a special for maven-plugin-plugin; it is mapped to 'plugin'. </p> local org.apache.maven.artifact.repository.ArtifactRepository 3.0 true false Location of the local repository. outputDirectory java.io.File false true Report output directory. remoteRepos java.util.List 3.0 true false List of Remote Repositories used by the resolver requirements org.apache.maven.plugin.plugin.Requirements false true Specify some requirements to execute this plugin. Example: <pre> &lt;requirements&gt; &lt;maven&gt;2.0&lt;/maven&gt; &lt;jdk&gt;1.4&lt;/jdk&gt; &lt;memory&gt;256m&lt;/memory&gt; &lt;diskSpace&gt;1m&lt;/diskSpace&gt; &lt;others&gt; &lt;property&gt; &lt;name&gt;SVN&lt;/name&gt; &lt;value&gt;1.4.6&lt;/value&gt; &lt;/property&gt; &lt;/others&gt; &lt;/requirements&gt; </pre> skip boolean 2.8 false true Set this to "true" to skip invoking any goals or reports of the plugin. skipReport boolean 2.8 false true Set this to "true" to skip generating the report. project org.apache.maven.project.MavenProject true false ${encoding} ${goalPrefix} ${maven.plugin.skip} ${maven.plugin.report.skip} org.apache.maven.tools.plugin.scanner.MojoScanner mojoScanner org.apache.maven.doxia.siterenderer.Renderer siteRenderer descriptor Generate a plugin descriptor. <br/> <b>Note:</b> Since 3.0, for Java 5 plugin annotations support, default <a href="http://maven.apache.org/ref/current/maven-core/lifecycles.html">phase</a> defined by this goal is after the "compilation" of any scripts. This doesn't override <a href="/ref/current/maven-core/default-bindings.html#Bindings_for_maven-plugin_packaging">the default binding coded at generate-resources phase</a> in Maven core. runtime false true false false false true process-classes org.apache.maven.plugin.plugin.DescriptorGeneratorMojo java per-lookup once-per-session 2.0 true dependencies java.util.Set 3.0 true false The set of dependencies for the current project encoding java.lang.String 2.5 false true The file encoding of the source files. extractors java.util.Set false true The role names of mojo extractors to use. <p/> If not set, all mojo extractors will be used. If set to an empty extractor name, no mojo extractors will be used. <p/> Example: <p/> <pre> &lt;!-- Use all mojo extractors --&gt; &lt;extractors/&gt; &lt;!-- Use no mojo extractors --&gt; &lt;extractors&gt; &lt;extractor/&gt; &lt;/extractors&gt; &lt;!-- Use only bsh mojo extractor --&gt; &lt;extractors&gt; &lt;extractor&gt;bsh&lt;/extractor&gt; &lt;/extractors&gt; </pre> goalPrefix java.lang.String false true The goal prefix that will appear before the ":". local org.apache.maven.artifact.repository.ArtifactRepository 3.0 true false Location of the local repository. outputDirectory java.io.File false true The directory where the generated <code>plugin.xml</code> file will be put. remoteRepos java.util.List 3.0 true false List of Remote Repositories used by the resolver skip boolean 2.8 false true Set this to "true" to skip invoking any goals or reports of the plugin. skipDescriptor boolean 2.6 false true A flag to disable generation of the <code>plugin.xml</code> in favor of a hand authored plugin descriptor. skipErrorNoDescriptorsFound boolean 3.0 false true By default an exception is throw if no mojo descriptor is found. As the maven-plugin is defined in core, the descriptor generator mojo is bound to generate-resources phase. But for annotations, the compiled classes are needed, so skip error project org.apache.maven.project.MavenProject true false ${encoding} ${maven.plugin.skip} ${maven.plugin.skipErrorNoDescriptorsFound} org.apache.maven.tools.plugin.scanner.MojoScanner mojoScanner org.apache.maven.plugin-tools maven-plugin-tools-annotations jar 3.2 org.apache.maven.plugin-tools maven-plugin-annotations jar 3.2 org.codehaus.plexus plexus-component-annotations jar 1.5.5 org.codehaus.plexus plexus-container-default jar 1.0-alpha-9-stable-1 classworlds classworlds jar 1.1-alpha-2 asm asm jar 3.3.1 asm asm-commons jar 3.3.1 asm asm-tree jar 3.3.1 org.codehaus.plexus plexus-archiver jar 2.1.1 org.codehaus.plexus plexus-io jar 2.0.3 com.thoughtworks.qdox qdox jar 1.12.1 org.apache.maven.doxia doxia-sink-api jar 1.2 org.apache.maven.doxia doxia-logging-api jar 1.2 org.apache.maven.doxia doxia-site-renderer jar 1.2 org.apache.maven.doxia doxia-core jar 1.2 xerces xercesImpl jar 2.9.1 org.apache.httpcomponents httpclient jar 4.0.2 org.apache.httpcomponents httpcore jar 4.0.1 commons-codec commons-codec jar 1.3 org.apache.maven.doxia doxia-decoration-model jar 1.2 org.apache.maven.doxia doxia-module-xhtml jar 1.2 org.apache.maven.doxia doxia-module-fml jar 1.2 org.codehaus.plexus plexus-i18n jar 1.0-beta-7 commons-collections commons-collections jar 3.2.1 org.apache.maven maven-plugin-api jar 2.2.1 org.apache.maven maven-model jar 2.2.1 org.apache.maven maven-repository-metadata jar 2.2.1 org.apache.maven maven-project jar 2.2.1 org.apache.maven maven-settings jar 2.2.1 org.apache.maven maven-profile jar 2.2.1 org.codehaus.plexus plexus-interpolation jar 1.11 org.apache.maven maven-plugin-descriptor jar 2.2.1 org.apache.maven maven-plugin-registry jar 2.2.1 org.apache.maven.plugin-tools maven-plugin-tools-api jar 3.2 org.apache.maven.plugin-tools maven-plugin-tools-generators jar 3.2 net.sf.jtidy jtidy jar r938 org.apache.maven maven-artifact-manager jar 2.2.1 org.apache.maven.wagon wagon-provider-api jar 1.0-beta-6 backport-util-concurrent backport-util-concurrent jar 3.1 org.apache.maven maven-artifact jar 2.2.1 org.apache.maven.reporting maven-reporting-impl jar 2.1 commons-validator commons-validator jar 1.2.0 commons-beanutils commons-beanutils jar 1.7.0 commons-digester commons-digester jar 1.6 commons-logging commons-logging jar 1.0.4 oro oro jar 2.0.8 xml-apis xml-apis jar 1.0.b2 org.apache.maven.reporting maven-reporting-api jar 3.0 org.apache.maven.plugin-tools maven-plugin-tools-java jar 3.2 org.apache.maven.plugin-tools maven-plugin-tools-beanshell jar 3.2 bsh bsh jar 1.3.0 org.apache.maven.plugin-tools maven-plugin-tools-model jar 3.2 org.codehaus.plexus plexus-utils jar 3.0 org.codehaus.plexus plexus-velocity jar 1.1.8 org.apache.velocity velocity jar 1.7 commons-lang commons-lang jar 2.4 commons-httpclient commons-httpclient jar 3.0 debian/maven-settings.xml0000644000000000000000000000036211224761350012656 0ustar BASEDIR/debian/tmp/maven-repo/ true debian/components-tools-annotations.xml0000644000000000000000000000316412235750712015576 0ustar org.apache.maven.tools.plugin.annotations.scanner.MojoAnnotationsScanner default org.apache.maven.tools.plugin.annotations.scanner.DefaultMojoAnnotationsScanner false org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor java-annotations org.apache.maven.tools.plugin.annotations.JavaAnnotationsMojoDescriptorExtractor false org.apache.maven.tools.plugin.annotations.scanner.MojoAnnotationsScanner mojoAnnotationsScanner org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver org.apache.maven.artifact.factory.ArtifactFactory artifactFactory org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager debian/patches/0000755000000000000000000000000012247275504010625 5ustar debian/patches/series0000644000000000000000000000015712235750712012041 0ustar 01-maven2-api-compatibility.patch 02-plexus-archiver1-compatibility.patch 03-plexus-utils2-compatibility.patch debian/patches/01-maven2-api-compatibility.patch0000644000000000000000000000255212235750712016672 0ustar Description: ResolutionScope uses constant values from the Artifact class that only exist in Maven 3. This patches replaces them with the equivalent literals to preserve the compatibility with Maven 2. Author: Emmanuel Bourg Forwarded: not-needed --- a/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/ResolutionScope.java +++ b/maven-plugin-annotations/src/main/java/org/apache/maven/plugins/annotations/ResolutionScope.java @@ -43,7 +43,7 @@ * compile+runtime resolution scope (Maven 3 only) * = compile + system + provided + runtime dependencies */ - COMPILE_PLUS_RUNTIME( Artifact.SCOPE_COMPILE_PLUS_RUNTIME ), + COMPILE_PLUS_RUNTIME( "compile+runtime" ), /** * runtime resolution scope * = compile + runtime dependencies @@ -53,7 +53,7 @@ * runtime+system resolution scope (Maven 3 only) * = compile + system + runtime dependencies */ - RUNTIME_PLUS_SYSTEM( Artifact.SCOPE_RUNTIME_PLUS_SYSTEM ), + RUNTIME_PLUS_SYSTEM( "runtime+system" ), /** * test resolution scope * = compile + system + provided + runtime + test debian/patches/03-plexus-utils2-compatibility.patch0000644000000000000000000000160012235750712017466 0ustar Description: FileUtils.fileWrite(File, String, String) was introduced in plexus-utils 2.0.6 but this version isn't available in Debian yet. So we fall back to FileUtils.fileWrite(String, String, String) Author: Emmanuel Bourg Forwarded: not-needed --- a/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java +++ b/maven-plugin-tools-generators/src/main/java/org/apache/maven/tools/plugin/generator/PluginHelpGenerator.java @@ -149,7 +149,7 @@ String helpClassSources = getHelpClassSources( getPluginHelpPath( request.getProject() ), pluginDescriptor ); - FileUtils.fileWrite( helpClass, request.getEncoding(), helpClassSources ); + FileUtils.fileWrite( helpClass.getAbsolutePath(), request.getEncoding(), helpClassSources ); } catch ( IOException e ) { debian/patches/02-plexus-archiver1-compatibility.patch0000644000000000000000000000167712235750712020145 0ustar Description: ArchiverException became and unchecked exception in the version 2.0 of plexus-archiver. For now Debian has an earlier version of plexus-archiver and the exception has to be catched explicitely. Author: Emmanuel Bourg Forwarded: not-needed --- a/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/annotations/JavaAnnotationsMojoDescriptorExtractor.java +++ b/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/annotations/JavaAnnotationsMojoDescriptorExtractor.java @@ -233,6 +233,10 @@ return discoverClasses( request.getEncoding(), Arrays.asList( extractDirectory ) ); } + catch ( org.codehaus.plexus.archiver.ArchiverException e ) + { + throw new ExtractionException( e.getMessage(), e ); + } catch ( ArtifactResolutionException e ) { throw new ExtractionException( e.getMessage(), e ); debian/orig-tar.sh0000755000000000000000000000055612230251550011252 0ustar #!/bin/sh -e TAR=../maven-plugin-tools_$2.orig.tar.xz DIR=maven-plugin-tools-$2 TAG=maven-plugin-tools-$2 svn export http://svn.apache.org/repos/asf/maven/plugin-tools/tags/$TAG $DIR tar -c -J -f $TAR $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 debian/components-tools-ant.xml0000644000000000000000000000065512235750712014025 0ustar org.apache.maven.tools.plugin.extractor.MojoDescriptorExtractor ant org.apache.maven.tools.plugin.extractor.ant.AntMojoDescriptorExtractor false debian/source/0000755000000000000000000000000012247275504010476 5ustar debian/source/format0000644000000000000000000000001411622042701011667 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212214110534010355 0ustar 9 debian/copyright0000644000000000000000000000250111224761350011120 0ustar This package was debianized by Torsten Werner . The Debian packaging is Copyright (c) 2008 Torsten Werner and is licensed under the GNU General Public License version 3. On Debian systems, the complete text of the GNU General Public License can be found in '/usr/share/common-licenses/GPL-3'. The package was downloaded from . Upstream Authors: dev@maven.apache.org Copyright: 2008 The Apache Software Foundation. License: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. The full text of the license can be found in `/usr/share/common-licenes/Apache-2.0'. debian/build.properties0000644000000000000000000000401012235750712012402 0ustar javadoc.dir=target/api build.directory=target maven.test.skip=true classpath.compile = \ ${basedir}/maven-plugin-annotations/target/classes:\ ${basedir}/maven-plugin-tools-api/target/classes:\ ${basedir}/maven-plugin-tools-annotations/target/classes:\ ${basedir}/maven-plugin-tools-generators/target/classes:\ ${basedir}/maven-plugin-tools-model/target/classes:\ ${basedir}/maven-plugin-tools-java/target/classes:\ /usr/share/java/asm3.jar:\ /usr/share/java/asm3-commons.jar:\ /usr/share/java/maven-artifact.jar:\ /usr/share/java/maven-artifact-manager.jar:\ /usr/share/java/maven-core.jar:\ /usr/share/java/maven-model.jar:\ /usr/share/java/maven-plugin-api.jar:\ /usr/share/java/maven-plugin-descriptor.jar:\ /usr/share/java/maven-plugin-registry.jar:\ /usr/share/java/maven-project.jar:\ /usr/share/java/maven-reporting-api.jar:\ /usr/share/java/maven-reporting-impl.jar:\ /usr/share/java/maven-repository-metadata.jar:\ /usr/share/java/ant.jar:\ /usr/share/java/jtidy.jar:\ /usr/share/java/doxia-core.jar:\ /usr/share/java/doxia-logging-api.jar:\ /usr/share/java/doxia-sink-api.jar:\ /usr/share/java/doxia-site-renderer.jar:\ /usr/share/java/xbean-reflect.jar:\ /usr/share/java/qdox.jar:\ /usr/share/java/bsh.jar:\ /usr/share/java/plexus-ant-factory.jar:\ /usr/share/java/plexus-archiver.jar:\ /usr/share/java/plexus-bsh-factory.jar:\ /usr/share/java/plexus-component-annotations-1.5.jar:\ /usr/share/java/plexus-utils.jar:\ /usr/share/java/plexus-classworlds.jar:\ /usr/share/java/plexus-container-default-alpha.jar:\ /usr/share/java/plexus-velocity.jar:\ /usr/share/java/velocity.jar build.javaVersion=1.5 debian/control0000644000000000000000000000475712247275370010617 0ustar Source: maven-plugin-tools Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Torsten Werner , Ludovic Claude Build-Depends: cdbs, debhelper (>= 9), default-jdk, libjaxp1.3-java Build-Depends-Indep: ant, ant-optional, bsh, junit, libasm3-java, libclassworlds-java, libdoxia-sitetools-java, libguava-java, libjtidy-java, libmaven-reporting-impl-java, libmaven2-core-java (>= 2.2.1-12), libmodello-java, libplexus-ant-factory-java, libplexus-bsh-factory-java, libplexus-containers1.5-java, libplexus-container-default-java, libplexus-velocity-java, libqdox-java, libxbean-java, maven-ant-helper (>= 7.8), maven-repo-helper, velocity Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/maven-plugin-tools Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/maven-plugin-tools/ Homepage: http://maven.apache.org/plugin-tools/ Package: libmaven-plugin-tools-java Architecture: all Depends: bsh, libdoxia-sitetools-java, libjtidy-java, libmaven-reporting-impl-java, libmaven2-core-java, libplexus-container-default-java, libqdox-java, libxbean-java, libasm3-java, ${misc:Depends} Description: Maven Plugin Tools Base POM Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. . Maven's primary goal is to allow a developer to comprehend the complete state of a development effort in the shortest period of time. In order to attain this goal there are several areas of concern that Maven attempts to deal with: . * Making the build process easy * Providing a uniform build system * Providing quality project information * Providing guidelines for best practices development * Allowing transparent migration to new features . This package ships some basic POM tools.