[objenesis] r203 committed - Generate bundle with assembly plugin

0 views
Skip to first unread message

codesite...@google.com

unread,
Aug 26, 2009, 6:16:15 PM8/26/09
to objene...@googlegroups.com
Revision: 203
Author: henri.tremblay
Date: Wed Aug 26 15:15:13 2009
Log: Generate bundle with assembly plugin
http://code.google.com/p/objenesis/source/detail?r=203

Added:
/trunk/main/assembly.xml
Modified:
/trunk/main/pom.xml

=======================================
--- /dev/null
+++ /trunk/main/assembly.xml Wed Aug 26 15:15:13 2009
@@ -0,0 +1,40 @@
+<!--
+
+ Copyright 2006-2009 the original author or authors.
+
+ Licensed 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>bin</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>${project.build.outputDirectory}/META-INF</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>NOTICE</include>
+ <include>LICENSE</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>${project.build.directory}</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>
=======================================
--- /trunk/main/pom.xml Wed Aug 26 14:12:00 2009
+++ /trunk/main/pom.xml Wed Aug 26 15:15:13 2009
@@ -65,16 +65,22 @@
<build>
<plugins>
<plugin>
- <artifactId>maven-repository-plugin</artifactId>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
<executions>
<execution>
- <id>format</id>
+ <id>make-assembly</id>
<phase>package</phase>
<goals>
- <goal>bundle-create</goal>
+ <goal>single</goal>
</goals>
</execution>
- </executions>
+ </executions>
</plugin>
</plugins>
</build>

Reply all
Reply to author
Forward
0 new messages