[logback-dev] svn commit: r1539 - in logback/trunk: . src/main/assembly

noreply.ceki at qos.ch noreply.ceki at qos.ch
Tue May 29 21:33:03 CEST 2007


Author: ceki
Date: Tue May 29 21:33:03 2007
New Revision: 1539

Modified:
   logback/trunk/pom.xml
   logback/trunk/src/main/assembly/dist.xml

Log:

- Better assembly construction, in particular the zip and tar.gz ouput is part of
  target/site/dist so that they are included in the 'mvn site:deploy -N" command.



Modified: logback/trunk/pom.xml
==============================================================================
--- logback/trunk/pom.xml	(original)
+++ logback/trunk/pom.xml	Tue May 29 21:33:03 2007
@@ -228,16 +228,26 @@
           <downloadSources>true</downloadSources>
         </configuration>
       </plugin>   			
-      <plugin>	
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-clover-plugin</artifactId>
+
+      <plugin>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>2.1</version>
         <configuration>
-          <jdk>1.5</jdk>
-          <excludes>
-            <exclude>**/chapter*/</exclude>
-          </excludes>
+          <descriptors>
+            <descriptor>
+              src/main/assembly/dist.xml
+            </descriptor>
+          </descriptors>
+          <finalName>
+            logback-${project.version}
+          </finalName>
+          <appendAssemblyId>false</appendAssemblyId>
+          <outputDirectory>target/site/dist/</outputDirectory>
         </configuration>
       </plugin>
+
+
+
     </plugins>
   </build>
   
@@ -269,27 +279,6 @@
         </reportSets>
 			</plugin>
 
-      <!-- =================  COBERTURA ================================ -->
-      <!-- run using "mvn cobertura:cobertura -Dmaven.test.skip=true"    -->
-      <!-- ============================================================= -->
-      <!--
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>cobertura-maven-plugin</artifactId>
-      </plugin>
-      -->
-      
-      <!-- ======================= CLOVER ============================== -->
-      <!-- Run with:                                                     -->
-      <!--   mvn  clean clover:instrument clover:aggregate clover:clover --> 
-      <!-- ============================================================= -->
-      <!--
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-clover-plugin</artifactId>
-      </plugin>   
-      -->
-			
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
@@ -325,23 +314,6 @@
         </configuration>
       </plugin>
       
-      <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <version>2.1</version>
-        <configuration>
-          <descriptors>
-            <descriptor>
-              src/main/assembly/dist.xml
-            </descriptor>
-          </descriptors>
-          <finalName>
-            logback-${project.version}
-          </finalName>
-          <appendAssemblyId>false</appendAssemblyId>
-          <outputDirectory>target/dist/</outputDirectory>
-        </configuration>
-      </plugin>
-
     </plugins>
 
   </reporting>

Modified: logback/trunk/src/main/assembly/dist.xml
==============================================================================
--- logback/trunk/src/main/assembly/dist.xml	(original)
+++ logback/trunk/src/main/assembly/dist.xml	Tue May 29 21:33:03 2007
@@ -243,11 +243,14 @@
 		</fileSet>	
 				 
 
-				 
+
 		<!-- Website -->
 		<fileSet>
 			<directory>target/site</directory>
 			<outputDirectory>docs/</outputDirectory>
+      <excludes>
+        <exclude>dist/*</exclude>
+      </excludes>
 		</fileSet>
 		
 		<!-- Parent files -->



More information about the logback-dev mailing list