[pkg-java] r7657 - in trunk/maven-debian-helper: . debian maven-debian-helper maven-debian-helper/src maven-debian-helper/src/main/java/org/debian/maven maven-debian-helper/src/main/resources/org/apache/maven/project maven-debian-plugin maven-debian-plugin/src maven-debian-plugin/src/main maven-debian-plugin/src/main/java maven-debian-plugin/src/main/java/org maven-debian-plugin/src/main/java/org/debian maven-debian-plugin/src/main/java/org/debian/maven maven-debian-plugin/src/main/java/org/debian/maven/plugin maven-repo maven-repo/org maven-repo/org/codehaus maven-repo/org/codehaus/plexus maven-repo/org/codehaus/plexus/plexus maven-repo/org/codehaus/plexus/plexus/1.0.13 maven-repo/org/codehaus/plexus/plexus-tools maven-repo/org/codehaus/plexus/plexus-tools/1.0.11
twerner at alioth.debian.org
twerner at alioth.debian.org
Sun Dec 14 16:39:05 UTC 2008
Author: twerner
Date: 2008-12-14 16:39:05 +0000 (Sun, 14 Dec 2008)
New Revision: 7657
Added:
trunk/maven-debian-helper/maven-debian-helper/
trunk/maven-debian-helper/maven-debian-helper/pom.xml
trunk/maven-debian-helper/maven-debian-helper/src/
trunk/maven-debian-helper/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java
trunk/maven-debian-helper/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml
trunk/maven-debian-helper/maven-debian-plugin/
trunk/maven-debian-helper/maven-debian-plugin/pom.xml
trunk/maven-debian-helper/maven-debian-plugin/src/
trunk/maven-debian-helper/maven-debian-plugin/src/main/
trunk/maven-debian-helper/maven-debian-plugin/src/main/java/
trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/
trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/
trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/
trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/
trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/InstallMojo.java
trunk/maven-debian-helper/maven-repo/
trunk/maven-debian-helper/maven-repo/org/
trunk/maven-debian-helper/maven-repo/org/codehaus/
trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/
trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/plexus-tools/
trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/plexus-tools/1.0.11/
trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/plexus-tools/1.0.11/plexus-tools-1.0.11.pom
trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/plexus/
trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/plexus/1.0.13/
trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/plexus/1.0.13/plexus-1.0.13.pom
Removed:
trunk/maven-debian-helper/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java
trunk/maven-debian-helper/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml
trunk/maven-debian-helper/src/
Modified:
trunk/maven-debian-helper/debian/copyright
trunk/maven-debian-helper/debian/install
trunk/maven-debian-helper/debian/rules
trunk/maven-debian-helper/pom.xml
Log:
* add the maven-debian-plugin
* add some parent POMs
Modified: trunk/maven-debian-helper/debian/copyright
===================================================================
--- trunk/maven-debian-helper/debian/copyright 2008-12-14 11:08:56 UTC (rev 7656)
+++ trunk/maven-debian-helper/debian/copyright 2008-12-14 16:39:05 UTC (rev 7657)
@@ -27,3 +27,11 @@
License: Apache-2.0 (see above)
+----------
+
+Files: maven-repo/org/codehaus/*
+
+Copyright: 2001-2008 Codehaus Foundation.
+
+License: Apache-2.0 (see above)
+
Modified: trunk/maven-debian-helper/debian/install
===================================================================
--- trunk/maven-debian-helper/debian/install 2008-12-14 11:08:56 UTC (rev 7656)
+++ trunk/maven-debian-helper/debian/install 2008-12-14 16:39:05 UTC (rev 7657)
@@ -1,2 +1,3 @@
-cdbs/* /usr/share/cdbs/1/class/
-etc/* /etc/maven2/
+cdbs/* /usr/share/cdbs/1/class/
+etc/* /etc/maven2/
+maven-repo /usr/share/
Modified: trunk/maven-debian-helper/debian/rules
===================================================================
--- trunk/maven-debian-helper/debian/rules 2008-12-14 11:08:56 UTC (rev 7656)
+++ trunk/maven-debian-helper/debian/rules 2008-12-14 16:39:05 UTC (rev 7657)
@@ -3,13 +3,19 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/maven.mk
-PACKAGE := $(DEB_SOURCE_PACKAGE)
VERSION := $(DEB_UPSTREAM_VERSION)
JAVA_HOME := /usr/lib/jvm/java-6-openjdk
-DEST := $(DEB_MAVEN_REPO)/org/debian/maven/$(PACKAGE)/$(VERSION)
+DEST := $(DEB_MAVEN_REPO)/org/debian/maven/
-binary-post-install/$(PACKAGE)::
- dh_install target/*.jar $(DEST)/
- install -m644 pom.xml $(DEB_DESTDIR)$(DEST)/$(PACKAGE)-$(VERSION).pom
- dh_link $(DEST)/$(PACKAGE)-$(VERSION).jar /usr/share/maven2/debian/$(PACKAGE).jar
+binary-post-install/$(DEB_SOURCE_PACKAGE)::
+ # maven-debian
+ dh_installdirs $(DEST)/maven-debian/$(VERSION)
+ install -m644 pom.xml $(DEB_DESTDIR)$(DEST)/maven-debian/$(VERSION)/maven-debian-$(VERSION).pom
+ # maven-debian-helper
+ dh_install maven-debian-helper/target/*.jar $(DEST)/maven-debian-helper/$(VERSION)
+ install -m644 pom.xml $(DEB_DESTDIR)$(DEST)/maven-debian-helper/$(VERSION)/maven-debian-helper-$(VERSION).pom
+ dh_link $(DEST)/maven-debian-helper/$(VERSION)/maven-debian-helper-$(VERSION).jar /usr/share/maven2/debian/maven-debian-helper.jar
+ # maven-debian-helper
+ dh_install maven-debian-plugin/target/*.jar $(DEST)/maven-debian-plugin/$(VERSION)
+ install -m644 pom.xml $(DEB_DESTDIR)$(DEST)/maven-debian-plugin/$(VERSION)/maven-debian-plugin-$(VERSION).pom
Copied: trunk/maven-debian-helper/maven-debian-helper/pom.xml (from rev 7652, trunk/maven-debian-helper/pom.xml)
===================================================================
--- trunk/maven-debian-helper/maven-debian-helper/pom.xml (rev 0)
+++ trunk/maven-debian-helper/maven-debian-helper/pom.xml 2008-12-14 16:39:05 UTC (rev 7657)
@@ -0,0 +1,24 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.debian.maven</groupId>
+ <artifactId>maven-debian</artifactId>
+ <version>0.1</version>
+ </parent>
+
+ <artifactId>maven-debian-helper</artifactId>
+ <packaging>jar</packaging>
+ <name>wrapper for maven's main function</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>classworlds</groupId>
+ <artifactId>classworlds</artifactId>
+ <version>1.1</version>
+ <scope>system</scope>
+ <systemPath>/usr/share/java/classworlds.jar</systemPath>
+ </dependency>
+ </dependencies>
+</project>
Property changes on: trunk/maven-debian-helper/maven-debian-helper/pom.xml
___________________________________________________________________
Name: svn:mergeinfo
+
Copied: trunk/maven-debian-helper/maven-debian-helper/src (from rev 7647, trunk/maven-debian-helper/src)
Property changes on: trunk/maven-debian-helper/maven-debian-helper/src
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted: trunk/maven-debian-helper/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java
===================================================================
--- trunk/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java 2008-12-11 21:59:20 UTC (rev 7647)
+++ trunk/maven-debian-helper/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java 2008-12-14 16:39:05 UTC (rev 7657)
@@ -1,39 +0,0 @@
-package org.debian.maven;
-
-import java.io.FileInputStream;
-import java.io.IOException;
-import java.util.Properties;
-import org.apache.maven.cli.MavenCli;
-import org.codehaus.classworlds.ClassWorld;
-
-public class Wrapper
-{
- /* Opens the filename specified by property 'key' and adds its content to
- * the properties.
- */
- public static void loadProperties(Properties properties, String key) throws IOException
- {
- String filename = properties.getProperty(key);
- if (filename != null)
- {
- properties.load(new FileInputStream(filename));
- }
- }
-
- /* Add more properties to the system properties. The files specified
- * by 'properties.file.auto' and 'properties.file.manual' are read.
- */
- public static void updateSystemProperties() throws IOException
- {
- Properties systemproperties = System.getProperties();
- loadProperties(systemproperties, "properties.file.auto");
- loadProperties(systemproperties, "properties.file.manual");
- System.setProperties(systemproperties);
- }
-
- public static void main(String[] args, ClassWorld classWorld) throws IOException
- {
- updateSystemProperties();
- MavenCli.main(args, classWorld);
- }
-}
Copied: trunk/maven-debian-helper/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java (from rev 7652, trunk/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java)
===================================================================
--- trunk/maven-debian-helper/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java (rev 0)
+++ trunk/maven-debian-helper/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java 2008-12-14 16:39:05 UTC (rev 7657)
@@ -0,0 +1,66 @@
+package org.debian.maven;
+
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.util.Enumeration;
+import java.util.Properties;
+import org.apache.maven.cli.MavenCli;
+import org.codehaus.classworlds.ClassWorld;
+
+/* This is a wrapper for Maven's main function that implements reading 2
+ * property files: debian/auto.properties and debian/manual.properties.
+ */
+
+public class Wrapper
+{
+ /* Opens the filename specified by property 'key' and returns its content as
+ * a String array of items -Dkey=value.
+ */
+ public static String[] getProperties(String key) throws IOException
+ {
+ Properties systemproperties = System.getProperties();
+ String filename = systemproperties.getProperty(key);
+ if (filename != null)
+ {
+ Properties extraProperties = new Properties();
+ extraProperties.load(new FileInputStream(filename));
+ String[] extraArgs = new String[extraProperties.size()];
+ int i = 0;
+ for(Enumeration e = extraProperties.propertyNames(); e.hasMoreElements(); )
+ {
+ String k = (String) e.nextElement();
+ String v = (String) extraProperties.get(k);
+ extraArgs[i] = "-D" + k + "=" + v;
+ i++;
+ }
+ return extraArgs;
+ }
+ return new String[0];
+ }
+
+ /* Add more properties to the commandline. The files specified
+ * by '-Dproperties.file.auto=' and '-Dproperties.file.manual=' are read.
+ */
+ public static String[] updateCommandLine(String[] args) throws IOException
+ {
+ String[] autoArgs = getProperties("properties.file.auto");
+ String[] manualArgs = getProperties("properties.file.manual");
+
+ int argsSize = args.length;
+ int autoSize = autoArgs.length;
+ int manualSize = manualArgs.length;
+
+ String[] newArgs = new String[argsSize + autoSize + manualSize];
+
+ System.arraycopy(autoArgs, 0, newArgs, 0, autoSize);
+ System.arraycopy(manualArgs, 0, newArgs, autoSize, manualSize);
+ System.arraycopy(args, 0, newArgs, autoSize + manualSize, argsSize);
+
+ return newArgs;
+ }
+
+ public static void main(String[] args, ClassWorld classWorld) throws IOException
+ {
+ MavenCli.main(updateCommandLine(args), classWorld);
+ }
+}
Deleted: trunk/maven-debian-helper/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml
===================================================================
--- trunk/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml 2008-12-11 21:59:20 UTC (rev 7647)
+++ trunk/maven-debian-helper/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml 2008-12-14 16:39:05 UTC (rev 7657)
@@ -1,214 +0,0 @@
-<!--
-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.
--->
-
-<!-- START SNIPPET: superpom -->
-<project>
- <modelVersion>4.0.0</modelVersion>
- <name>Maven Default Project</name>
-
- <repositories>
- <repository>
- <id>central</id>
- <name>Maven Repository Switchboard</name>
- <layout>default</layout>
- <url>http://repo1.maven.org/maven2</url>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- </repository>
- </repositories>
-
- <pluginRepositories>
- <pluginRepository>
- <id>central</id>
- <name>Maven Plugin Repository</name>
- <url>http://repo1.maven.org/maven2</url>
- <layout>default</layout>
- <snapshots>
- <enabled>false</enabled>
- </snapshots>
- <releases>
- <updatePolicy>never</updatePolicy>
- </releases>
- </pluginRepository>
- </pluginRepositories>
-
- <properties>
- <org.apache.maven.plugins.maven-resources-plugin.version>
- 2.3
- </org.apache.maven.plugins.maven-resources-plugin.version>
- </properties>
-
- <build>
- <directory>target</directory>
- <outputDirectory>target/classes</outputDirectory>
- <finalName>${project.artifactId}-${project.version}</finalName>
- <testOutputDirectory>target/test-classes</testOutputDirectory>
- <sourceDirectory>src/main/java</sourceDirectory>
- <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
- <testSourceDirectory>src/test/java</testSourceDirectory>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- </resources>
- <testResources>
- <testResource>
- <directory>src/test/resources</directory>
- </testResource>
- </testResources>
- <pluginManagement>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.1</version>
- </plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-beta-2</version>
- </plugin>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- </plugin>
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.0</version>
- </plugin>
- <plugin>
- <artifactId>maven-deploy-plugin</artifactId>
- <version>2.3</version>
- </plugin>
- <plugin>
- <artifactId>maven-ear-plugin</artifactId>
- <version>2.3.1</version>
- </plugin>
- <plugin>
- <artifactId>maven-ejb-plugin</artifactId>
- <version>2.1</version>
- </plugin>
- <plugin>
- <artifactId>maven-install-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <artifactId>maven-jar-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>2.4</version>
- </plugin>
- <plugin>
- <artifactId>maven-plugin-plugin</artifactId>
- <version>2.4.1</version>
- </plugin>
- <plugin>
- <artifactId>maven-rar-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <artifactId>maven-release-plugin</artifactId>
- <version>2.0-beta-7</version>
- </plugin>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <version>${org.apache.maven.plugins.maven-resources-plugin.version}</version>
- </plugin>
- <plugin>
- <artifactId>maven-site-plugin</artifactId>
- <version>2.0-beta-6</version>
- </plugin>
- <plugin>
- <artifactId>maven-source-plugin</artifactId>
- <version>2.0.4</version>
- </plugin>
- <plugin>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.4.2</version>
- </plugin>
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.1-alpha-1</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <reporting>
- <outputDirectory>target/site</outputDirectory>
- </reporting>
- <profiles>
- <profile>
- <id>release-profile</id>
-
- <activation>
- <property>
- <name>performRelease</name>
- <value>true</value>
- </property>
- </activation>
-
- <build>
- <plugins>
- <plugin>
- <inherited>true</inherited>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-sources</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <inherited>true</inherited>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <executions>
- <execution>
- <id>attach-javadocs</id>
- <goals>
- <goal>jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <inherited>true</inherited>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-deploy-plugin</artifactId>
- <configuration>
- <updateReleaseInfo>true</updateReleaseInfo>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-</project>
- <!-- END SNIPPET: superpom -->
Copied: trunk/maven-debian-helper/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml (from rev 7652, trunk/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml)
===================================================================
--- trunk/maven-debian-helper/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml (rev 0)
+++ trunk/maven-debian-helper/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml 2008-12-14 16:39:05 UTC (rev 7657)
@@ -0,0 +1,227 @@
+<!--
+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.
+-->
+
+<!-- START SNIPPET: superpom -->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <name>Maven Default Project</name>
+
+ <repositories>
+ <repository>
+ <id>central</id>
+ <name>Maven Repository Switchboard</name>
+ <layout>default</layout>
+ <url>http://repo1.maven.org/maven2</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>central</id>
+ <name>Maven Plugin Repository</name>
+ <url>http://repo1.maven.org/maven2</url>
+ <layout>default</layout>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <properties>
+ <!-- TODO: add properties for ALL core plugins -->
+ <org.apache.maven.plugins.maven-clean-plugin.version>
+ 2.2
+ </org.apache.maven.plugins.maven-clean-plugin.version>
+ <org.apache.maven.plugins.maven-compiler-plugin.version>
+ 2.0.2
+ </org.apache.maven.plugins.maven-compiler-plugin.version>
+ <org.apache.maven.plugins.maven-jar-plugin.version>
+ 2.2
+ </org.apache.maven.plugins.maven-jar-plugin.version>
+ <org.apache.maven.plugins.maven-plugin-plugin.version>
+ 2.4.1
+ </org.apache.maven.plugins.maven-plugin-plugin.version>
+ <org.apache.maven.plugins.maven-resources-plugin.version>
+ 2.2
+ </org.apache.maven.plugins.maven-resources-plugin.version>
+ </properties>
+
+ <build>
+ <directory>target</directory>
+ <outputDirectory>target/classes</outputDirectory>
+ <finalName>${project.artifactId}-${project.version}</finalName>
+ <testOutputDirectory>target/test-classes</testOutputDirectory>
+ <sourceDirectory>src/main/java</sourceDirectory>
+ <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
+ <testSourceDirectory>src/test/java</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test/resources</directory>
+ </testResource>
+ </testResources>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>${org.apache.maven.plugins.maven-clean-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>${org.apache.maven.plugins.maven-compiler-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>2.3</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-ear-plugin</artifactId>
+ <version>2.3.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>${org.apache.maven.plugins.maven-jar-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <version>${org.apache.maven.plugins.maven-plugin-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-rar-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-7</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>${org.apache.maven.plugins.maven-resources-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.0-beta-6</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.0.4</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.1-alpha-1</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <reporting>
+ <outputDirectory>target/site</outputDirectory>
+ </reporting>
+ <profiles>
+ <profile>
+ <id>release-profile</id>
+
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+
+ <build>
+ <plugins>
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <updateReleaseInfo>true</updateReleaseInfo>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+</project>
+ <!-- END SNIPPET: superpom -->
Added: trunk/maven-debian-helper/maven-debian-plugin/pom.xml
===================================================================
--- trunk/maven-debian-helper/maven-debian-plugin/pom.xml (rev 0)
+++ trunk/maven-debian-helper/maven-debian-plugin/pom.xml 2008-12-14 16:39:05 UTC (rev 7657)
@@ -0,0 +1,14 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <artifactId>maven-debian</artifactId>
+ <groupId>org.debian.maven</groupId>
+ <version>0.1</version>
+ </parent>
+
+ <artifactId>maven-debian-plugin</artifactId>
+ <packaging>maven-plugin</packaging>
+ <name>Maven Debian Plugin</name>
+</project>
Added: trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/InstallMojo.java
===================================================================
--- trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/InstallMojo.java (rev 0)
+++ trunk/maven-debian-helper/maven-debian-plugin/src/main/java/org/debian/maven/plugin/InstallMojo.java 2008-12-14 16:39:05 UTC (rev 7657)
@@ -0,0 +1,206 @@
+package org.debian.maven.plugin;
+
+import java.io.File;
+import java.io.IOException;
+import org.apache.maven.bootstrap.util.FileUtils;
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+
+/**
+ * Install pom and jar files into the debian/ directory
+ *
+ * @goal install
+ */
+public class InstallMojo
+ extends AbstractMojo
+{
+ // ----------------------------------------------------------------------
+ // Mojo parameters
+ // ----------------------------------------------------------------------
+
+ /**
+ * groupId
+ *
+ * @parameter expression="${project.groupId}"
+ * @required
+ * @readonly
+ */
+ private String groupId;
+
+ /**
+ * artifactId
+ *
+ * @parameter expression="${project.artifactId}"
+ * @required
+ * @readonly
+ */
+ private String artifactId;
+
+ /**
+ * version
+ *
+ * @parameter expression="${project.version}"
+ * @required
+ * @readonly
+ */
+ private String version;
+
+ /**
+ * directory where the current pom.xml can be found
+ *
+ * @parameter expression="${project.build.directory}/.."
+ * @required
+ * @readonly
+ */
+ private String pomDir;
+
+ /**
+ * directory of the jar file
+ *
+ * @parameter expression="${project.build.directory}"
+ * @required
+ * @readonly
+ */
+ private String jarDir;
+
+ /**
+ * $(CURDIR)/debian - must be supplied because $(CURDIR) is not known
+ *
+ * @parameter expression="${debian.dir}"
+ * @required
+ */
+ private String debianDir;
+
+ /**
+ * name of the debian binary package, e.g. libfoobar-java
+ *
+ * @parameter expression="${debian.package}"
+ * @required
+ */
+ private String debianPackage;
+
+ // ----------------------------------------------------------------------
+ // Public methods
+ // ----------------------------------------------------------------------
+
+ public void execute() throws MojoExecutionException
+ {
+ try
+ {
+ copyPom();
+ copyAndSymlinkJar();
+ }
+ catch(IOException e)
+ {
+ getLog().error("installation failed", e);
+ throw new MojoExecutionException("IOException catched");
+ }
+ }
+
+ // ----------------------------------------------------------------------
+ // Private methods
+ // ----------------------------------------------------------------------
+
+ /* returns e.g. $CURDIR/debian/libfoobar-java
+ */
+
+ private String packagePath()
+ {
+ return debianDir + "/" + debianPackage;
+ }
+
+ /* returns e.g. /org/debian/maven/maven-debian-plugin/0.1/
+ */
+
+ private String repoPath()
+ {
+ return "/" + groupId.replace( '.', '/' ) + "/" + artifactId + "/" + version + "/";
+ }
+
+ /* absolute path to destination dir
+ */
+
+ private String fullRepoPath()
+ {
+ return packagePath() + "/usr/share/maven-repo" + repoPath();
+ }
+
+ private String pomName()
+ {
+ return artifactId + "-" + version + ".pom";
+ }
+
+ private String pomSrcPath()
+ {
+ return pomDir + "/pom.xml";
+ }
+
+ private String pomDestPath()
+ {
+ return fullRepoPath() + pomName();
+ }
+
+ private String jarName()
+ {
+ return artifactId + "-" + version + ".jar";
+ }
+
+ private String fullJarName()
+ {
+ return jarDir + "/" + jarName();
+ }
+
+ private String jarDestPath()
+ {
+ return fullRepoPath() + jarName();
+ }
+
+ /* jar file name without version number
+ */
+
+ private String compatName()
+ {
+ return artifactId + ".jar";
+ }
+
+ private String compatSharePath()
+ {
+ return packagePath() + "/usr/share/java/";
+ }
+
+ private String compatRelPath()
+ {
+ return "../maven-repo" + repoPath() + jarName();
+ }
+
+ /* command for creating the relative symlink
+ */
+
+ private String[] linkCommand()
+ {
+ String[] command = {"ln", "-s", compatRelPath(), compatSharePath() + compatName()};
+ return command;
+ }
+
+ /* copy the pom.xml
+ */
+
+ private void copyPom() throws IOException
+ {
+ FileUtils.copyFile(new File(pomSrcPath()), new File(pomDestPath()));
+ }
+
+ /* if a jar exists: copy it and symlink it to the compat share dir
+ */
+
+ private void copyAndSymlinkJar() throws IOException
+ {
+ File jarFile = new File(fullJarName());
+ if (jarFile.exists())
+ {
+ FileUtils.copyFile(jarFile, new File(jarDestPath()));
+ new File(compatSharePath()).mkdirs();
+ Runtime.getRuntime().exec(linkCommand(), null);
+ }
+ }
+}
Added: trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/plexus/1.0.13/plexus-1.0.13.pom
===================================================================
--- trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/plexus/1.0.13/plexus-1.0.13.pom (rev 0)
+++ trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/plexus/1.0.13/plexus-1.0.13.pom 2008-12-14 16:39:05 UTC (rev 7657)
@@ -0,0 +1,373 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus</artifactId>
+ <packaging>pom</packaging>
+ <name>Plexus</name>
+ <version>1.0.13</version>
+ <!-- ciManagement>
+ <notifiers>
+ <notifier>
+ <type>mail</type>
+ <configuration>
+ <address>dev at plexus.codehaus.org</address>
+ </configuration>
+ </notifier>
+ <notifier>
+ <type>irc</type>
+ <configuration>
+ <host>irc.codehaus.org</host>
+ <port>6667</port>
+ <channel>#plexus</channel>
+ </configuration>
+ </notifier>
+ </notifiers>
+ </ciManagement -->
+ <inceptionYear>2001</inceptionYear>
+ <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>
+ <mailingLists>
+ <mailingList>
+ <name>Plexus User List</name>
+ <subscribe>http://xircles.codehaus.org/manage_email/user%40plexus.codehaus.org</subscribe>
+ <unsubscribe>http://xircles.codehaus.org/manage_email/user%40plexus.codehaus.org</unsubscribe>
+ <archive>http://archive.plexus.codehaus.org/user</archive>
+ </mailingList>
+ <mailingList>
+ <name>Plexus Developer List</name>
+ <subscribe>http://xircles.codehaus.org/manage_email/dev%40plexus.codehaus.org</subscribe>
+ <unsubscribe>http://xircles.codehaus.org/manage_email/dev%40plexus.codehaus.org</unsubscribe>
+ <archive>http://archive.plexus.codehaus.org/dev</archive>
+ </mailingList>
+ <mailingList>
+ <name>Plexus Announce List</name>
+ <subscribe>http://xircles.codehaus.org/manage_email/announce%40plexus.codehaus.org</subscribe>
+ <unsubscribe>http://xircles.codehaus.org/manage_email/announce%40plexus.codehaus.org</unsubscribe>
+ <archive>http://archive.plexus.codehaus.org/announce</archive>
+ </mailingList>
+ <mailingList>
+ <name>Plexus Commit List</name>
+ <subscribe>http://xircles.codehaus.org/manage_email/scm%40plexus.codehaus.org</subscribe>
+ <unsubscribe>http://xircles.codehaus.org/manage_email/scm%40plexus.codehaus.org</unsubscribe>
+ <archive>http://archive.plexus.codehaus.org/scm</archive>
+ </mailingList>
+ </mailingLists>
+ <issueManagement>
+ <system>JIRA</system>
+ <url>http://jira.codehaus.org/browse/PLX</url>
+ </issueManagement>
+
+ <distributionManagement>
+ <repository>
+ <id>codehaus.org</id>
+ <name>Plexus Central Repository</name>
+ <url>dav:https://dav.codehaus.org/repository/plexus</url>
+ </repository>
+ <snapshotRepository>
+ <id>codehaus.org</id>
+ <name>Plexus Central Development Repository</name>
+ <url>dav:https://dav.codehaus.org/snapshots.repository/plexus</url>
+ </snapshotRepository>
+ <site>
+ <id>codehaus.org</id>
+ <url>dav:https://dav.codehaus.org/plexus</url>
+ </site>
+ </distributionManagement>
+ <repositories>
+ <repository>
+ <id>codehaus.snapshots</id>
+ <name>Codehaus Snapshot Development Repository</name>
+ <url>http://snapshots.repository.codehaus.org</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ </repository>
+ <!-- only here for wagon-webdav rc1-snapshot, remove
+ as soon as it is released. It contains bugfixes
+ to deploy. -->
+ <repository>
+ <id>apache.snapshots</id>
+ <name>Maven Snapshot Repository</name>
+ <url>http://people.apache.org/maven-snapshot-repository</url>
+ <snapshots>
+ <enabled>true</enabled>
+ <updatePolicy>daily</updatePolicy>
+ </snapshots>
+ <releases>
+ <enabled>false</enabled>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ </repository>
+ </repositories>
+
+ <developers>
+ <developer>
+ <id>jvanzyl</id>
+ <name>Jason van Zyl</name>
+ <email>jason at maven.org</email>
+ <roles>
+ <role>Developer</role>
+ <role>Release Manager</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>kaz</id>
+ <name>Pete Kazmier</name>
+ <email />
+ <organization />
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>jtaylor</id>
+ <name>James Taylor</name>
+ <email>james at jamestaylor.org</email>
+ <organization />
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>dandiep</id>
+ <name>Dan Diephouse</name>
+ <email>dan at envoisolutions.com</email>
+ <organization>Envoi solutions</organization>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>kasper</id>
+ <name>Kasper Nielsen</name>
+ <email>apache at kav.dk</email>
+ <organization />
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>bwalding</id>
+ <name>Ben Walding</name>
+ <email>bwalding at codehaus.org</email>
+ <organization>Walding Consulting Services</organization>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>mhw</id>
+ <name>Mark Wilkinson</name>
+ <email>mhw at kremvax.net</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>michal</id>
+ <name>Michal Maczka</name>
+ <email>mmaczka at interia.pl</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <id>evenisse</id>
+ <name>Emmanuel Venisse</name>
+ <email>evenisse at codehaus.org</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Trygve Laugstøl</name>
+ <id>trygvis</id>
+ <email>trygvis at codehaus.org</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Kenney Westerhof</name>
+ <id>kenney</id>
+ <email>kenney at codehaus.org</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Carlos Sanchez</name>
+ <id>carlos</id>
+ <email>carlos at codehaus.org</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Brett Porter</name>
+ <id>brett</id>
+ <email>brett at codehaus.org</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>John Casey</name>
+ <id>jdcasey</id>
+ <email>jdcasey at codehaus.org</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Andrew Williams</name>
+ <id>handyande</id>
+ <email>andy at handyande.co.uk</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Rahul Thakur</name>
+ <id>rahul</id>
+ <email>rahul.thakur.xdev at gmail.com</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Joakim Erdfelt</name>
+ <id>joakime</id>
+ <email>joakim at erdfelt.com</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Olivier Lamy</name>
+ <id>olamy</id>
+ <email>olamy at codehaus.org</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ <developer>
+ <name>Hervé Boutemy</name>
+ <id>hboutemy</id>
+ <email>hboutemy at codehaus.org</email>
+ <roles>
+ <role>Developer</role>
+ </roles>
+ </developer>
+ </developers>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <scm>
+ <connection>scm:svn:http://svn.codehaus.org/plexus/pom/tags/plexus-1.0.13</connection>
+ <developerConnection>scm:svn:https://svn.codehaus.org/plexus/pom/tags/plexus-1.0.13</developerConnection>
+ <url>http://fisheye.codehaus.org/browse/plexus/pom/tags/plexus-1.0.13</url>
+ </scm>
+ <organization>
+ <name>Codehaus</name>
+ <url>http://www.codehaus.org/</url>
+ </organization>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.4</source>
+ <target>1.4</target>
+ </configuration>
+ </plugin>
+ <!--
+ <plugin>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <version>1.0-alpha-2</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ <configuration>
+ <resourceBundles>
+ <resourceBundle>org.apache:apache-jar-resource-bundle:1.1.1-SNAPSHOT</resourceBundle>
+ </resourceBundles>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ -->
+ </plugins>
+ <!-- As of 2.0.9, maven includes webdav.
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav</artifactId>
+ <version>1.0-rc1-SNAPSHOT</version>
+ </extension>
+ </extensions>
+ -->
+ <!-- disabled for Debian
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-7</version>
+ <configuration>
+ <goals>deploy</goals>
+ <useReleaseProfile>true</useReleaseProfile>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ -->
+ </build>
+
+ <profiles>
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+</project>
Added: trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/plexus-tools/1.0.11/plexus-tools-1.0.11.pom
===================================================================
--- trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/plexus-tools/1.0.11/plexus-tools-1.0.11.pom (rev 0)
+++ trunk/maven-debian-helper/maven-repo/org/codehaus/plexus/plexus-tools/1.0.11/plexus-tools-1.0.11.pom 2008-12-14 16:39:05 UTC (rev 7657)
@@ -0,0 +1,47 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <parent>
+ <artifactId>plexus</artifactId>
+ <groupId>org.codehaus.plexus</groupId>
+ <version>1.0.13</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>plexus-tools</artifactId>
+ <packaging>pom</packaging>
+ <name>Plexus Tools Parent Project</name>
+ <version>1.0.11</version>
+ <url>http://plexus.codehaus.org/plexus-tools</url>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-container-default</artifactId>
+ <version>1.0-alpha-43</version>
+ </dependency>
+ </dependencies>
+ <modules>
+ <module>plexus-cdc</module>
+ <module>plexus-cdc-anno</module>
+ <module>plexus-cli</module>
+ <module>plexus-javadoc</module>
+ </modules>
+ <scm>
+ <connection>scm:svn:http://svn.codehaus.org/plexus/plexus-tools/tags/plexus-tools-1.0.11</connection>
+ <developerConnection>scm:svn:https://svn.codehaus.org/plexus/plexus-tools/tags/plexus-tools-1.0.11</developerConnection>
+ <url>http://fisheye.codehaus.org/browse/plexus/plexus-tools/tags/plexus-tools-1.0.11</url>
+ </scm>
+ <!-- disabled for Debian
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-7</version>
+ <configuration>
+ <useReleaseProfile>true</useReleaseProfile>
+ <tagBase>https://svn.codehaus.org/plexus/plexus-tools/tags/</tagBase>
+ <arguments>-Prelease</arguments>
+ <goals>deploy</goals>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ -->
+</project>
Modified: trunk/maven-debian-helper/pom.xml
===================================================================
--- trunk/maven-debian-helper/pom.xml 2008-12-14 11:08:56 UTC (rev 7656)
+++ trunk/maven-debian-helper/pom.xml 2008-12-14 16:39:05 UTC (rev 7657)
@@ -1,20 +1,20 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
+
<groupId>org.debian.maven</groupId>
- <artifactId>maven-debian-helper</artifactId>
+ <artifactId>maven-debian</artifactId>
<version>0.1</version>
- <packaging>jar</packaging>
+ <packaging>pom</packaging>
<name>helper tools for using Maven to build Debian packages</name>
+
+ <modules>
+ <module>maven-debian-helper</module>
+ <module>maven-debian-plugin</module>
+ </modules>
+
<dependencies>
<dependency>
- <groupId>classworlds</groupId>
- <artifactId>classworlds</artifactId>
- <version>1.1</version>
- <scope>system</scope>
- <systemPath>/usr/share/java/classworlds.jar</systemPath>
- </dependency>
- <dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-core</artifactId>
<version>2.0.9</version>
More information about the pkg-java-commits
mailing list