[LOGBack-dev] svn commit: r114 - logback/access/trunk

noreply.seb at qos.ch noreply.seb at qos.ch
Tue Jul 18 14:39:06 CEST 2006


Author: seb
Date: Tue Jul 18 14:39:05 2006
New Revision: 114

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

Modified: logback/access/trunk/pom.xml
==============================================================================
--- logback/access/trunk/pom.xml	(original)
+++ logback/access/trunk/pom.xml	Tue Jul 18 14:39:05 2006
@@ -94,24 +94,77 @@
 							src/main/assembly/source.xml
 						</descriptor>
 					</descriptors>
-					<finalName>LOGBackAccess</finalName>
-					<outputDirectory>target/dist</outputDirectory>
+					<finalName>
+						LOGBackAccess-${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>		
+		
 	</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 Access Repository ================================================ -->
 
 	<scm>
 		<connection>
-			scm:svn:http://svn.qos.ch/viewcvs/logback/access/trunk/
+			http://svn.qos.ch/viewcvs/logback/access/trunk/
 		</connection>
 		<developerConnection>
-			scm:svn:https://svn.qos.ch/repos/logback/access/trunk/
+			https://svn.qos.ch/repos/logback/access/trunk/
 		</developerConnection>
 		<url>http://svn.qos.ch/viewcvs/logback/access/trunk/</url>
 	</scm>



More information about the logback-dev mailing list