diff options
Diffstat (limited to 'sca-java-1.x/branches/sca-java-0.99/pom.xml')
-rw-r--r-- | sca-java-1.x/branches/sca-java-0.99/pom.xml | 218 |
1 files changed, 218 insertions, 0 deletions
diff --git a/sca-java-1.x/branches/sca-java-0.99/pom.xml b/sca-java-1.x/branches/sca-java-0.99/pom.xml new file mode 100644 index 0000000000..344feead9e --- /dev/null +++ b/sca-java-1.x/branches/sca-java-0.99/pom.xml @@ -0,0 +1,218 @@ +<?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.tuscany</groupId> + <artifactId>parent</artifactId> + <version>2-incubating</version> + </parent> + <groupId>org.apache.tuscany.sca</groupId> + <artifactId>tuscany-sca</artifactId> + <packaging>pom</packaging> + <name>Apache Tuscany SCA Implementation Project</name> + <url>http://incubator.apache.org/tuscany/</url> + <version>0.99-incubating-SNAPSHOT</version> + + <scm> + <connection>scm:svn:http://svn.apache.org/repos/asf/incubator/tuscany/java/sca</connection> + <developerConnection>scm:svn:https://svn.apache.org/repos/asf/incubator/tuscany/java/sca</developerConnection> + <url>http://svn.apache.org/repos/asf/incubator/tuscany/java/sca</url> + </scm> + + <repositories> + <repository> + <id>apache.incubator</id> + <url>http://people.apache.org/repo/m2-incubating-repository</url> + </repository> + </repositories> + + <profiles> + <profile> + <id>default</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <modules> + <module>modules</module> + <module>samples</module> + <module>itest</module> + </modules> + </profile> + + <profile> + <id>distribution</id> + <modules> + <module>modules</module> + <module>samples</module> + <module>itest</module> + <module>distribution</module> + </modules> + </profile> + + <profile> + <id>eclipse</id> + <modules> + <module>modules</module> + <module>samples</module> + <module>itest</module> + <module>demos</module> + </modules> + </profile> + </profiles> + + <build> + <defaultGoal>install</defaultGoal> + + <resources> + <resource> + <directory>src/main/resources</directory> + </resource> + <resource> + <directory>${notice.dir}</directory> + <targetPath>META-INF</targetPath> + <filtering>true</filtering> + <includes> + <include>DISCLAIMER</include> + <include>LICENSE</include> + <include>NOTICE</include> + </includes> + </resource> + </resources> + + <pluginManagement> + <plugins> + + <!-- compiler plugin configuration --> + <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> + + <!-- surefire plugin configuration --> + <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 -Xmx128m</argLine> + </configuration> + </plugin> + + <!-- jar plugin configuration --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>2.1</version> + <configuration> + <archive> + <manifestEntries> + <Extension-Name>${project.artifactId}</Extension-Name> + <Specification-Title>${name}</Specification-Title> + <Specification-Vendor>The Apache Software Foundation</Specification-Vendor> + <Specification-Version>${version}</Specification-Version> + <Implementation-Title>${name}</Implementation-Title> + <Implementation-Vendor-Id>org.apache</Implementation-Vendor-Id> + <Implementation-Vendor>The Apache Software Foundation</Implementation-Vendor> + <Implementation-Version>${version}</Implementation-Version> + </manifestEntries> + </archive> + </configuration> + </plugin> + + <!-- source code style check plugin configuration --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-checkstyle-plugin</artifactId> + <version>2.1</version> + <dependencies> + <dependency> + <groupId>org.apache.tuscany</groupId> + <artifactId>buildtools</artifactId> + <version>2-incubating</version> + </dependency> + </dependencies> + <executions> + <execution> + <id>process-sources</id> + <phase>process-sources</phase> + <configuration> + <configLocation>tuscany-checkstyle.xml</configLocation> + <suppressionsLocation>tuscany-suppressions.xml</suppressionsLocation> + <consoleOutput>true</consoleOutput> + <failsOnError>true</failsOnError> + <linkXRef>false</linkXRef> + <sourceDirectory>${basedir}/src</sourceDirectory> + <propertyExpansion>${checkstyle.properties}</propertyExpansion> + </configuration> + <goals> + <goal>checkstyle</goal> + </goals> + </execution> + </executions> + </plugin> + + <!-- code semantic check plugin configuration --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-pmd-plugin</artifactId> + <version>2.1</version> + <configuration> + <rulesets> + <ruleset>${basedir}/.ruleset</ruleset> + </rulesets> + <linkXRef>false</linkXRef> + <targetJdk>1.5</targetJdk> + </configuration> + <executions> + <execution> + <id>process-sources</id> + <phase>process-sources</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + + <!-- code coverage check plugin configuration --> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-clover-plugin</artifactId> + <configuration> + <jdk>1.5</jdk> + </configuration> + </plugin> + </plugins> + </pluginManagement> + </build> + +</project> |