| <?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 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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-shared-components</artifactId> |
| <version>18</version> |
| <relativePath>../maven-shared-components/pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>maven-invoker</artifactId> |
| <version>2.1.1</version> |
| |
| <name>Maven Invoker</name> |
| <description>A component to programmatically invoke Maven.</description> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/maven/shared/tags/maven-invoker-2.1.1</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/shared/tags/maven-invoker-2.1.1</developerConnection> |
| <url>http://svn.apache.org/viewvc/maven/shared/tags/maven-invoker-2.1.1</url> |
| </scm> |
| <issueManagement> |
| <system>jira</system> |
| <url>http://jira.codehaus.org/browse/MSHARED/component/13271</url> |
| </issueManagement> |
| |
| <contributors> |
| <contributor> |
| <name>Lucien Weller</name> |
| </contributor> |
| </contributors> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>3.0.8</version> |
| </dependency> |
| <!-- |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-shared-utils</artifactId> |
| <version>0.1-SNAPSHOT</version> |
| </dependency> |
| --> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-annotations</artifactId> |
| <version>1.5.5</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.2</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <redirectTestOutputToFile>true</redirectTestOutputToFile> |
| <systemProperties> |
| <!-- required for maven-invoker to locate Maven installation --> |
| <property> |
| <name>maven.home</name> |
| <value>${maven.home}</value> |
| </property> |
| </systemProperties> |
| <excludes> |
| <exclude>test-build-should*/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-metadata</artifactId> |
| <executions> |
| <execution> |
| <id>create-component-descriptor</id> |
| <goals> |
| <goal>generate-metadata</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>maven-repo-local</id> |
| <activation> |
| <property> |
| <name>maven.repo.local</name> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemProperties combine.children="append"> |
| <property> |
| <name>maven.repo.local</name> |
| <value>${maven.repo.local}</value> |
| </property> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <profile> |
| <id>apache-release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>source-release-assembly</id> |
| <configuration> |
| <skipAssembly>true</skipAssembly> |
| </configuration> |
| </execution> |
| <execution> |
| <id>source-release-assembly-fixed</id> |
| <phase>package</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/main/assembly/source-release.xml</descriptor> |
| </descriptors> |
| <tarLongFileFormat>gnu</tarLongFileFormat> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |