Advertisement
helloalbin

pom

Aug 14th, 2014
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.36 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.     <groupId>com.test</groupId>
  5.     <artifactId>TestMain</artifactId>
  6.     <version>1.0</version>
  7.     <packaging>ejb</packaging>
  8.     <build>
  9.         <resources>
  10.             <resource>
  11.                 <directory>src/main/java</directory>
  12.                 <excludes>
  13.                     <exclude>**/*.java</exclude>
  14.                 </excludes>
  15.             </resource>
  16.             <resource>
  17.                 <directory>src</directory>
  18.                 <excludes>
  19.                     <exclude>**/*.java</exclude>
  20.                 </excludes>
  21.             </resource>
  22.         </resources>
  23.         <plugins>
  24.             <plugin>
  25.                 <artifactId>maven-compiler-plugin</artifactId>
  26.                 <version>3.1</version>
  27.                 <configuration>
  28.                     <source>1.7</source>
  29.                     <target>1.7</target>
  30.                 </configuration>
  31.             </plugin>
  32.             <plugin>
  33.                 <artifactId>maven-ejb-plugin</artifactId>
  34.                 <version>2.3</version>
  35.                 <configuration>
  36.                     <ejbVersion>3.2</ejbVersion>
  37.                 </configuration>
  38.             </plugin>
  39.         </plugins>
  40.     </build>
  41.  
  42.     <dependencyManagement>
  43.         <dependencies>
  44.             <dependency>
  45.                 <groupId>org.jboss.arquillian</groupId>
  46.                 <artifactId>arquillian-bom</artifactId>
  47.                 <version>1.1.5.Final</version>
  48.                 <scope>import</scope>
  49.                 <type>pom</type>
  50.             </dependency>
  51.         </dependencies>
  52.     </dependencyManagement>
  53.  
  54.  
  55.     <dependencies>
  56.         <dependency>
  57.             <groupId>junit</groupId>
  58.             <artifactId>junit</artifactId>
  59.             <version>4.11</version>
  60.             <scope>test</scope>
  61.         </dependency>
  62.         <dependency>
  63.             <groupId>org.jboss.arquillian.junit</groupId>
  64.             <artifactId>arquillian-junit-container</artifactId>
  65.             <scope>test</scope>
  66.         </dependency>
  67.         <dependency>
  68.             <groupId>org.jboss.arquillian.protocol</groupId>
  69.             <artifactId>arquillian-protocol-servlet</artifactId>
  70.             <scope>test</scope>
  71.         </dependency>
  72.         <dependency>
  73.             <groupId>org.eclipse.persistence</groupId>
  74.             <artifactId>eclipselink</artifactId>
  75.             <version>2.5.2</version>
  76.             <scope>test</scope>
  77.         </dependency>
  78.         <dependency>
  79.             <groupId>org.eclipse.persistence</groupId>
  80.             <artifactId>javax.persistence</artifactId>
  81.             <version>2.0.0</version>
  82.             <scope>test</scope>
  83.         </dependency>
  84.         <dependency>
  85.             <groupId>org.wildfly</groupId>
  86.             <artifactId>wildfly-version</artifactId>
  87.             <version>8.1.0.Final</version>
  88.             <type>pom</type>
  89.             <scope>test</scope>
  90.         </dependency>
  91.         <dependency>
  92.             <groupId>org.wildfly</groupId>
  93.             <artifactId>wildfly-arquillian-container-managed</artifactId>
  94.             <version>8.1.0.Final</version>
  95.             <scope>test</scope>
  96.         </dependency>
  97.         <dependency>
  98.             <groupId>org.wildfly</groupId>
  99.             <artifactId>wildfly-embedded</artifactId>
  100.             <version>8.1.0.Final</version>
  101.             <scope>test</scope>
  102.         </dependency>
  103.         <dependency>
  104.             <groupId>org.wildfly</groupId>
  105.             <artifactId>wildfly-spec-api</artifactId>
  106.             <version>8.1.0.Final</version>
  107.             <type>pom</type>
  108.             <scope>test</scope>
  109.         </dependency>
  110.         <dependency>
  111.             <groupId>org.wildfly</groupId>
  112.             <artifactId>wildfly-arquillian-common</artifactId>
  113.             <version>8.1.0.Final</version>
  114.             <scope>test</scope>
  115.         </dependency>
  116.         <dependency>
  117.             <groupId>org.json</groupId>
  118.             <artifactId>json</artifactId>
  119.             <version>20140107</version>
  120.         </dependency>
  121.  
  122.         <dependency>
  123.             <groupId>org.easymock</groupId>
  124.             <artifactId>easymock</artifactId>
  125.             <version>3.2</version>
  126.             <scope>test</scope>
  127.         </dependency>
  128.         <dependency>
  129.             <groupId>org.apache.shiro</groupId>
  130.             <artifactId>shiro-core</artifactId>
  131.             <version>1.2.3</version>
  132.         </dependency>
  133.     </dependencies>
  134.  
  135.     <profiles>
  136.         <profile>
  137.             <id>jbossas-managed-wildfly-8</id>
  138.             <activation>
  139.                 <activeByDefault>true</activeByDefault>
  140.             </activation>
  141.             <build>
  142.                 <plugins>
  143.                     <plugin>
  144.                         <groupId>org.apache.maven.plugins</groupId>
  145.                         <artifactId>maven-surefire-plugin</artifactId>
  146.                         <configuration>
  147.                             <!-- <testFailureIgnore>true</testFailureIgnore> -->
  148.                             <systemPropertyVariables>
  149.                                 <arquillian.launch>wildfly-managed</arquillian.launch>
  150.                             </systemPropertyVariables>
  151.                         </configuration>
  152.                     </plugin>
  153.                 </plugins>
  154.             </build>
  155.         </profile>
  156.     </profiles>
  157.  
  158.  
  159.     <repositories>
  160.         <repository>
  161.             <id>eclipselink</id>
  162.             <url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo/</url>
  163.         </repository>
  164.     </repositories>
  165. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement