empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject svn commit: r737906 - in /incubator/empire-db/branches/maven: empire-assembly-all.xml pom.xml
Date Mon, 26 Jan 2009 22:28:10 GMT
Author: francisdb
Date: Mon Jan 26 22:28:09 2009
New Revision: 737906

URL: http://svn.apache.org/viewvc?rev=737906&view=rev
Log:
creating assembly added (inspired by the wicket assembly file)

Added:
    incubator/empire-db/branches/maven/empire-assembly-all.xml
Modified:
    incubator/empire-db/branches/maven/pom.xml

Added: incubator/empire-db/branches/maven/empire-assembly-all.xml
URL: http://svn.apache.org/viewvc/incubator/empire-db/branches/maven/empire-assembly-all.xml?rev=737906&view=auto
==============================================================================
--- incubator/empire-db/branches/maven/empire-assembly-all.xml (added)
+++ incubator/empire-db/branches/maven/empire-assembly-all.xml Mon Jan 26 22:28:09 2009
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.	See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.	 You may obtain a copy of the License at
+
+		http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+<assembly>
+	<id>kitchensink</id>
+	<formats>
+		<format>tar.gz</format>
+		<format>zip</format>
+	</formats>
+	<includeBaseDirectory>true</includeBaseDirectory>
+	<fileSets>
+		<fileSet>
+			<directory>archetypes</directory>
+			<outputDirectory>src/archetypes</outputDirectory>
+			<useDefaultExcludes>true</useDefaultExcludes>
+			<excludes>
+				<exclude>**/quickstart/target/**</exclude>
+				<exclude>**/.classpath/**</exclude>
+				<exclude>**/.project/**</exclude>
+				<exclude>**/.settings/**</exclude>
+				<exclude>**/.amateras/**</exclude>
+				<exclude>**/.tomcatplugin/**</exclude>
+			</excludes>
+		</fileSet>
+		<fileSet>
+			<directory>target/site/apidocs</directory>
+			<outputDirectory>apidocs</outputDirectory>
+		</fileSet>
+		<fileSet>
+			<directory>testing</directory>
+			<outputDirectory>src/testing</outputDirectory>
+			<useDefaultExcludes>true</useDefaultExcludes>
+			<excludes>
+				<exclude>target/**</exclude>
+				<exclude>**/.classpath/**</exclude>
+				<exclude>**/.project/**</exclude>
+				<exclude>**/.settings/**</exclude>
+				<exclude>**/.amateras/**</exclude>
+				<exclude>**/.tomcatplugin/**</exclude>
+			</excludes>
+		</fileSet>
+		<fileSet>
+			<directory>${basedir}</directory>
+			<outputDirectory>src</outputDirectory>
+			<useDefaultExcludes>true</useDefaultExcludes>
+			<includes>
+				<include>*.xml</include>
+				<include>empire-db/**</include>
+				<include>empire-db-example/**</include>
+				<include>empire-db-example-advanced/**</include>
+				<include>empire-db-struts2/**</include>
+				<include>empire-db-example-struts2/**</include>
+			</includes>
+			<excludes>
+				<exclude>**/empire-db/target/**</exclude>
+				<exclude>**/empire-db-*/target/**</exclude>
+				<exclude>**/.classpath/**</exclude>
+				<exclude>**/.project/**</exclude>
+				<exclude>**/.settings/**</exclude>
+				<exclude>**/.amateras/**</exclude>
+				<exclude>**/.tomcatplugin/**</exclude>
+			</excludes>
+		</fileSet>
+		<fileSet>
+			<directory>${basedir}</directory>
+			<outputDirectory/>
+			<useDefaultExcludes>true</useDefaultExcludes>
+			<includes>
+				<include>LICENSE</include>
+				<include>NOTICE</include>
+				<include>README</include>
+				<include>CHANGELOG-1.4</include>
+				<include>licenses/**</include>
+			</includes>
+		</fileSet>
+	</fileSets>
+	<moduleSets>
+		<moduleSet>
+			<includes>
+				<include>org.apache.empire-db:empire-db</include>
+				<include>org.apache.empire-db:empire-db-example</include>
+				<include>org.apache.empire-db:empire-db-example-advanced</include>
+    			<include>org.apache.empire-db:empire-db-struts2</include>
+    			<include>org.apache.empire-db:empire-db-example-struts2</include>
+			</includes>
+			<binaries>
+				<outputDirectory>lib</outputDirectory>
+				<unpack>false</unpack>
+				<includeDependencies>false</includeDependencies>
+			</binaries>
+		</moduleSet>
+	</moduleSets>
+</assembly>

Modified: incubator/empire-db/branches/maven/pom.xml
URL: http://svn.apache.org/viewvc/incubator/empire-db/branches/maven/pom.xml?rev=737906&r1=737905&r2=737906&view=diff
==============================================================================
--- incubator/empire-db/branches/maven/pom.xml (original)
+++ incubator/empire-db/branches/maven/pom.xml Mon Jan 26 22:28:09 2009
@@ -31,9 +31,14 @@
 			<modules>
 				<module>empire-db</module>
 				<module>empire-db-example</module>
+				<module>empire-db-example-advanced</module>
+    			<module>empire-db-struts2</module>
+    			<module>empire-db-example-struts2</module>
 			</modules>
 		</profile>
 	</profiles>
+	
+	
 	<url>http://incubator.apache.org/empire-db/${project.artifactId}</url>
 	<organization>
 		<name>Apache Software Foundation</name>
@@ -158,10 +163,28 @@
 		<pluginManagement>
 			<plugins>
 				<plugin>
+					<groupId>org.apache.maven.plugins</groupId>
+					<artifactId>maven-assembly-plugin</artifactId>
+					<version>2.2-beta-2</version>
+					<configuration>
+						<appendAssemblyId>false</appendAssemblyId>
+						<tarLongFileMode>gnu</tarLongFileMode>
+						<outputDirectory>target/dist</outputDirectory>
+						<descriptors>
+							<descriptor>empire-assembly-all.xml</descriptor>
+						</descriptors>
+						<finalName>empire-db-${project.version}</finalName>
+					</configuration>
+				</plugin>
+				<plugin>
+					<inherited>true</inherited>
+					<groupId>org.apache.maven.plugins</groupId>
 					<artifactId>maven-compiler-plugin</artifactId>
 					<configuration>
 						<source>1.5</source>
 						<target>1.5</target>
+						<optimise>true</optimise>
+						<debug>true</debug>
 					</configuration>
 				</plugin>
 			</plugins>
@@ -179,9 +202,8 @@
 			</plugin>
 		</plugins>
 	</reporting>
-  <modules>
-    <module>empire-db-example-advanced</module>
-    <module>empire-db-struts2</module>
-    <module>empire-db-example-struts2</module>
-  </modules>
+
+	
+	
+
 </project>



Mime
View raw message