You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ftpserver-commits@incubator.apache.org by ng...@apache.org on 2007/02/20 22:33:03 UTC
svn commit: r509779 - /incubator/ftpserver/trunk/distribution/pom.xml
Author: ngn
Date: Tue Feb 20 14:33:02 2007
New Revision: 509779
URL: http://svn.apache.org/viewvc?view=rev&rev=509779
Log:
Using release assembly plugin
Modified:
incubator/ftpserver/trunk/distribution/pom.xml
Modified: incubator/ftpserver/trunk/distribution/pom.xml
URL: http://svn.apache.org/viewvc/incubator/ftpserver/trunk/distribution/pom.xml?view=diff&rev=509779&r1=509778&r2=509779
==============================================================================
--- incubator/ftpserver/trunk/distribution/pom.xml (original)
+++ incubator/ftpserver/trunk/distribution/pom.xml Tue Feb 20 14:33:02 2007
@@ -42,6 +42,7 @@
<executions>
<execution>
+ <id>download-site</id>
<phase>process-resources</phase>
<goals>
<goal>run</goal>
@@ -50,8 +51,8 @@
<tasks>
<echo>Downloading Manual</echo>
<mkdir dir="${project.build.directory}/site"/>
- <get src="http://incubator.apache.org/ftpserver/ftpserver.zip" dest="${project.build.directory}/${pom.artifactId}-manual.zip"/>
- <unzip src="${project.build.directory}/${pom.artifactId}-manual.zip" dest="${project.build.directory}/site"/>
+ <get src="http://incubator.apache.org/ftpserver/ftpserver.zip" dest="${project.build.directory}/${pom.artifactId}-site.zip"/>
+ <unzip src="${project.build.directory}/${pom.artifactId}-site.zip" dest="${project.build.directory}/site"/>
</tasks>
</configuration>
</execution>
@@ -117,38 +118,6 @@
</execution>
</executions>
</plugin>
-
- <!--<plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>process-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <echo>Copying sources for source jar</echo>
- <mkdir dir="${basedir}/target/sources"></mkdir>
- <copy todir="${basedir}/target/sources">
- <fileset dir="${basedir}/../core/src/java"></fileset>
- <fileset dir="${basedir}/../ftplet-api/src/java"></fileset>
- <fileset dir="${basedir}/../admin-gui/src/java"></fileset>
- </copy>
-
- <echo>Creating JavaDoc</echo>
- <javadoc defaultexcludes="yes" useexternalfile="yes" destdir="${project.build.directory}/api" use="true" packagenames="org.apache.ftpserver.*" windowtitle="Apache FTP Server ${project.version} API" author="true" version="true">
- <fileset defaultexcludes="yes" dir="./target/sources/">
- <include name="**/*.java"></include>
- </fileset>
- <classpath refid="maven.compile.classpath"/>
- <doctitle><h1>Apache FTP Server</h1></doctitle>
- </javadoc>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
@@ -162,40 +131,40 @@
</execution>
</executions>
</plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.2-SNAPSHOT</version>
- <executions>
- <execution>
- <id>bin</id>
- <phase>package</phase>
- <goals>
- <goal>attached</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>src/main/assemblies/bin.xml</descriptor>
- </descriptors>
- <appendAssemblyId>false</appendAssemblyId>
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- </execution>
- <execution>
- <id>src</id>
- <phase>package</phase>
- <goals>
- <goal>attached</goal>
- </goals>
- <configuration>
- <descriptors>
- <descriptor>src/main/assemblies/src.xml</descriptor>
- </descriptors>
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- </execution>
- </executions>
- </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.1</version>
+ <executions>
+ <execution>
+ <id>bin</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assemblies/bin.xml</descriptor>
+ </descriptors>
+ <appendAssemblyId>false</appendAssemblyId>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </execution>
+ <execution>
+ <id>src</id>
+ <phase>package</phase>
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assemblies/src.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>