Advertisement
Guest User

Untitled

a guest
Nov 25th, 2013
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.73 KB | None | 0 0
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2.     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3.     <modelVersion>4.0.0</modelVersion>
  4.  
  5.     <packaging>jar</packaging>
  6.     <groupId>com.ourcompany</groupId>
  7.     <artifactId>skeleton</artifactId>
  8.     <name>skeleton</name>
  9.     <version>1.0.0-SNAPSHOT</version>
  10.    
  11.     <properties>
  12.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  13.     </properties>
  14.    
  15.     <profiles>
  16.         <profile>
  17.             <id>development</id>
  18.             <activation>
  19.                 <activeByDefault>true</activeByDefault>
  20.             </activation>
  21.             <dependencies>
  22.                 <dependency>
  23.                     <groupId>${project.groupId}</groupId>
  24.                     <artifactId>remote_logger</artifactId>
  25.                     <version>${project.version}</version>
  26.                     <scope>provided</scope>
  27.                 </dependency>
  28.             </dependencies>
  29.         </profile>
  30.         <profile>
  31.             <id>gamecreator</id>
  32.             <build>
  33.                 <plugins>
  34.                     <plugin>
  35.                         <groupId>org.apache.maven.plugins</groupId>
  36.                         <artifactId>maven-source-plugin</artifactId>
  37.                         <version>2.2.1</version>
  38.                         <configuration>
  39.                             <finalName>gamecreator-ready</finalName>
  40.                         </configuration>
  41.                     </plugin>
  42.                    
  43.                     <!-- plugin>
  44.                         <groupId>org.codehaus.mojo</groupId>
  45.                         <artifactId>animal-sniffer-maven-plugin</artifactId>
  46.                         <version>1.9</version>
  47.                         <configuration>
  48.                             <signature>
  49.                                 <groupId>${project.groupId}</groupId>
  50.                                 <artifactId>cimple</artifactId>
  51.                                 <version>${project.version}</version>
  52.                             </signature>
  53.                         </configuration>
  54.                         <executions>
  55.                             <execution>
  56.                                 <id>animal-sniffer</id>
  57.                                 <phase>test</phase>
  58.                                 <goals>
  59.                                     <goal>check</goal>
  60.                                 </goals>
  61.                             </execution>
  62.                         </executions>
  63.                     </plugin-->
  64.                 </plugins>
  65.             </build>
  66.         </profile>
  67.     </profiles>
  68.    
  69.     <pluginRepositories>
  70.         <pluginRepository>
  71.             <id>archiva.snapshots</id>
  72.             <name>Internal Snapshot Repository</name>
  73.             <url>http://someserver:8080/archiva/repository/snapshots/</url>
  74.         </pluginRepository>
  75.     </pluginRepositories>
  76.  
  77.     <build>
  78.         <sourceDirectory>src</sourceDirectory>
  79.         <testSourceDirectory>test</testSourceDirectory>
  80.         <plugins>
  81.             <plugin>
  82.                 <groupId>org.apache.maven.plugins</groupId>
  83.                 <artifactId>maven-jar-plugin</artifactId>
  84.                 <version>2.2</version>
  85.                 <executions>
  86.                     <execution>
  87.                         <goals>
  88.                             <goal>test-jar</goal>
  89.                         </goals>
  90.                     </execution>
  91.                 </executions>
  92.             </plugin>
  93.             <plugin>
  94.                 <groupId>org.apache.maven.plugins</groupId>
  95.                 <artifactId>maven-compiler-plugin</artifactId>
  96.                 <version>3.0</version>
  97.                 <configuration>
  98.                     <source>1.6</source>
  99.                     <target>1.6</target>
  100.                 </configuration>
  101.             </plugin>
  102.             <plugin>
  103.                 <groupId>org.codehaus.mojo</groupId>
  104.                 <artifactId>build-helper-maven-plugin</artifactId>
  105.                 <version>1.7</version>
  106.                 <executions>
  107.                     <execution>
  108.                         <id>add-source</id>
  109.                         <phase>generate-sources</phase>
  110.                         <goals>
  111.                             <goal>add-source</goal>
  112.                         </goals>
  113.                         <configuration>
  114.                             <sources>
  115.                                 <source>${project.build.directory}/generated-sources/plugin</source>
  116.                             </sources>
  117.                         </configuration>
  118.                     </execution>
  119.                 </executions>
  120.             </plugin>
  121.             <plugin>
  122.                 <groupId>org.apache.maven.plugins</groupId>
  123.                 <artifactId>maven-dependency-plugin</artifactId>
  124.                 <version>2.6</version>
  125.                 <configuration>
  126.                     <prependGroupId>true</prependGroupId>
  127.                     <overWriteReleases>true</overWriteReleases>
  128.                     <overWriteSnapshots>true</overWriteSnapshots>
  129.                 </configuration>
  130.             </plugin>
  131.         </plugins>
  132.     </build>
  133.  
  134.     <dependencies>
  135.         <dependency>
  136.             <groupId>${project.groupId}</groupId>
  137.             <artifactId>support</artifactId>
  138.             <version>${project.version}</version>
  139.             <scope>compile</scope>
  140.         </dependency>
  141.         <!-- testing -->
  142.         <dependency>
  143.             <groupId>org.mockito</groupId>
  144.             <artifactId>mockito-all</artifactId>
  145.             <version>1.9.5</version>
  146.             <scope>test</scope>
  147.         </dependency>
  148.         <dependency>
  149.             <groupId>junit</groupId>
  150.             <artifactId>junit</artifactId>
  151.             <version>4.10</version>
  152.             <scope>test</scope>
  153.         </dependency>
  154.         <dependency>
  155.             <groupId>org.powermock</groupId>
  156.             <artifactId>powermock-api-mockito</artifactId>
  157.             <version>1.5</version>
  158.             <scope>test</scope>
  159.         </dependency>
  160.         <dependency>
  161.             <groupId>org.powermock</groupId>
  162.             <artifactId>powermock-module-junit4</artifactId>
  163.             <version>1.5</version>
  164.             <scope>test</scope>
  165.         </dependency>
  166.     </dependencies>
  167. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement