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 2012/11/08 10:35:40 UTC
svn commit: r1406981 - in /stanbol/trunk/contenthub: pom.xml web/pom.xml
Author: fchrist
Date: Thu Nov 8 09:35:40 2012
New Revision: 1406981
URL: http://svn.apache.org/viewvc?rev=1406981&view=rev
Log:
STANBOL-799 Adjusted reactor POM to create the Contenthub release package
Modified:
stanbol/trunk/contenthub/pom.xml
stanbol/trunk/contenthub/web/pom.xml
Modified: stanbol/trunk/contenthub/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/contenthub/pom.xml?rev=1406981&r1=1406980&r2=1406981&view=diff
==============================================================================
--- stanbol/trunk/contenthub/pom.xml (original)
+++ stanbol/trunk/contenthub/pom.xml Thu Nov 8 09:35:40 2012
@@ -14,6 +14,13 @@
<modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>stanbol-parent</artifactId>
+ <version>2-SNAPSHOT</version>
+ <relativePath>../parent</relativePath>
+ </parent>
+
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.contenthub.reactor</artifactId>
<version>0.10.0-SNAPSHOT</version>
@@ -45,4 +52,80 @@
<module>bundlelist</module>
</modules>
+ <profiles>
+ <profile>
+ <id>apache-release</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludeSubProjects>false</excludeSubProjects>
+ <excludes>
+ <!--
+ All license headers are also checked per
+ artifact. These excludes are necessary
+ to make the reactor build suceed. Consider
+ the excluded files here as already checked
+ in the artifacts.
+ -->
+
+ <!-- exclude hidden files -->
+ <exclude>**/.*</exclude>
+ <exclude>**/.*/*</exclude>
+ <exclude>**/.*/**/*</exclude>
+
+ <!-- exclude build files -->
+ <exclude>**/target/**</exclude>
+ <exclude>**/*.log</exclude>
+
+ <!-- exclude generated files listing the licenses of deps -->
+ <exclude>DEPENDENCIES</exclude>
+ <exclude>DEPENDENCIES-BY-LICENSE</exclude>
+ <exclude>RAT-REPORT</exclude>
+ <exclude>**/src/license/THIRD-PARTY.properties</exclude>
+
+ <!-- exclude certain file types -->
+ <exclude>**/*.config</exclude>
+ <exclude>**/*.cfg</exclude>
+ <exclude>**/*.ref</exclude>
+ <exclude>**/*.txt</exclude>
+ <exclude>**/*.tsv</exclude>
+ <exclude>**/*.sem</exclude>
+ <exclude>**/*.svg</exclude>
+ <exclude>**/*.css</exclude>
+ <exclude>**/*.js</exclude>
+
+ <!-- exclude test files -->
+ <exclude>**/test/**/*.eml</exclude>
+ <exclude>**/test/**/*.nt</exclude>
+ <exclude>**/test/**/*.html</exclude>
+ <exclude>**/test/**/*.xhtml</exclude>
+ <exclude>**/test/**/*.rdf</exclude>
+ <exclude>**/test/**/*.rtf</exclude>
+ <exclude>**/test/**/*.rules</exclude>
+ <exclude>**/test/**/*.odt</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>license-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>aggregate-add-third-party</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>
Modified: stanbol/trunk/contenthub/web/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/contenthub/web/pom.xml?rev=1406981&r1=1406980&r2=1406981&view=diff
==============================================================================
--- stanbol/trunk/contenthub/web/pom.xml (original)
+++ stanbol/trunk/contenthub/web/pom.xml Thu Nov 8 09:35:40 2012
@@ -1,14 +1,20 @@
<?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. -->
+<!--
+ 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>