You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tamaya.apache.org by pl...@apache.org on 2015/06/14 22:21:18 UTC

incubator-tamaya git commit: TAMAYA-80 Initial commit for the distribution of Tamaya.

Repository: incubator-tamaya
Updated Branches:
  refs/heads/master 4d5609848 -> f8133665d


TAMAYA-80 Initial commit for the distribution of Tamaya.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/f8133665
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/f8133665
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/f8133665

Branch: refs/heads/master
Commit: f8133665d7dac310c3178243ff3546b54beb84dc
Parents: 4d56098
Author: Oliver B. Fischer <pl...@apache.org>
Authored: Sun Jun 14 22:19:50 2015 +0200
Committer: Oliver B. Fischer <pl...@apache.org>
Committed: Sun Jun 14 22:19:50 2015 +0200

----------------------------------------------------------------------
 distribution/pom.xml                            | 85 ++++++++++++++++++++
 distribution/src/main/assembly/distribution.xml | 53 ++++++++++++
 pom.xml                                         |  1 +
 3 files changed, 139 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/f8133665/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/pom.xml b/distribution/pom.xml
new file mode 100644
index 0000000..207b270
--- /dev/null
+++ b/distribution/pom.xml
@@ -0,0 +1,85 @@
+<?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/xsd/maven-4.0.0.xsd">
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.tamaya</groupId>
+        <artifactId>tamaya-all</artifactId>
+        <version>0.1-incubating-SNAPSHOT</version>
+    </parent>
+
+    <artifactId>tamaya-distribution</artifactId>
+    <name>Apache Tamaya Distribution</name>
+    <inceptionYear>2015</inceptionYear>
+
+    <dependencies>
+
+         <!--Java 7 related artifacts-->
+        <dependency>
+            <groupId>org.apache.tamaya</groupId>
+            <artifactId>tamaya-java7-api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.tamaya</groupId>
+            <artifactId>tamaya-java7-core</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+
+        <!-- Java 8 related artifacts -->
+        <dependency>
+            <groupId>org.apache.tamaya</groupId>
+            <artifactId>tamaya-api</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.tamaya</groupId>
+            <artifactId>tamaya-core</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+
+    </dependencies>
+
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-distribution</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <descriptor>src/main/assembly/distribution.xml</descriptor>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/f8133665/distribution/src/main/assembly/distribution.xml
----------------------------------------------------------------------
diff --git a/distribution/src/main/assembly/distribution.xml b/distribution/src/main/assembly/distribution.xml
new file mode 100644
index 0000000..9e8e3b7
--- /dev/null
+++ b/distribution/src/main/assembly/distribution.xml
@@ -0,0 +1,53 @@
+<!--
+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.3"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3
+                              http://maven.apache.org/xsd/assembly-1.1.3.xsd">
+
+    <id>distribution</id>
+    <formats>
+        <format>zip</format>
+        <format>tar.gz</format>
+    </formats>
+
+    <dependencySets>
+        <dependencySet>
+            <outputDirectory>java7/lib</outputDirectory>
+            <includes>
+                <include>org.apache.tamaya:tamaya-java7-api</include>
+                <include>org.apache.tamaya:tamaya-java7-core</include>
+            </includes>
+        </dependencySet>
+        <dependencySet>
+            <outputDirectory>java8/lib</outputDirectory>
+            <includes>
+                <include>org.apache.tamaya:tamaya-api</include>
+                <include>org.apache.tamaya:tamaya-core</include>
+            </includes>
+        </dependencySet>
+    </dependencySets>
+
+    <!--<moduleSets>-->
+        <!--<moduleSet>-->
+            <!--<-->
+        <!--</moduleSet>-->
+    <!--</moduleSets>-->
+
+</assembly>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/f8133665/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 5ea50d4..1daa082 100644
--- a/pom.xml
+++ b/pom.xml
@@ -213,6 +213,7 @@ under the License.
         <module>java7</module>
         <module>java8</module>
         <module>modules</module>
+        <module>distribution</module>
     </modules>
 
     <dependencyManagement>