Home | History | Annotate | Download | only in 3.1
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <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">
      3 
      4   <modelVersion>4.0.0</modelVersion>
      5   <groupId>org.easymock</groupId>
      6   <artifactId>easymock-parent</artifactId>
      7   <version>3.1</version>
      8   <packaging>pom</packaging>
      9   <name>EasyMock Parent</name>
     10   <url>http://www.easymock.org</url>
     11   <description>EasyMock Parent is the parent pom of all EasyMock projects</description>
     12   <inceptionYear>2010</inceptionYear>
     13   <licenses>
     14     <license>
     15       <name>Apache 2</name>
     16       <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
     17       <distribution>repo</distribution>
     18     </license>
     19   </licenses>
     20   <organization>
     21     <name>Henri Tremblay</name>
     22   </organization>
     23   <developers>
     24     <developer>
     25       <id>henri</id>
     26       <name>Henri Tremblay</name>
     27       <url>http://www.ossia-conseil.com/blog/henri</url>
     28       <organization>OCTO Technology</organization>
     29       <organizationUrl>http://www.octo.com/</organizationUrl>
     30       <timezone>+1</timezone>
     31     </developer>
     32   </developers>
     33   <issueManagement>
     34     <system>Codehaus</system>
     35     <url>http://jira.codehaus.org/browse/EASYMOCK</url>
     36   </issueManagement>
     37   <mailingLists>
     38     <mailingList>
     39       <name>User List</name>
     40       <subscribe>From Yahoo groups</subscribe>
     41       <unsubscribe>easymock-unsubscribe (a] yahoogroups.com</unsubscribe>
     42       <post>easymock (a] yahoogroups.com</post>
     43       <archive>http://tech.groups.yahoo.com/group/easymock/</archive>
     44     </mailingList>
     45   </mailingLists>
     46   <scm>
     47     <url>http://easymock.svn.sourceforge.net/viewvc/easymock/trunk</url>
     48     <developerConnection>scm:svn:https://easymock.svn.sourceforge.net/svnroot/easymock/trunk</developerConnection>
     49     <connection>scm:svn:http://easymock.svn.sourceforge.net/svnroot/easymock/trunk</connection>
     50   </scm>
     51   <dependencies>
     52     <dependency>
     53       <groupId>junit</groupId>
     54       <artifactId>junit</artifactId>
     55       <version>4.10</version>
     56       <scope>test</scope>
     57     </dependency>
     58   </dependencies>
     59   <build>
     60     <pluginManagement>
     61       <plugins>
     62         <plugin>
     63           <groupId>org.codehaus.mojo</groupId>
     64           <artifactId>build-helper-maven-plugin</artifactId>
     65           <version>1.7</version>
     66         </plugin>
     67         <plugin>
     68           <groupId>com.mycila.maven-license-plugin</groupId>
     69           <artifactId>maven-license-plugin</artifactId>
     70           <version>1.10.b1</version>
     71           <configuration>
     72             <header>file://../header.txt</header>
     73             <strictCheck>true</strictCheck>
     74             <includes>
     75               <!-- Only copyright the java -->
     76               <include>src/main/java/**</include>
     77               <include>src/test/java/**</include>
     78               <include>src/samples/java/**</include>
     79             </includes>
     80             <properties>
     81               <inceptionYear>${project.inceptionYear}</inceptionYear>
     82               <year>${year}</year>
     83             </properties>
     84           </configuration>
     85           <executions>
     86             <execution>
     87               <id>check</id>
     88               <goals>
     89                 <goal>check</goal>
     90               </goals>
     91             </execution>
     92           </executions>
     93         </plugin>
     94         <plugin>
     95           <artifactId>maven-gpg-plugin</artifactId>
     96           <version>1.4</version>
     97           <executions>
     98             <execution>
     99               <id>sign-artifacts</id>
    100               <phase>verify</phase>
    101               <goals>
    102                 <goal>sign</goal>
    103               </goals>
    104             </execution>
    105           </executions>
    106         </plugin>
    107         <plugin>
    108           <groupId>org.apache.felix</groupId>
    109           <artifactId>maven-bundle-plugin</artifactId>
    110           <version>2.3.5</version>
    111         </plugin>
    112         <plugin>
    113           <groupId>com.atlassian.maven.plugins</groupId>
    114           <artifactId>maven-clover2-plugin</artifactId>
    115           <version>3.1.0</version>
    116           <configuration>
    117             <licenseLocation>${basedir}/clover.license</licenseLocation>
    118           </configuration>
    119           <dependencies>
    120             <dependency>
    121               <groupId>org.codehaus.plexus</groupId>
    122               <artifactId>plexus-resources</artifactId>
    123               <version>1.0-alpha-7</version>
    124             </dependency>
    125           </dependencies>
    126         </plugin>
    127         <plugin>
    128           <artifactId>maven-assembly-plugin</artifactId>
    129           <version>2.2.1</version>
    130           <executions>
    131             <execution>
    132               <id>easymock-bundle</id>
    133               <phase>package</phase>
    134               <goals>
    135                 <goal>single</goal>
    136               </goals>
    137               <configuration>
    138                 <finalName>${project.artifactId}-${project.version}</finalName>
    139                 <attach>false</attach>
    140                 <descriptors>
    141                   <descriptor>${basedir}/src/main/assembly/assembly-tests.xml</descriptor>
    142                   <descriptor>${basedir}/src/main/assembly/assembly-samples.xml</descriptor>
    143                   <descriptor>${basedir}/src/main/assembly/assembly.xml</descriptor>
    144                 </descriptors>
    145               </configuration>
    146             </execution>
    147           </executions>
    148         </plugin>
    149         <plugin>
    150           <artifactId>maven-surefire-plugin</artifactId>
    151           <version>2.9</version>
    152         </plugin>
    153         <plugin>
    154           <artifactId>maven-clean-plugin</artifactId>
    155           <version>2.4.1</version>
    156         </plugin>
    157         <plugin>
    158           <artifactId>maven-deploy-plugin</artifactId>
    159           <version>2.7</version>
    160         </plugin>
    161         <plugin>
    162           <artifactId>maven-install-plugin</artifactId>
    163           <version>2.3.1</version>
    164         </plugin>
    165         <plugin>
    166           <artifactId>maven-resources-plugin</artifactId>
    167           <version>2.5</version>
    168         </plugin>
    169         <plugin>
    170           <artifactId>maven-site-plugin</artifactId>
    171           <version>3.0</version>
    172         </plugin>
    173         <plugin>
    174           <artifactId>maven-source-plugin</artifactId>
    175           <version>2.1.2</version>
    176         </plugin>
    177         <plugin>
    178           <artifactId>maven-javadoc-plugin</artifactId>
    179           <version>2.8</version>
    180         </plugin>
    181       </plugins>
    182     </pluginManagement>
    183     <plugins>
    184       <plugin>
    185         <artifactId>maven-remote-resources-plugin</artifactId>
    186         <version>1.2.1</version>
    187         <executions>
    188           <execution>
    189             <goals>
    190               <goal>process</goal>
    191             </goals>
    192             <configuration>
    193               <resourceBundles>
    194                 <resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>
    195               </resourceBundles>
    196             </configuration>
    197           </execution>
    198         </executions>
    199       </plugin>
    200       <plugin>
    201         <groupId>com.keyboardsamurais.maven</groupId>
    202         <artifactId>maven-timestamp-plugin</artifactId>
    203         <version>1.0</version>
    204         <executions>
    205           <execution>
    206             <id>date</id>
    207             <goals>
    208               <goal>create</goal>
    209             </goals>
    210             <configuration>
    211               <propertyName>date</propertyName>
    212               <timestampPattern>yyyy-MM-dd</timestampPattern>
    213             </configuration>
    214           </execution>
    215           <execution>
    216             <id>year</id>
    217             <goals>
    218               <goal>create</goal>
    219             </goals>
    220             <configuration>
    221               <propertyName>year</propertyName>
    222               <timestampPattern>yyyy</timestampPattern>
    223             </configuration>
    224           </execution>
    225           <execution>
    226             <id>year-site</id>
    227             <phase>pre-site</phase>
    228             <goals>
    229               <goal>create</goal>
    230             </goals>
    231             <configuration>
    232               <propertyName>year</propertyName>
    233               <timestampPattern>yyyy</timestampPattern>
    234             </configuration>
    235           </execution>
    236         </executions>
    237       </plugin>
    238       <plugin>
    239         <artifactId>maven-compiler-plugin</artifactId>
    240         <version>2.3.2</version>
    241         <configuration>
    242           <source>1.5</source>
    243           <target>1.5</target>
    244         </configuration>
    245       </plugin>
    246       <plugin>
    247         <artifactId>maven-jar-plugin</artifactId>
    248         <version>2.3.2</version>
    249         <configuration>
    250           <useDefaultManifestFile>true</useDefaultManifestFile>
    251           <archive>
    252             <index>true</index>
    253             <addMavenDescriptor>false</addMavenDescriptor>
    254             <manifest>
    255               <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
    256               <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
    257             </manifest>
    258           </archive>
    259         </configuration>
    260       </plugin>
    261       <plugin>
    262         <artifactId>maven-surefire-plugin</artifactId>
    263       </plugin>
    264       <plugin>
    265         <groupId>org.codehaus.mojo</groupId>
    266         <artifactId>versions-maven-plugin</artifactId>
    267         <version>1.2</version>
    268       </plugin>
    269     </plugins>
    270     <extensions>
    271       <extension>
    272         <groupId>org.apache.maven.wagon</groupId>
    273         <artifactId>wagon-ssh-external</artifactId>
    274         <version>1.0-beta-6</version>
    275       </extension>
    276     </extensions>
    277   </build>
    278   <reporting>
    279     <plugins>
    280       <plugin>
    281         <artifactId>maven-javadoc-plugin</artifactId>
    282         <version>2.8</version>
    283         <configuration>
    284           <excludePackageNames>*.internal</excludePackageNames>
    285           <bottom><![CDATA[<i>Copyright &#169; ${project.inceptionYear}-${year} ${project.organization.name}. This documentation is provided under the terms of the Apache 2 licence.</i>]]></bottom>
    286         </configuration>
    287       </plugin>
    288       <plugin>
    289         <groupId>com.atlassian.maven.plugins</groupId>
    290         <artifactId>maven-clover2-plugin</artifactId>
    291         <version>3.1.0</version>
    292         <configuration>
    293           <jdk>1.5</jdk>
    294         </configuration>
    295       </plugin>
    296       <plugin>
    297         <groupId>org.codehaus.mojo</groupId>
    298         <artifactId>findbugs-maven-plugin</artifactId>
    299         <version>2.3.2</version>
    300         <configuration>
    301           <excludeFilterFile>${basedir}/findbugs-exclude.xml</excludeFilterFile>
    302           <xmlOutput>true</xmlOutput>
    303         </configuration>
    304       </plugin>
    305       <plugin>
    306         <artifactId>maven-checkstyle-plugin</artifactId>
    307         <version>2.7</version>
    308       </plugin>
    309       <plugin>
    310         <artifactId>maven-pmd-plugin</artifactId>
    311         <version>2.5</version>
    312         <configuration>
    313           <targetJdk>1.5</targetJdk>
    314         </configuration>
    315       </plugin>
    316       <plugin>
    317         <groupId>org.codehaus.mojo</groupId>
    318         <artifactId>javancss-maven-plugin</artifactId>
    319         <version>2.0</version>
    320       </plugin>
    321       <plugin>
    322         <groupId>org.codehaus.mojo</groupId>
    323         <artifactId>jdepend-maven-plugin</artifactId>
    324         <version>2.0-beta-2</version>
    325       </plugin>
    326     </plugins>
    327   </reporting>
    328   <modules>
    329     <module>easymock</module>
    330     <module>easymock-classextension</module>
    331     <module>easymock-integration</module>
    332   </modules>
    333   <distributionManagement>
    334     <repository>
    335       <id>sonatype-nexus-staging</id>
    336       <name>Nexus Release Repository</name>
    337       <url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
    338     </repository>
    339     <snapshotRepository>
    340       <id>sonatype-nexus-snapshots</id>
    341       <name>Sonatype Nexus Snapshots</name>
    342       <url>http://oss.sonatype.org/content/repositories/snapshots</url>
    343     </snapshotRepository>
    344   </distributionManagement>
    345 
    346   <profiles>
    347     <profile>
    348       <id>fullBuild</id>
    349       <build>
    350       </build>
    351     </profile>
    352     <profile>
    353       <id>deployBuild</id>
    354       <build>
    355         <plugins>
    356           <plugin>
    357             <artifactId>maven-source-plugin</artifactId>
    358             <executions>
    359               <execution>
    360                 <id>attach-sources</id>
    361                 <goals>
    362                   <goal>jar</goal>
    363                 </goals>
    364               </execution>
    365             </executions>
    366           </plugin>
    367           <plugin>
    368             <artifactId>maven-javadoc-plugin</artifactId>
    369             <configuration>
    370               <version>${project.version}</version>
    371             </configuration>
    372             <executions>
    373               <execution>
    374                 <id>attach-javadocs</id>
    375                 <goals>
    376                   <goal>jar</goal>
    377                 </goals>
    378               </execution>
    379             </executions>
    380           </plugin>
    381           <plugin>
    382             <artifactId>maven-gpg-plugin</artifactId>
    383           </plugin>
    384           <!-- Skip clover during deployment. It strangely installs an easymock-clover.jar
    385                that we certainly do not want to deploy in the remote repository -->
    386           <plugin>
    387             <groupId>com.atlassian.maven.plugins</groupId>
    388             <artifactId>maven-clover2-plugin</artifactId>
    389             <configuration>
    390               <skip>true</skip>
    391             </configuration>
    392           </plugin>
    393         </plugins>
    394       </build>
    395     </profile>
    396   </profiles>
    397 
    398 </project>