You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mrunit.apache.org by es...@apache.org on 2011/05/27 03:11:11 UTC
svn commit: r1128131 - in /incubator/mrunit/trunk: pom.xml
src/main/assembly/ src/main/assembly/dist.xml
Author: esammer
Date: Fri May 27 01:11:10 2011
New Revision: 1128131
URL: http://svn.apache.org/viewvc?rev=1128131&view=rev
Log:
MRUNIT-16: Generate distribution artifacts from maven
Added:
incubator/mrunit/trunk/src/main/assembly/
incubator/mrunit/trunk/src/main/assembly/dist.xml
Modified:
incubator/mrunit/trunk/pom.xml
Modified: incubator/mrunit/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/mrunit/trunk/pom.xml?rev=1128131&r1=1128130&r2=1128131&view=diff
==============================================================================
--- incubator/mrunit/trunk/pom.xml (original)
+++ incubator/mrunit/trunk/pom.xml Fri May 27 01:11:10 2011
@@ -1,11 +1,11 @@
<!--
* Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
+ * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
+ * 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
+ * with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@@ -61,6 +61,15 @@
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2.1</version>
+ <configuration>
+ <descriptor>src/main/assembly/dist.xml</descriptor>
+ </configuration>
+ </plugin>
+
+ <plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.7</version>
Added: incubator/mrunit/trunk/src/main/assembly/dist.xml
URL: http://svn.apache.org/viewvc/incubator/mrunit/trunk/src/main/assembly/dist.xml?rev=1128131&view=auto
==============================================================================
--- incubator/mrunit/trunk/src/main/assembly/dist.xml (added)
+++ incubator/mrunit/trunk/src/main/assembly/dist.xml Fri May 27 01:11:10 2011
@@ -0,0 +1,69 @@
+<!--
+ * 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
+ 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>dist</id>
+
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+
+ <fileSets>
+
+ <!-- Top level directory artifacts -->
+ <fileSet>
+ <directory>${project.basedir}</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>README*</include>
+ <include>LICENSE*</include>
+ <include>NOTICE*</include>
+ <include>pom.xml</include>
+ </includes>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ </fileSet>
+
+ <!-- Source tree -->
+ <fileSet>
+ <directory>${project.basedir}/src</directory>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ </fileSet>
+
+ <!-- Build artifact(s) -->
+ <fileSet>
+ <directory>${project.build.directory}</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ </fileSet>
+
+ <!-- Site and documentation -->
+ <fileSet>
+ <directory>${project.build.directory}/site</directory>
+ <outputDirectory>docs</outputDirectory>
+ </fileSet>
+ </fileSets>
+
+</assembly>