You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by rd...@apache.org on 2009/02/27 16:05:57 UTC
svn commit: r748544 - in /incubator/rat/main/trunk/apache-rat: pom.xml
src/assemble/ src/assemble/bin.xml src/assemble/src.xml
Author: rdonkin
Date: Fri Feb 27 15:05:56 2009
New Revision: 748544
URL: http://svn.apache.org/viewvc?rev=748544&view=rev
Log:
Basic assembly RAT-38 https://issues.apache.org/jira/browse/RAT-38
Added:
incubator/rat/main/trunk/apache-rat/src/assemble/
incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml
incubator/rat/main/trunk/apache-rat/src/assemble/src.xml
Modified:
incubator/rat/main/trunk/apache-rat/pom.xml
Modified: incubator/rat/main/trunk/apache-rat/pom.xml
URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/pom.xml?rev=748544&r1=748543&r2=748544&view=diff
==============================================================================
--- incubator/rat/main/trunk/apache-rat/pom.xml (original)
+++ incubator/rat/main/trunk/apache-rat/pom.xml Fri Feb 27 15:05:56 2009
@@ -85,6 +85,22 @@
</archive>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2</version>
+ <configuration>
+ <descriptorSourceDirectory>${basedir}/src/assemble/</descriptorSourceDirectory>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase> <!-- append to the packaging phase. -->
+ <goals>
+ <goal>attached</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project>
Added: incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml
URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml?rev=748544&view=auto
==============================================================================
--- incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml (added)
+++ incubator/rat/main/trunk/apache-rat/src/assemble/bin.xml Fri Feb 27 15:05:56 2009
@@ -0,0 +1,77 @@
+<assembly>
+ <!--
+ 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.
+
+ -->
+ <id>bin</id>
+ <!--
+ Generates a jar file including the binary jar and the runtime dependencies.
+ including NOTICE and LICENSE in the root.
+ -->
+ <formats>
+ <format>zip</format>
+ <format>tar.gz</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}/..</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>LICENSE.*</include>
+ <include>NOTICE.*</include>
+ <include>RELEASE_NOTES.txt</include>
+ <include>DISCLAIMER.txt</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.basedir}/../apache-rat-core/target</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>apache-rat*.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.basedir}/../apache-rat-plugin/target</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>apache-rat*.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.basedir}/../apache-rat-tasks/target</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>apache-rat*.jar</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>target</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>apache-rat*.jar</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>/lib/</outputDirectory>
+ <useProjectArtifact>false</useProjectArtifact>
+ <scope>runtime</scope>
+ <excludes>
+ <exclude>apache-rat*</exclude>
+ </excludes>
+ </dependencySet>
+ </dependencySets>
+</assembly>
\ No newline at end of file
Added: incubator/rat/main/trunk/apache-rat/src/assemble/src.xml
URL: http://svn.apache.org/viewvc/incubator/rat/main/trunk/apache-rat/src/assemble/src.xml?rev=748544&view=auto
==============================================================================
--- incubator/rat/main/trunk/apache-rat/src/assemble/src.xml (added)
+++ incubator/rat/main/trunk/apache-rat/src/assemble/src.xml Fri Feb 27 15:05:56 2009
@@ -0,0 +1,41 @@
+<assembly>
+ <!--
+ 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.
+ -->
+ <id>src</id>
+ <!--
+ Generates a file including all the source tree excluding files/folders
+ starting with "." , *.bak and the target
+ -->
+ <formats>
+ <format>zip</format>
+ <format>tar.gz</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.basedir}/..</directory>
+ <outputDirectory></outputDirectory>
+ <excludes>
+ <exclude>**/target/**</exclude>
+ <exclude>.*</exclude>
+ <exclude>.*/**</exclude>
+ <exclude>**.bak</exclude>
+ <exclude>*.jar</exclude>
+ <exclude>**/.*</exclude>
+ </excludes>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ </fileSet>
+ </fileSets>
+</assembly>
\ No newline at end of file