From: <bma...@us...> - 2011-04-20 14:26:29
|
Revision: 6219 http://fudaa.svn.sourceforge.net/fudaa/?rev=6219&view=rev Author: bmarchan Date: 2011-04-20 14:26:22 +0000 (Wed, 20 Apr 2011) Log Message: ----------- Project : Cr?\195?\169ation d'un jar complet. Modified Paths: -------------- trunk/soft/fudaa-modeleur/pom.xml Added Paths: ----------- trunk/soft/fudaa-modeleur/src/main/assembly/ trunk/soft/fudaa-modeleur/src/main/assembly/assembly.xml Modified: trunk/soft/fudaa-modeleur/pom.xml =================================================================== --- trunk/soft/fudaa-modeleur/pom.xml 2011-04-20 14:16:17 UTC (rev 6218) +++ trunk/soft/fudaa-modeleur/pom.xml 2011-04-20 14:26:22 UTC (rev 6219) @@ -41,5 +41,32 @@ <artifactId>junit</artifactId> <scope>test</scope> </dependency> - </dependencies> + </dependencies> + <build> + <plugins> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.2-beta-2</version> + <executions> + <execution> + <id>create-executable-jar</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + <archive> + <manifest> + <mainClass>org.fudaa.fudaa.modeleur.Mdl</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> Added: trunk/soft/fudaa-modeleur/src/main/assembly/assembly.xml =================================================================== --- trunk/soft/fudaa-modeleur/src/main/assembly/assembly.xml (rev 0) +++ trunk/soft/fudaa-modeleur/src/main/assembly/assembly.xml 2011-04-20 14:26:22 UTC (rev 6219) @@ -0,0 +1,22 @@ +<assembly> + <id>with-dep</id> + <formats> + <format>jar</format> + </formats> + <includeBaseDirectory>false</includeBaseDirectory> + <dependencySets> + <dependencySet> + <!-- unpack les d\xE9pendances avant de les inclures dans le jar final de l'application --> + <unpack>true</unpack> + <scope>runtime</scope> + <useProjectArtifact>false</useProjectArtifact> + </dependencySet> + </dependencySets> + <fileSets> + <fileSet> + <directory>${project.build.outputDirectory}</directory> + <outputDirectory></outputDirectory> + </fileSet> + </fileSets> +</assembly> + Property changes on: trunk/soft/fudaa-modeleur/src/main/assembly/assembly.xml ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |