You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by fc...@apache.org on 2011/11/03 16:07:17 UTC

svn commit: r1197175 - in /incubator/stanbol/trunk: README.md parent/pom.xml pom.xml releasing/framework/stanbol-framework-source-release-assembly-descriptor/src/main/resources/assemblies/source-shared.xml

Author: fchrist
Date: Thu Nov  3 15:07:16 2011
New Revision: 1197175

URL: http://svn.apache.org/viewvc?rev=1197175&view=rev
Log:
STANBOL-272 Some changes to update framework release preparation. The top level POM needs to inherit from parent POM otherwise the release build is not successful.

Modified:
    incubator/stanbol/trunk/README.md
    incubator/stanbol/trunk/parent/pom.xml
    incubator/stanbol/trunk/pom.xml
    incubator/stanbol/trunk/releasing/framework/stanbol-framework-source-release-assembly-descriptor/src/main/resources/assemblies/source-shared.xml

Modified: incubator/stanbol/trunk/README.md
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/README.md?rev=1197175&r1=1197174&r2=1197175&view=diff
==============================================================================
--- incubator/stanbol/trunk/README.md (original)
+++ incubator/stanbol/trunk/README.md Thu Nov  3 15:07:16 2011
@@ -140,6 +140,25 @@ out the sources from [1] and build it lo
 
 [1] http://incubator.apache.org/rat/
 
+## Release Apache Stanbol
+
+You should read [1,2] before doing any release related actions.
+
+To do a release test build, you have to activate the 'apache-release' profile.
+For building the framework plus signing the artifacts as it would be done during
+a release you can use
+
+    $ mvn install -Pframework,apache-release
+
+The 'apache-release' profile will be automatically activated when the Maven
+release plugin [3] is used. For doing official release you start with
+
+    $ mvn release:prepare
+
+[1] http://www.apache.org/dev/#releases
+[2] http://incubator.apache.org/guides/releasemanagement.html
+[3] http://maven.apache.org/plugins/maven-release-plugin/
+
 ## Useful links
 
   - Documentation will be published and mailing lists info on [the official

Modified: incubator/stanbol/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/parent/pom.xml?rev=1197175&r1=1197174&r2=1197175&view=diff
==============================================================================
--- incubator/stanbol/trunk/parent/pom.xml (original)
+++ incubator/stanbol/trunk/parent/pom.xml Thu Nov  3 15:07:16 2011
@@ -24,7 +24,7 @@
   <packaging>pom</packaging>
   <version>0.9.0-incubating-SNAPSHOT</version>
 
-  <name>Apache Stanbol : Parent POM</name>
+  <name>Apache Stanbol Parent POM</name>
   <description>Parent POM for the Apache Stanbol project</description>
 
   <inceptionYear>2010</inceptionYear>
@@ -43,10 +43,7 @@
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <jersey-version>1.7</jersey-version>
-    <pax-exam-version>1.2.0</pax-exam-version>
-    
-    <!-- Defines the source release packaging when using apache-release profile -->
-    <sourceReleaseAssemblyDescriptor>source-release-zip-tar</sourceReleaseAssemblyDescriptor>
+    <pax-exam-version>1.2.0</pax-exam-version>    
   </properties>
 
   <build>

Modified: incubator/stanbol/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/pom.xml?rev=1197175&r1=1197174&r2=1197175&view=diff
==============================================================================
--- incubator/stanbol/trunk/pom.xml (original)
+++ incubator/stanbol/trunk/pom.xml Thu Nov  3 15:07:16 2011
@@ -19,6 +19,12 @@
          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.stanbol</groupId>
+    <artifactId>stanbol-parent</artifactId>
+    <version>0.9.0-incubating-SNAPSHOT</version>
+    <relativePath>parent</relativePath>
+  </parent>
 
   <groupId>org.apache.stanbol</groupId>
   <artifactId>stanbol-reactor</artifactId>
@@ -119,6 +125,15 @@
       </modules>
     </profile>
     <profile>
+      <id>apache-release</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <modules>
+        <module>releasing/framework/stanbol-framework-source-release-assembly-descriptor</module>
+      </modules>
+    </profile>
+    <profile>
       <id>kres</id>
       <activation>
         <activeByDefault>false</activeByDefault>

Modified: incubator/stanbol/trunk/releasing/framework/stanbol-framework-source-release-assembly-descriptor/src/main/resources/assemblies/source-shared.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/releasing/framework/stanbol-framework-source-release-assembly-descriptor/src/main/resources/assemblies/source-shared.xml?rev=1197175&r1=1197174&r2=1197175&view=diff
==============================================================================
--- incubator/stanbol/trunk/releasing/framework/stanbol-framework-source-release-assembly-descriptor/src/main/resources/assemblies/source-shared.xml (original)
+++ incubator/stanbol/trunk/releasing/framework/stanbol-framework-source-release-assembly-descriptor/src/main/resources/assemblies/source-shared.xml Thu Nov  3 15:07:16 2011
@@ -25,21 +25,43 @@
       <directory>.</directory>
       <outputDirectory>/</outputDirectory>
       <useDefaultExcludes>true</useDefaultExcludes>
+      <includes>
+        <include>DISCLAIMER</include>
+        <include>pom.xml</include>
+        <include>README.md</include>
+        
+        <include>parent/**</include>
+        <include>parent/**</include>
+        <include>frameworkfragment/**</include>
+        <include>commons/**</include>
+        <include>owl/**</include>
+        <include>entityhub/**</include>
+        <include>factstore/**</include>
+        
+        <include>enhancer/parent/**</include>
+        <include>enhancer/generic/servicesapi/**</include>
+        <include>enhancer/jobmanager/**</include>
+        <include>enhancer/generic/standalone/**</include>
+        <include>enhancer/jersey/**</include>
+        <include>enhancer/benchmark/**</include>
+        <include>enhancer/bundlelist/**</include>
+        
+        <include>contenthub/**</include>
+        <include>ontologymanager/ontonet/**</include>
+        <include>ontologymanager/registry/**</include>
+        <include>ontologymanager/web/**</include>
+        <include>ontologymanager/bundlelist/**</include>
+        <include>rules/**</include>
+
+        <include>cmsadapter/**</include>
+
+        <include>launchers/framework/**</include>
+        <include>releasing/**</include>
+      </includes>
       <excludes>
         <!-- exclude non Stanbol Framework folders -->
-        <exclude>cmsadapter/**</exclude>
         <exclude>commons/opennlp/**</exclude>
-        <exclude>data/**</exclude>
-        <exclude>demos</exclude>
-        <exclude>enhancer/engines/**</exclude>
-        <exclude>integration-tests/**</exclude>
-        <exclude>launchers/full/**</exclude>
-        <exclude>launchers/kres/**</exclude>
-        <exclude>launchers/stable/**</exclude>
-        <exclude>launchers/stateless/**</exclude>
-        <exclude>reasoners/**</exclude>
-        <exclude>reengineer/**</exclude>
-        <exclude>releasing/**</exclude>
+        <exclude>commons/webvie/**</exclude>
         
         <!-- build output -->
         <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]</exclude>
@@ -66,7 +88,7 @@
         <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.settings(/.*)?]</exclude>
         <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.externalToolBuilders(/.*)?]</exclude>
         <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.deployables(/.*)?]</exclude>
-        <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.wtpmodules(/.*)?]</exclude>
+        <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.wtpincludes(/.*)?]</exclude>
         
         <!-- misc -->
         <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?cobertura\.ser]</exclude>