[LOGBack-dev] svn commit: r111 - logback/classic/trunk

noreply.seb at qos.ch noreply.seb at qos.ch
Tue Jul 18 14:31:05 CEST 2006


Author: seb
Date: Tue Jul 18 14:31:04 2006
New Revision: 111

Modified:
   logback/classic/trunk/pom.xml
Log:
added filtering + site plugin modifications to build a dynamic site.

Modified: logback/classic/trunk/pom.xml
==============================================================================
--- logback/classic/trunk/pom.xml	(original)
+++ logback/classic/trunk/pom.xml	Tue Jul 18 14:31:04 2006
@@ -17,7 +17,7 @@
 			Never _never_ let Eclipse's auto format function add
 			a line return in the description.
 			The generated jar will contain a corrupt MANIFEST file.
-		 -->
+		-->
 		LOGBack: the generic, reliable, fast and flexible logging library for Java.
 	</description>
 
@@ -70,7 +70,7 @@
 					</excludes>
 				</configuration>
 			</plugin>
-			
+
 			<plugin>
 				<artifactId>maven-assembly-plugin</artifactId>
 				<version>2.1</version>
@@ -80,14 +80,28 @@
 							src/main/assembly/source.xml
 						</descriptor>
 					</descriptors>
-					<finalName>LOGBackClassic</finalName>
-					<outputDirectory>target/dist</outputDirectory>
+					<finalName>
+						LOGBackClassic-${project.version}
+					</finalName>
+					<outputDirectory>target/site</outputDirectory>
 				</configuration>
 			</plugin>
 
 			<!-- EOF PLUGINS -->
 		</plugins>
 
+		<resources>
+			<resource>
+				<directory>src/site/xdocTemplates</directory>
+				<!-- 
+					We're saving filtered xdocs in a temporary folder
+					and telling the site plug in to get the xdocs there.
+				-->
+				<targetPath>generated-site</targetPath>
+				<filtering>true</filtering>
+			</resource>
+		</resources>
+
 		<testResources>
 			<testResource>
 				<directory>src/test/input</directory>
@@ -96,14 +110,55 @@
 		</testResources>
 	</build>
 
+	<reporting>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-site-plugin</artifactId>
+				<configuration>
+					<xdocDirectory>
+						${project.build.outputDirectory}/generated-site
+					</xdocDirectory>
+				</configuration>
+			</plugin>
+			<!-- plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>
+					maven-project-info-reports-plugin
+				</artifactId>
+				<reportSets>
+					<reportSet>
+						<reports>
+							<report>index</report>
+							<report>project-team</report>
+							<report>dependencies</report>
+							<report>scm</report>
+						</reports>
+					</reportSet>
+				</reportSets>
+			</plugin -->
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-javadoc-plugin</artifactId>
+				<configuration>
+					<links>
+						<link>
+							http://java.sun.com/j2se/1.5.0/docs/api
+						</link>
+					</links>
+				</configuration>
+			</plugin>
+		</plugins>
+	</reporting>
+	
 	<!-- LOGBack Classic Repository ================================================ -->
 
 	<scm>
 		<connection>
-			scm:svn:http://svn.qos.ch/viewcvs/logback/classic/trunk/
+			http://svn.qos.ch/viewcvs/logback/classic/trunk/
 		</connection>
 		<developerConnection>
-			scm:svn:https://svn.qos.ch/repos/logback/classic/trunk/
+			https://svn.qos.ch/repos/logback/classic/trunk/
 		</developerConnection>
 		<url>http://svn.qos.ch/viewcvs/logback/classic/trunk/</url>
 	</scm>



More information about the logback-dev mailing list