From: <lor...@us...> - 2011-08-22 07:28:21
|
Revision: 3082 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=3082&view=rev Author: lorenz_b Date: 2011-08-22 07:28:14 +0000 (Mon, 22 Aug 2011) Log Message: ----------- Continued build script. Modified Paths: -------------- trunk/interfaces/pom.xml trunk/interfaces/src/main/assemble/archive.xml Modified: trunk/interfaces/pom.xml =================================================================== --- trunk/interfaces/pom.xml 2011-08-22 07:23:50 UTC (rev 3081) +++ trunk/interfaces/pom.xml 2011-08-22 07:28:14 UTC (rev 3082) @@ -116,6 +116,13 @@ <groupId>org.codehaus.mojo</groupId> <artifactId>appassembler-maven-plugin</artifactId> <version>1.1.1</version> + <executions> + <execution> + <goals> + <goal>assemble</goal> + </goals> + </execution> + </executions> <configuration> <assembleDirectory>${project.build.directory}/dl-learner-dist</assembleDirectory> <repoPath>lib</repoPath> @@ -149,6 +156,41 @@ </programs> </configuration> </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>attached</goal> + </goals> + </execution> + </executions> + <configuration> + <finalName>dl-learner-${maven.build.timestamp}</finalName> + <descriptors> + <descriptor>src/main/assemble/archive.xml</descriptor> + </descriptors> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>buildnumber-maven-plugin</artifactId> + <executions> + <execution> + <phase>initialize</phase> + <goals> + <goal>create</goal> + </goals> + </execution> + </executions> + <configuration> + <items> + <item>timestamp</item> + </items> + <timestampFormat>{0, date, yyyy-MM-dd}</timestampFormat> + </configuration> + </plugin> </plugins> </build> Modified: trunk/interfaces/src/main/assemble/archive.xml =================================================================== --- trunk/interfaces/src/main/assemble/archive.xml 2011-08-22 07:23:50 UTC (rev 3081) +++ trunk/interfaces/src/main/assemble/archive.xml 2011-08-22 07:28:14 UTC (rev 3082) @@ -1,12 +1,17 @@ <assembly> <id>archive</id> <formats> - <format>zip</format> + <format>tar.gz</format> </formats> + <fileSets> <fileSet> - <directory>${project.build.directory}/appassembler</directory> + <directory>${project.build.directory}/dl-learner-dist</directory> <outputDirectory>/</outputDirectory> </fileSet> + <fileSet> + <directory>../examples</directory> + <outputDirectory>examples</outputDirectory> + </fileSet> </fileSets> </assembly> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |