Home | History | Annotate | Download | only in 2.4
      1 <?xml version='1.0' encoding='UTF-8'?>
      2 
      3 <!--
      4 Licensed to the Apache Software Foundation (ASF) under one
      5 or more contributor license agreements.  See the NOTICE file
      6 distributed with this work for additional information
      7 regarding copyright ownership.  The ASF licenses this file
      8 to you under the Apache License, Version 2.0 (the
      9 "License"); you may not use this file except in compliance
     10 with the License.  You may obtain a copy of the License at
     11 
     12   http://www.apache.org/licenses/LICENSE-2.0
     13 
     14 Unless required by applicable law or agreed to in writing,
     15 software distributed under the License is distributed on an
     16 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
     17 KIND, either express or implied.  See the License for the
     18 specific language governing permissions and limitations
     19 under the License.
     20 -->
     21 
     22 <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">
     23   <modelVersion>4.0.0</modelVersion>
     24 
     25   <parent>
     26     <artifactId>maven-plugins</artifactId>
     27     <groupId>org.apache.maven.plugins</groupId>
     28     <version>23</version>
     29     <relativePath>../maven-plugins/pom.xml</relativePath>
     30   </parent>
     31 
     32   <artifactId>maven-install-plugin</artifactId>
     33   <version>2.4</version>
     34   <packaging>maven-plugin</packaging>
     35 
     36   <name>Maven Install Plugin</name>
     37   <description>Copies the project artifacts to the user's local repository.</description>
     38   <inceptionYear>2004</inceptionYear>
     39 
     40   <prerequisites>
     41     <maven>${mavenVersion}</maven>
     42   </prerequisites>
     43 
     44   <scm>
     45     <connection>scm:svn:http://svn.apache.org/repos/asf/maven/plugins/tags/maven-install-plugin-2.4</connection>
     46     <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-install-plugin-2.4</developerConnection>
     47     <url>http://svn.apache.org/viewvc/maven/plugins/tags/maven-install-plugin-2.4</url>
     48   </scm>
     49   <issueManagement>
     50     <system>jira</system>
     51     <url>http://jira.codehaus.org/browse/MINSTALL</url>
     52   </issueManagement>
     53 
     54   <properties>
     55     <mavenVersion>2.0.6</mavenVersion>
     56     <mavenPluginPluginVersion>3.1</mavenPluginPluginVersion>
     57   </properties>
     58 
     59   <dependencies>
     60     <dependency>
     61       <groupId>org.apache.maven</groupId>
     62       <artifactId>maven-plugin-api</artifactId>
     63       <version>${mavenVersion}</version>
     64     </dependency>
     65     <dependency>
     66       <groupId>org.apache.maven</groupId>
     67       <artifactId>maven-project</artifactId>
     68       <version>${mavenVersion}</version>
     69     </dependency>
     70     <dependency>
     71       <groupId>org.apache.maven</groupId>
     72       <artifactId>maven-model</artifactId>
     73       <version>${mavenVersion}</version>
     74     </dependency>
     75     <dependency>
     76       <groupId>org.apache.maven</groupId>
     77       <artifactId>maven-artifact-manager</artifactId>
     78       <version>${mavenVersion}</version>
     79     </dependency>
     80     <dependency>
     81       <groupId>org.apache.maven</groupId>
     82       <artifactId>maven-artifact</artifactId>
     83       <version>${mavenVersion}</version>
     84     </dependency>
     85 
     86     <!-- dependencies to annotations -->
     87     <dependency>
     88       <groupId>org.apache.maven.plugin-tools</groupId>
     89       <artifactId>maven-plugin-annotations</artifactId>
     90       <version>${mavenPluginPluginVersion}</version>
     91       <scope>provided</scope>
     92     </dependency>
     93 
     94     <dependency>
     95       <groupId>org.apache.maven.plugin-testing</groupId>
     96       <artifactId>maven-plugin-testing-harness</artifactId>
     97       <version>1.2</version>
     98       <scope>test</scope>
     99     </dependency>
    100     <dependency>
    101       <groupId>org.codehaus.plexus</groupId>
    102       <artifactId>plexus-utils</artifactId>
    103       <version>3.0.5</version>
    104     </dependency>
    105     <dependency>
    106       <groupId>org.codehaus.plexus</groupId>
    107       <artifactId>plexus-digest</artifactId>
    108       <version>1.0</version>
    109     </dependency>
    110   </dependencies>
    111 
    112   <contributors>
    113     <contributor>
    114       <name>Ludwig Magnusson</name>
    115     </contributor>
    116   </contributors>
    117 
    118   <build>
    119 
    120     <pluginManagement>
    121       <plugins>
    122         <plugin>
    123           <groupId>org.apache.maven.plugins</groupId>
    124           <artifactId>maven-plugin-plugin</artifactId>
    125           <version>${mavenPluginPluginVersion}</version>
    126           <configuration>
    127             <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
    128           </configuration>
    129           <executions>
    130             <execution>
    131               <id>mojo-descriptor</id>
    132               <phase>process-classes</phase>
    133               <goals>
    134                 <goal>descriptor</goal>
    135               </goals>
    136             </execution>
    137             <execution>
    138               <id>help-goal</id>
    139               <goals>
    140                 <goal>helpmojo</goal>
    141               </goals>
    142             </execution>
    143           </executions>
    144         </plugin>
    145       </plugins>
    146     </pluginManagement>
    147   </build>
    148 
    149   <reporting>
    150     <plugins>
    151       <plugin>
    152         <groupId>org.apache.maven.plugins</groupId>
    153         <artifactId>maven-plugin-plugin</artifactId>
    154         <version>${mavenPluginPluginVersion}</version>
    155       </plugin>
    156     </plugins>
    157   </reporting>
    158 
    159   <profiles>
    160     <profile>
    161       <id>run-its</id>
    162       <build>
    163         <pluginManagement>
    164           <plugins>
    165             <plugin>
    166               <groupId>org.apache.maven.plugins</groupId>
    167               <artifactId>maven-invoker-plugin</artifactId>
    168               <version>1.7</version>
    169               <configuration>
    170                 <debug>true</debug>
    171                 <projectsDirectory>src/it</projectsDirectory>
    172                 <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
    173                 <pomIncludes>
    174                   <pomInclude>*/pom.xml</pomInclude>
    175                   <pomInclude>*/non-default-pom.xml</pomInclude>
    176                 </pomIncludes>
    177                 <preBuildHookScript>setup</preBuildHookScript>
    178                 <postBuildHookScript>verify</postBuildHookScript>
    179                 <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
    180                 <settingsFile>src/it/settings.xml</settingsFile>
    181                 <addTestClassPath>true</addTestClassPath>
    182                 <goals>
    183                   <goal>clean</goal>
    184                   <goal>install</goal>
    185                 </goals>
    186               </configuration>
    187             </plugin>
    188           </plugins>
    189         </pluginManagement>
    190       </build>
    191     </profile>
    192   </profiles>
    193 </project>
    194