16dec04a77
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@671774 13f79535-47bb-0310-9956-ffa450edef68
176 lines
6.4 KiB
XML
176 lines
6.4 KiB
XML
<?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>
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.apache</groupId>
|
|
<artifactId>apache</artifactId>
|
|
<version>4</version>
|
|
</parent>
|
|
<groupId>org.apache.tuscany</groupId>
|
|
<artifactId>parent</artifactId>
|
|
<packaging>pom</packaging>
|
|
<name>Apache Tuscany Project Parent</name>
|
|
<description>Parent POM defining settings that can be used across Tuscany</description>
|
|
<version>3-SNAPSHOT</version>
|
|
|
|
<prerequisites>
|
|
<maven>2.0.6</maven>
|
|
</prerequisites>
|
|
|
|
<properties>
|
|
<notice.dir>.</notice.dir>
|
|
</properties>
|
|
|
|
<issueManagement>
|
|
<system>jira</system>
|
|
<url>http://issues.apache.org/jira/browse/TUSCANY</url>
|
|
</issueManagement>
|
|
|
|
<repositories>
|
|
<!--
|
|
The central Maven repository and Apache SNAPSHOT repository are inherited from the parent POM
|
|
-->
|
|
|
|
<!-- Apache Incubator repository for artifacts released by Incubator projects -->
|
|
<repository>
|
|
<id>apache.incubator</id>
|
|
<name>Apache Incubator Repository</name>
|
|
<url>http://people.apache.org/repo/m2-incubating-repository</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<pluginRepositories>
|
|
<!-- Apache Incubator repository for artifacts released by Incubator projects -->
|
|
<pluginRepository>
|
|
<id>apache.incubator</id>
|
|
<name>Apache Incubator Repository</name>
|
|
<url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
|
|
<releases>
|
|
<enabled>true</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>false</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
|
|
<!-- Apache SNAPSHOT repository for unreleased artifacts -->
|
|
<pluginRepository>
|
|
<id>apache.snapshots</id>
|
|
<name>Apache SNAPSHOT Repository</name>
|
|
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
|
|
<releases>
|
|
<enabled>false</enabled>
|
|
</releases>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
|
|
<!-- Codehaus SNAPSHOT repository -->
|
|
<pluginRepository>
|
|
<id>codehaus-snapshot</id>
|
|
<name>Codehaus Snapshot Repository</name>
|
|
<url>http://snapshots.repository.codehaus.org</url>
|
|
<snapshots>
|
|
<enabled>true</enabled>
|
|
</snapshots>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>apache.releases</id>
|
|
<name>Apache Release Distribution Repository</name>
|
|
<url>scp://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>apache.snapshots</id>
|
|
<name>Apache Development Snapshot Repository</name>
|
|
<url>scp://people.apache.org/www/people.apache.org/repo/m2-snapshot-repository</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<build>
|
|
<resources>
|
|
<resource>
|
|
<directory>src/main/resources</directory>
|
|
</resource>
|
|
<resource>
|
|
<directory>${notice.dir}</directory>
|
|
<targetPath>META-INF</targetPath>
|
|
<filtering>true</filtering>
|
|
<includes>
|
|
<include>LICENSE.txt</include>
|
|
<include>NOTICE.txt</include>
|
|
</includes>
|
|
</resource>
|
|
</resources>
|
|
</build>
|
|
|
|
<profiles>
|
|
<!-- profile for generating Eclipse project definitions -->
|
|
<profile>
|
|
<!-- this is kind of a hack for eclipse. Eclipse doesn't like "." as a resource directory as then you have
|
|
source directories inside a source directory which causes all kinds of errors. We'll just point
|
|
the resources directory back to the resources directory. The NOTICE and LICSENSE files
|
|
won't be included in the eclipse builds, but it at least works.
|
|
-->
|
|
<id>eclipse</id>
|
|
<properties>
|
|
<notice.dir>src/main/resources</notice.dir>
|
|
</properties>
|
|
</profile>
|
|
|
|
<!-- profile for verifying source code correctness -->
|
|
<profile>
|
|
<id>sourcecheck</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>1.5</source>
|
|
<target>1.5</target>
|
|
<showDeprecation>true</showDeprecation>
|
|
<compilerArgument>-Xlint:unchecked,deprecation,fallthrough,finally</compilerArgument>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
</project>
|