Author: fchrist
Date: Thu Jan 5 16:07:53 2012
New Revision: 1227661
URL: http://svn.apache.org/viewvc?rev=1227661&view=rev
Log:
STANBOL-443 Added initial version of source release assembly descriptor.
Added:
incubator/stanbol/trunk/releasing/stack/
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/pom.xml
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/resources/
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/resources/assemblies/
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/resources/assemblies/source-shared.xml
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/resources/assemblies/stack-source-release-zip-tar.xml
Added:
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/pom.xml?rev=1227661&view=auto
==============================================================================
---
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/pom.xml
(added)
+++
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/pom.xml
Thu Jan 5 16:07:53 2012
@@ -0,0 +1,88 @@
+<?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.apache.resources</groupId>
+ <artifactId>apache-resource-bundles</artifactId>
+ <version>3</version>
+ </parent>
+
+ <groupId>org.apache.stanbol.release</groupId>
+ <artifactId>stanbol-stack-source-release-assembly-descriptor</artifactId>
+ <packaging>jar</packaging>
+ <version>0.9.0-incubating-SNAPSHOT</version>
+
+ <name>Apache Stanbol Stack Source Release Assembly Descriptor</name>
+ <description>
+ This jar contains a customized source assembly descriptor to produce
Apache Stanbol compliant source bundles.
+ </description>
+
+ <scm>
+
<connection>scm:svn:http://svn.apache.org/repos/asf/incubator/stanbol/trunk/release/apache-stanbol-stack-source-release-assembly-descriptor</connection>
+
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/stanbol/trunk/release/apache-stanbol-stack-source-release-assembly-descriptor</developerConnection>
+ <url>http://incubator.apache.org/stanbol</url>
+ </scm>
+
+ <!-- workaround find from :
https://issues.apache.org/jira/browse/SLING-2164b-->
+ <!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself.-->
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.5</version>
+ </plugin>
+ </plugins>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <versionRange>[1.0,)</versionRange>
+ <goals>
+ <goal>bundle</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <execute />
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+</project>
Added:
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/resources/assemblies/source-shared.xml
URL:
http://svn.apache.org/viewvc/incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/resources/assemblies/source-shared.xml?rev=1227661&view=auto
==============================================================================
---
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/resources/assemblies/source-shared.xml
(added)
+++
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/resources/assemblies/source-shared.xml
Thu Jan 5 16:07:53 2012
@@ -0,0 +1,91 @@
+<?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.
+-->
+
+<component>
+ <fileSets>
+ <!-- main project directory structure -->
+ <fileSet>
+ <directory>.</directory>
+ <outputDirectory>/</outputDirectory>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <includes>
+ <!-- include everything by default -->
+ <include>*/**</include>
+ </includes>
+ <excludes>
+ <!-- unstable/old stuff in enhancer -->
+ <exclude>enhancer/autotagging/**</exclude>
+ <exclude>enhancer/dereferencing/**</exclude>
+ <exclude>enhancer/query-rendering/**</exclude>
+ <exclude>enhancer/SemiAutomaticContentEnhancer/**</exclude>
+ <exclude>enhancer/stores/**</exclude>
+
+ <!-- demos have their own release cycle -->
+ <exclude>demos/**</exclude>
+
+ <!-- exclude components of KReS profile -->
+ <exclude>ontologymanager/store/**</exclude>
+ <exclude>reasoners/**</exclude>
+ <exclude>reengineering/**</exclude>
+ <exclude>explanation/**</exclude>
+ <exclude>launchers/kres/**</exclude>
+
+ <!-- build output -->
+
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]</exclude>
+
+ <!-- NOTE: Most of the following excludes should not be required
+ if the standard release process is followed. This is because the
+ release plugin checks out project sources into a location like
+ target/checkout, then runs the build from there. The result is
+ a source-release archive that comes from a pretty clean directory
+ structure.
+
+ HOWEVER, if the release plugin is configured to run extra goals
+ or generate a project website, it's definitely possible that some
+ of these files will be present. So, it's safer to exclude them.
+ -->
+
+ <!-- IDEs -->
+
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?maven-eclipse\.xml]</exclude>
+
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.project]</exclude>
+
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.classpath]</exclude>
+
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iws]</exclude>
+
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.ipr]</exclude>
+
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iml]</exclude>
+
<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/)(.*/)?\.wtpincludes(/.*)?]</exclude>
+
+ <!-- misc -->
+
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?cobertura\.ser]</exclude>
+
+ <!-- release-plugin temp files -->
+
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.releaseBackup]</exclude>
+
<exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?release\.properties]</exclude>
+ </excludes>
+ </fileSet>
+ <!-- license, readme, etc. calculated at build time -->
+ <fileSet>
+
<directory>${project.build.directory}/maven-shared-archive-resources/META-INF</directory>
+ <outputDirectory>/</outputDirectory>
+ </fileSet>
+ </fileSets>
+</component>
Added:
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/resources/assemblies/stack-source-release-zip-tar.xml
URL:
http://svn.apache.org/viewvc/incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/resources/assemblies/stack-source-release-zip-tar.xml?rev=1227661&view=auto
==============================================================================
---
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/resources/assemblies/stack-source-release-zip-tar.xml
(added)
+++
incubator/stanbol/trunk/releasing/stack/stanbol-stack-source-release-assembly-descriptor/src/main/resources/assemblies/stack-source-release-zip-tar.xml
Thu Jan 5 16:07:53 2012
@@ -0,0 +1,30 @@
+<?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.
+-->
+
+<assembly>
+ <id>source-release</id>
+ <formats>
+ <format>zip</format>
+ <format>tar.gz</format>
+ </formats>
+ <componentDescriptors>
+ <componentDescriptor>assemblies/source-shared.xml</componentDescriptor>
+ </componentDescriptors>
+</assembly>