You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ga...@apache.org on 2009/01/08 05:15:16 UTC

svn commit: r732601 - in /webservices/commons/trunk/modules/axiom: ./ modules/distribution/ modules/distribution/src/ modules/distribution/src/main/ modules/distribution/src/main/assembly/ src/main/

Author: gawor
Date: Wed Jan  7 20:15:16 2009
New Revision: 732601

URL: http://svn.apache.org/viewvc?rev=732601&view=rev
Log:
add separate module for creating distributions

Added:
    webservices/commons/trunk/modules/axiom/modules/distribution/
    webservices/commons/trunk/modules/axiom/modules/distribution/pom.xml   (with props)
    webservices/commons/trunk/modules/axiom/modules/distribution/src/
    webservices/commons/trunk/modules/axiom/modules/distribution/src/main/
    webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/
    webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/bin.xml   (with props)
    webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/jar.xml   (with props)
    webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/src.xml   (with props)
Removed:
    webservices/commons/trunk/modules/axiom/src/main/
Modified:
    webservices/commons/trunk/modules/axiom/pom.xml

Added: webservices/commons/trunk/modules/axiom/modules/distribution/pom.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/distribution/pom.xml?rev=732601&view=auto
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/distribution/pom.xml (added)
+++ webservices/commons/trunk/modules/axiom/modules/distribution/pom.xml Wed Jan  7 20:15:16 2009
@@ -0,0 +1,74 @@
+<?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.
+  -->
+<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>
+    <parent>
+        <groupId>org.apache.ws.commons.axiom</groupId>
+        <artifactId>axiom</artifactId>
+        <version>SNAPSHOT</version>
+    </parent>
+    <artifactId>distribution</artifactId>
+    <name>Axiom Distribution</name>
+    <version>SNAPSHOT</version>
+    <description>Axiom Distribution</description>
+    <packaging>pom</packaging>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.ws.commons.axiom</groupId>
+            <artifactId>axiom-impl</artifactId>
+            <version>${version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.commons.axiom</groupId>
+            <artifactId>axiom-dom</artifactId>
+            <version>${version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.ws.commons.axiom</groupId>
+            <artifactId>axiom-c14n</artifactId>
+            <version>${version}</version>
+        </dependency>
+    </dependencies>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <finalName>axiom-${version}</finalName>
+                            <descriptors>
+                                <descriptor>src/main/assembly/jar.xml</descriptor>
+                                <descriptor>src/main/assembly/bin.xml</descriptor>
+                                <descriptor>src/main/assembly/src.xml</descriptor>
+                            </descriptors>
+                            <tarLongFileMode>gnu</tarLongFileMode>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: webservices/commons/trunk/modules/axiom/modules/distribution/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/bin.xml?rev=732601&view=auto
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/bin.xml (added)
+++ webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/bin.xml Wed Jan  7 20:15:16 2009
@@ -0,0 +1,89 @@
+<!--
+  ~ 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>bin</id>
+    <includeBaseDirectory>false</includeBaseDirectory> 
+    <baseDirectory>axiom-${version}</baseDirectory>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <includeSiteDirectory>false</includeSiteDirectory>
+    <fileSets>
+        <fileSet>
+            <directory>../../</directory>
+            <outputDirectory></outputDirectory>
+            <includes>
+                <include>LICENSE.txt</include>
+                <include>NOTICE.txt</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>../../target/site</directory>
+            <outputDirectory>docs</outputDirectory>
+            <includes>
+                <include>**/*</include>
+            </includes>
+        </fileSet>
+        <fileSet>
+            <directory>../../legal</directory>
+            <outputDirectory>lib</outputDirectory>
+            <includes>
+                <include>**/*</include>
+            </includes>
+        </fileSet>
+    </fileSets>
+    <files>
+        <file>
+            <source>../../README.txt</source>
+            <outputDirectory>/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>0644</fileMode>
+        </file>
+        <file>
+            <source>../../RELEASE-NOTE.txt</source>
+            <outputDirectory>/</outputDirectory>
+            <filtered>true</filtered>
+            <fileMode>0644</fileMode>
+        </file>
+        <file>
+            <source>${project.build.directory}/axiom-${project.version}-jar.jar</source>
+            <outputDirectory>/</outputDirectory>
+            <destName>axiom.jar</destName>
+        </file>
+    </files>
+    <dependencySets>
+        <dependencySet>
+            <includes>
+                <include>org.apache.ws.commons.axiom:axiom-dom</include>
+                <include>org.apache.ws.commons.axiom:axiom-api</include>
+                <include>org.apache.ws.commons.axiom:axiom-c14n</include>
+                <include>org.apache.ws.commons.axiom:axiom-impl</include>
+
+                <include>org.codehaus.woodstox:wstx-asl</include>
+                <include>commons-logging:commons-logging</include>
+                <include>jaxen:jaxen</include>
+                <include>org.apache.geronimo.specs:geronimo-activation_1.1_spec</include>
+                <include>org.apache.geronimo.specs:geronimo-javamail_1.4_spec</include>
+                <include>org.apache.geronimo.specs:geronimo-stax-api_1.0_spec</include>
+            </includes>
+            <outputDirectory>lib</outputDirectory>
+            <unpack>false</unpack>
+        </dependencySet>
+    </dependencySets>
+</assembly>

Propchange: webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/bin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/jar.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/jar.xml?rev=732601&view=auto
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/jar.xml (added)
+++ webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/jar.xml Wed Jan  7 20:15:16 2009
@@ -0,0 +1,36 @@
+<!--
+  ~ 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>jar</id>
+    <includeBaseDirectory>false</includeBaseDirectory> 
+    <formats>
+        <format>jar</format>
+    </formats>
+    <dependencySets>
+        <dependencySet>
+            <includes>
+                <include>org.apache.ws.commons.axiom:axiom-api</include>
+                <include>org.apache.ws.commons.axiom:axiom-impl</include>
+                <include>org.apache.ws.commons.axiom:axiom-dom</include>
+                <include>org.apache.ws.commons.axiom:axiom-c14n</include>
+            </includes>
+            <unpack>true</unpack>
+        </dependencySet>
+    </dependencySets>
+</assembly>

Propchange: webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/jar.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/src.xml?rev=732601&view=auto
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/src.xml (added)
+++ webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/src.xml Wed Jan  7 20:15:16 2009
@@ -0,0 +1,55 @@
+<!--
+  ~ 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>src</id>
+    <includeBaseDirectory>true</includeBaseDirectory> 
+    <baseDirectory>axiom-${version}</baseDirectory>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <fileSets>
+        <fileSet>
+            <directory>../../</directory>
+            <outputDirectory></outputDirectory>
+            <includes>
+                <include>**/*</include>
+            </includes>
+            <excludes>
+                <exclude>*.ipr</exclude>
+                <exclude>*.iws</exclude>
+                <exclude>*.iml</exclude>
+                <exclude>**/target</exclude>
+                <exclude>**/target/**</exclude>
+                <exclude>**/target/**/*</exclude>
+            </excludes>
+        </fileSet>
+    </fileSets>
+    <files>
+        <file>
+            <source>../../README.txt</source>
+            <outputDirectory>/</outputDirectory>
+            <filtered>true</filtered>
+        </file>
+        <file>
+            <source>../../RELEASE-NOTE.txt</source>
+            <outputDirectory>/</outputDirectory>
+            <filtered>true</filtered>
+        </file>
+    </files>
+</assembly>

Propchange: webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: webservices/commons/trunk/modules/axiom/modules/distribution/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:executable = *

Modified: webservices/commons/trunk/modules/axiom/pom.xml
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/pom.xml?rev=732601&r1=732600&r2=732601&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/pom.xml (original)
+++ webservices/commons/trunk/modules/axiom/pom.xml Wed Jan  7 20:15:16 2009
@@ -325,32 +325,6 @@
                 </plugins>
             </build>
         </profile>
-        <profile>
-            <id>rc</id>
-            <activation>
-                <property>
-                    <name>rc</name>
-                    <value />
-                </property>
-            </activation>
-            <build>
-                <plugins>
-<!--                    <plugin>
-                        <artifactId>maven-javadoc-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <goals>
-                                    <goal>javadoc</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                        <configuration>
-                            <attach>true</attach>
-                        </configuration>
-                    </plugin> -->
-                </plugins>
-            </build>
-        </profile>
     </profiles>
     <build>
         <pluginManagement>
@@ -363,14 +337,6 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-assembly-plugin</artifactId>
-                    <configuration>
-                        <descriptors>
-                            <descriptor>src/main/assembly/jar.xml</descriptor>
-                            <descriptor>src/main/assembly/bin.xml</descriptor>
-                            <descriptor>src/main/assembly/src.xml</descriptor>
-                        </descriptors>
-                        <tarLongFileMode>gnu</tarLongFileMode>
-                    </configuration>
                 </plugin>
             </plugins>
         </pluginManagement>
@@ -384,10 +350,6 @@
                 </configuration>
             </plugin>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-assembly-plugin</artifactId>
-            </plugin>
-            <plugin>
                 <artifactId>maven-source-plugin</artifactId>
                 <executions>
                     <execution>
@@ -568,6 +530,7 @@
         <module>modules/axiom-dom</module>
         <module>modules/axiom-c14n</module>
         <module>modules/axiom-tests</module>
+        <module>modules/distribution</module>
     </modules>
     <properties>
         <axiom.version>${pom.version}</axiom.version>