You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devicemap.apache.org by wk...@apache.org on 2014/07/27 00:03:29 UTC

svn commit: r1613734 - in /incubator/devicemap/trunk/devicemap/java/simpleddr: pom.xml src/assembly/ src/assembly/bin.xml src/assembly/src.xml

Author: wkeil
Date: Sat Jul 26 22:03:29 2014
New Revision: 1613734

URL: http://svn.apache.org/r1613734
Log:
DMAP-35: Refactor Simple DDR 
Updated assembly
Task-Url: https://issues.apache.org/jira/browse/DMAP-35

Added:
    incubator/devicemap/trunk/devicemap/java/simpleddr/src/assembly/
    incubator/devicemap/trunk/devicemap/java/simpleddr/src/assembly/bin.xml
    incubator/devicemap/trunk/devicemap/java/simpleddr/src/assembly/src.xml
Modified:
    incubator/devicemap/trunk/devicemap/java/simpleddr/pom.xml

Modified: incubator/devicemap/trunk/devicemap/java/simpleddr/pom.xml
URL: http://svn.apache.org/viewvc/incubator/devicemap/trunk/devicemap/java/simpleddr/pom.xml?rev=1613734&r1=1613733&r2=1613734&view=diff
==============================================================================
--- incubator/devicemap/trunk/devicemap/java/simpleddr/pom.xml (original)
+++ incubator/devicemap/trunk/devicemap/java/simpleddr/pom.xml Sat Jul 26 22:03:29 2014
@@ -1,22 +1,14 @@
 <?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.
--->
+<!-- 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. -->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 	<modelVersion>4.0.0</modelVersion>
@@ -106,6 +98,22 @@ under the License.
 					</execution>
 				</executions>
 			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-assembly-plugin</artifactId>
+				<configuration>
+					<descriptor>${basedir}/src/assembly/bin.xml</descriptor>
+					<finalName>simpleddr-${project.version}</finalName>
+				</configuration>
+				<executions>
+					<execution>
+						<phase>package</phase>
+						<goals>
+							<goal>single</goal>
+						</goals>
+					</execution>
+				</executions>
+			</plugin>
 		</plugins>
 	</build>
 
@@ -166,7 +174,7 @@ under the License.
 				</plugins>
 			</build>
 		</profile>
-		
+
 		<profile>
 			<id>license</id>
 			<activation>

Added: incubator/devicemap/trunk/devicemap/java/simpleddr/src/assembly/bin.xml
URL: http://svn.apache.org/viewvc/incubator/devicemap/trunk/devicemap/java/simpleddr/src/assembly/bin.xml?rev=1613734&view=auto
==============================================================================
--- incubator/devicemap/trunk/devicemap/java/simpleddr/src/assembly/bin.xml (added)
+++ incubator/devicemap/trunk/devicemap/java/simpleddr/src/assembly/bin.xml Sat Jul 26 22:03:29 2014
@@ -0,0 +1,44 @@
+<assembly
+	xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+	<id>incubating</id>
+	<formats>
+		<format>tar</format>
+		<format>tar.gz</format>
+		<format>tar.bz2</format>
+		<format>zip</format>
+	</formats>
+	<includeBaseDirectory>true</includeBaseDirectory>
+	<dependencySets>
+		<dependencySet>
+			<includes>
+				<include>org.apache.devicemap:devicemap-simpleddr</include>
+			</includes>
+			<unpack>false</unpack>
+			<scope>runtime</scope>
+		</dependencySet>
+	</dependencySets>
+	
+	<fileSets>
+		<fileSet>
+			<directory>${basedir}/lib</directory>
+			<includes>
+				<include>*.*</include>
+			</includes>
+		</fileSet>
+		<fileSet>
+			<directory>${basedir}</directory>
+			<includes>
+				<include>DISCLAIMER*</include>
+				<include>LICENSE*</include>
+			</includes>
+		</fileSet>
+		<fileSet>
+			<directory>target</directory>
+			<includes>
+				<include>*.jar</include>
+			</includes>
+		</fileSet>
+	</fileSets>
+</assembly>
\ No newline at end of file

Added: incubator/devicemap/trunk/devicemap/java/simpleddr/src/assembly/src.xml
URL: http://svn.apache.org/viewvc/incubator/devicemap/trunk/devicemap/java/simpleddr/src/assembly/src.xml?rev=1613734&view=auto
==============================================================================
--- incubator/devicemap/trunk/devicemap/java/simpleddr/src/assembly/src.xml (added)
+++ incubator/devicemap/trunk/devicemap/java/simpleddr/src/assembly/src.xml Sat Jul 26 22:03:29 2014
@@ -0,0 +1,39 @@
+<assembly
+	xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+	<id>src</id>
+	<formats>
+		<format>tar.gz</format>
+		<format>tar.bz2</format>
+		<format>zip</format>
+	</formats>
+	<dependencySets>
+		<dependencySet>
+			<includes>
+				<include>org.apache.devicemap:devicemap-simpleddr</include>
+			</includes>
+			<unpack>false</unpack>
+			<scope>runtime</scope>
+		</dependencySet>
+	</dependencySets>
+	<fileSets>
+		<fileSet>
+			<directory>${basedir}</directory>
+			<includes>
+				<include>*README*</include>
+				<include>*LICENSE*</include>
+				<include>*NOTICE*</include>
+				<include>pom.xml</include>
+			</includes>
+			<useDefaultExcludes>false</useDefaultExcludes>
+		</fileSet>
+		<fileSet>
+			<directory>${basedir}/src/main</directory>
+			<includes>
+				<include>**/*</include>
+			</includes>
+			<useDefaultExcludes>false</useDefaultExcludes>
+		</fileSet>
+	</fileSets>
+</assembly>
\ No newline at end of file