clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [2/2] clerezza git commit: CLEREZZA-989: creating compilable source distribution
Date Wed, 20 May 2015 09:57:51 GMT
CLEREZZA-989: creating compilable source distribution

Project: http://git-wip-us.apache.org/repos/asf/clerezza/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza/commit/8c80838f
Tree: http://git-wip-us.apache.org/repos/asf/clerezza/tree/8c80838f
Diff: http://git-wip-us.apache.org/repos/asf/clerezza/diff/8c80838f

Branch: refs/heads/master
Commit: 8c80838f2108e04267a563994380c925d5700c28
Parents: 2ccd348
Author: Reto Gmür <reto@apache.org>
Authored: Wed May 20 11:57:33 2015 +0200
Committer: Reto Gmür <reto@apache.org>
Committed: Wed May 20 11:57:33 2015 +0200

----------------------------------------------------------------------
 .gitignore                                      |  2 +-
 releases/201505/README.md                       | 15 ++++
 releases/201505/pom.xml                         | 37 +++++++--
 releases/201505/src/assembly/source-release.xml | 84 ++++++++++++++++++++
 4 files changed, 129 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza/blob/8c80838f/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 3b3840a..39dd015 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,4 +5,4 @@ target/
 .project
 .classpath
 dependency-reduced-pom.xml
-
+release.properties

http://git-wip-us.apache.org/repos/asf/clerezza/blob/8c80838f/releases/201505/README.md
----------------------------------------------------------------------
diff --git a/releases/201505/README.md b/releases/201505/README.md
new file mode 100644
index 0000000..2646ec5
--- /dev/null
+++ b/releases/201505/README.md
@@ -0,0 +1,15 @@
+# CLEREZZA 201505 release
+
+This is a partial relase of clerezza.
+
+To build it run
+
+    mvn install
+
+from the folder
+
+    releases/201505/
+
+after that will have several launchers in the target directories below
+
+    provisioning/launchers/
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/clerezza/blob/8c80838f/releases/201505/pom.xml
----------------------------------------------------------------------
diff --git a/releases/201505/pom.xml b/releases/201505/pom.xml
index e716557..d33fe63 100644
--- a/releases/201505/pom.xml
+++ b/releases/201505/pom.xml
@@ -20,12 +20,12 @@
     -->
 
     <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-         !!!!!!                                !!!!!!
-         !!!!!!    This pom is only provided   !!!!!!
-         !!!!!!   for build convenience and    !!!!!!
-         !!!!!!   should not be released       !!!!!!
-         !!!!!!                                !!!!!!
-         !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+    !!!!!!                                !!!!!!
+    !!!!!!    This pom is only provided   !!!!!!
+    !!!!!!   for build convenience and    !!!!!!
+    !!!!!!   should not be released       !!!!!!
+    !!!!!!                                !!!!!!
+    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
 
     <modelVersion>4.0.0</modelVersion>
     
@@ -34,7 +34,7 @@
         <artifactId>clerezza</artifactId>
         <version>7-SNAPSHOT</version>
         <relativePath>../../parent</relativePath>
-     </parent>
+    </parent>
 
     <groupId>org.apache.clerezza.releases</groupId>
     <artifactId>201505</artifactId>
@@ -73,7 +73,6 @@
         <module>../../platform/typepriority</module>
         <module>../../provisioning/felixosgi</module>
         <module>../../provisioning/felixweb</module>
-        <!-- <module>../../provisioning/security</module> -->
         <module>../../provisioning/jaxrs-whiteboard</module>
         <module>../../provisioning/launchers/content-launcher</module>
         <module>../../provisioning/launchers/linked-data-launcher</module>
@@ -93,4 +92,26 @@
         <module>../../web.fileserver</module>
     </modules>
 
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.5.4</version>
+                <executions>
+                    <execution>
+                        <id>distro-assembly</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>src/assembly/source-release.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 </project>

http://git-wip-us.apache.org/repos/asf/clerezza/blob/8c80838f/releases/201505/src/assembly/source-release.xml
----------------------------------------------------------------------
diff --git a/releases/201505/src/assembly/source-release.xml b/releases/201505/src/assembly/source-release.xml
new file mode 100644
index 0000000..4f84fee
--- /dev/null
+++ b/releases/201505/src/assembly/source-release.xml
@@ -0,0 +1,84 @@
+<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>src</id>
+    <formats>
+
+        <format>zip</format>
+
+    </formats>
+
+    <baseDirectory>clerezza</baseDirectory>
+
+    <fileSets>
+        <fileSet>
+            <directory>../../</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>jaxrs.rdf.providers/**</include>
+                <include>rdf/**</include>
+                <include>templating/**</include>
+                <include>templating.seedsnipe/**</include>
+                <include>parent/**</include>
+                <include>platform/config/**</include>
+                <include>platform/config.gui/**</include>
+                <include>platform/content/**</include>
+                <include>platform/content.default404/**</include>
+                <include>platform/content.fsadaptor/**</include>
+                <include>platform/globalmenu.api/**</include>
+                <include>platform/platform/**</include>
+                <include>platform/style.default/**</include>
+                <include>platform/typehandlerspace/**</include>
+                <include>platform/typehandlerspace.jaxrs2/**</include>
+                <include>platform/typerendering/**</include>
+                <include>platform/typerendering.scala/**</include>
+                <include>platform/typerendering.scalaserverpages/**</include>
+                <include>platform/typerendering.seedsnipe/**</include>
+                <include>platform/typerendering.gui/**</include>
+                <include>platform/editor/**</include>
+                <include>platform/graphnodeprovider/**</include>
+                <include>platform/graphprovider.content/**</include>
+                <include>platform/documentation/**</include>
+                <include>platform/documentation.viewer/**</include>
+                <include>platform/users/**</include>
+                <include>platform/usermanager/**</include>
+                <include>platform/typepriority/**</include>
+                <include>provisioning/felixosgi/**</include>
+                <include>provisioning/felixweb/**</include>
+                <include>provisioning/jaxrs-whiteboard/**</include>
+                <include>provisioning/launchers/content-launcher/**</include>
+                <include>provisioning/launchers/linked-data-launcher/**</include>
+                <include>provisioning/launchers/typerendering-launcher/**</include>
+                <include>provisioning/launchers/website-launcher/**</include>
+                <include>provisioning/platform.content/**</include>
+                <include>provisioning/platform.graphnodeprovider/**</include>
+                <include>provisioning/rdf/**</include>
+                <include>provisioning/rdf.tdb/**</include>
+                <include>provisioning/rdf.web/**</include>
+                <include>provisioning/site.tools/**</include>
+                <include>provisioning/typehandlerspace/**</include>
+                <include>provisioning/typerendering/**</include>
+                <include>scala-scripting/**</include>
+                <include>site/**</include>
+                <include>tools.offline/**</include>
+                <include>web.fileserver/**</include>
+                <include>releases/201505/**</include>
+            </includes>
+            <excludes>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]</exclude>
+            </excludes>
+        </fileSet>
+        <fileSet>
+            <directory>${project.build.directory}/maven-shared-archive-resources/META-INF</directory>
+            <outputDirectory>/</outputDirectory>
+        </fileSet>
+        <!-- license, readme, etc. calculated at build time -->
+        <fileSet>
+            <directory>/</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>README.md</include>
+            </includes>
+        </fileSet>
+    </fileSets>
+</assembly>
\ No newline at end of file


Mime
View raw message