diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 97 |
1 files changed, 62 insertions, 35 deletions
@@ -1,34 +1,31 @@ <?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 + <!-- + 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. ---> + 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> - + <parent> <artifactId>maven-plugins</artifactId> <groupId>org.apache.maven.plugins</groupId> <version>14</version> </parent> - + <artifactId>maven-nar-plugin</artifactId> <version>2.1-SNAPSHOT</version> <packaging>maven-plugin</packaging> @@ -38,11 +35,11 @@ under the License. This plugin compiles native code and publishes native artifacts in the for of nar files. </description> <url>http://java.freehep.org/freehep-nar-plugin/intro.html</url> - + <prerequisites> <maven>2.0.6</maven> </prerequisites> - + <scm> <connection>scm:git:git://github.com/duns/maven-nar-plugin.git</connection> <developerConnection>scm:git:git://github.com/duns/maven-nar-plugin.git</developerConnection> @@ -55,7 +52,7 @@ under the License. <properties> <mavenVersion>2.0.6</mavenVersion> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> @@ -84,20 +81,15 @@ under the License. <artifactId>plexus-compiler-api</artifactId> <version>1.5.3</version> </dependency> - -<!-- FIXME No Longer Needed ? - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - <version>1.2</version> - </dependency> - <dependency> + + <!-- + FIXME No Longer Needed ? <dependency> <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> <version>1.2</version> + </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-archiver</artifactId> - <version>1.0-alpha-11</version> - </dependency> - - --> + <version>1.0-alpha-11</version> </dependency> + --> <dependency> <groupId>net.sf.antcontrib</groupId> <artifactId>cpptasks-parallel</artifactId> @@ -120,8 +112,43 @@ under the License. <scope>test</scope> </dependency> </dependencies> - + <build> <defaultGoal>install</defaultGoal> </build> + + <profiles> + <profile> + <id>run-its</id> + + <properties> + <localRepositoryUrl>${project.build.directory}/it-repo</localRepositoryUrl> + </properties> + + <build> + <plugins> + <plugin> + <artifactId>maven-invoker-plugin</artifactId> + <version>1.4</version> + <configuration> + <debug>true</debug> + <pomExcludes> + <pomExclude>it-parent/**</pomExclude> + </pomExcludes> + <localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath> + </configuration> + <executions> + <execution> + <id>integration-test</id> + <goals> + <goal>install</goal> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project> |