diff options
Diffstat (limited to 'branches/sca-java-integration/pom/parent/pom.xml')
-rw-r--r-- | branches/sca-java-integration/pom/parent/pom.xml | 199 |
1 files changed, 199 insertions, 0 deletions
diff --git a/branches/sca-java-integration/pom/parent/pom.xml b/branches/sca-java-integration/pom/parent/pom.xml new file mode 100644 index 0000000000..58960cf03e --- /dev/null +++ b/branches/sca-java-integration/pom/parent/pom.xml @@ -0,0 +1,199 @@ +<?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>3</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>0.1-integration-incubating-SNAPSHOT</version> + + <prerequisites> + <maven>2.0.4</maven> + </prerequisites> + + <properties> + <notice.dir>.</notice.dir> + </properties> + + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/tuscany/java</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/tuscany/java</developerConnection> + <url>http://svn.apache.org/viewvc/incubator/tuscany/java</url> + </scm> + + <issueManagement> + <system>jira</system> + <url>http://issues.apache.org/jira/browse/TUSCANY</url> + </issueManagement> + + <repositories> + <!-- needed for Apache webServices artifacts --> + <repository> + <id>apache.ws.m1.snapshots</id> + <name>Apache Web Services M1 Snapshot Repository</name> + <url>http://ws.zones.apache.org/repository</url> + <layout>legacy</layout> + <snapshots> + <enabled>true</enabled> + </snapshots> + </repository> + </repositories> + + <pluginRepositories> + <!-- needed for OSGi plugin --> + <pluginRepository> + <id>apache.snapshots</id> + <name>Apache SNAPSHOT Repository</name> + <url>http://people.apache.org/repo/m2-snapshot-repository</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + + <!-- used for Plexus plugins --> + <pluginRepository> + <id>codehaus-snapshot</id> + <name>Codehaus Snapshot Repository</name> + <url>http://snapshots.repository.codehaus.org</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + + <!-- used for SDO plugins --> + <pluginRepository> + <id>apache.incubator</id> + <name>Apache Incubator Repository</name> + <url>http://people.apache.org/repo/m2-incubating-repository</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + </pluginRepository> + + </pluginRepositories> + + <distributionManagement> + <repository> + <id>apache.incubator</id> + <name>Apache Incubator Repository</name> + <url>scp://people.apache.org/www/people.apache.org/repo/m2-incubating-repository</url> + </repository> + <snapshotRepository> + <id>apache.snapshots</id> + <name>Apache 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> + + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.0.2</version> + <configuration> + <source>1.5</source> + <target>1.5</target> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.3</version> + <configuration> + <includes> + <include>**/*TestCase.java</include> + </includes> + <reportFormat>brief</reportFormat> + <useFile>false</useFile> + <forkMode>once</forkMode> + <argLine>-ea</argLine> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + + <profiles> + + <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> + <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> |