Advertisement
sypachev_s_s

pom.xml

Jun 4th, 2015
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.96 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.     <groupId>noname</groupId>
  6.     <artifactId>noname</artifactId>
  7.     <version>0.0.1-SNAPSHOT</version>
  8.     <packaging>jar</packaging>
  9.  
  10.     <name>noname</name>
  11.     <url>http://maven.apache.org</url>
  12.    
  13.     <properties>
  14.         <jersey.version>1.18.1</jersey.version>
  15.         <glassfish.version>3.1.1</glassfish.version>
  16.         <oltu.version>1.0.0</oltu.version>
  17.         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18.         <maven.compiler.target>1.8</maven.compiler.target>
  19.         <maven.compiler.source>1.8</maven.compiler.source>
  20.         <jtwig.version>3.0.0</jtwig.version>
  21.     </properties>
  22.  
  23.     <repositories>
  24.         <repository>
  25.             <id>oss.sonatype.org</id>
  26.             <name>OSS Sonatype Staging</name>
  27.             <url>https://oss.sonatype.org/content/groups/staging</url>
  28.         </repository>
  29.     </repositories>
  30.    
  31.     <build>
  32.         <plugins>
  33.             <plugin>
  34.                 <groupId>org.apache.maven.plugins</groupId>
  35.                 <artifactId>maven-compiler-plugin</artifactId>
  36.                 <version>3.1</version>
  37.                 <configuration>
  38.                     <source>1.8</source>
  39.                     <target>1.8</target>
  40.                 </configuration>
  41.             </plugin>
  42.             <plugin>             
  43.                 <groupId>org.apache.maven.plugins</groupId>
  44.                 <artifactId>maven-jar-plugin</artifactId>
  45.                 <version>2.4</version>
  46.                 <configuration>
  47.                     <archive>
  48.                         <manifest>
  49.                             <addClasspath>true</addClasspath>                          
  50.                             <mainClass>com.home.noname.Main</mainClass>
  51.                         </manifest>
  52.                     </archive>
  53.                 </configuration>
  54.             </plugin>
  55.             <!-- Not shut this plugin. It allows to built executable jar with all dependencies -->
  56.             <!-- plugin>
  57.                 <groupId>org.apache.maven.plugins</groupId>
  58.                 <artifactId>maven-shade-plugin</artifactId>
  59.                 <version>1.6</version>
  60.                 <executions>
  61.                     <execution>
  62.                         <phase>package</phase>
  63.                         <goals>
  64.                             <goal>shade</goal>
  65.                         </goals>
  66.                      </execution>
  67.                 </executions>
  68.                 <configuration>
  69.                     <filters>
  70.                         <filter>
  71.                             <artifact>*:*</artifact>
  72.                                 <excludes>
  73.                                     <exclude>META-INF/*.SF</exclude>
  74.                                     <exclude>META-INF/*.DSA</exclude>
  75.                                     <exclude>META-INF/*.RSA</exclude>
  76.                                 </excludes>
  77.                         </filter>
  78.                     </filters>
  79.                 </configuration>
  80.             </plugin-->
  81.             <plugin>
  82.                 <groupId>org.apache.maven.plugins</groupId>
  83.                 <artifactId>maven-surefire-plugin</artifactId>
  84.                 <version>2.18.1</version>
  85.                 <configuration>
  86.                     <classpathDependencyExcludes>
  87.                         <classpathDependencyExcludes>org.codehaus.plexus</classpathDependencyExcludes>
  88.                     </classpathDependencyExcludes>
  89.                 </configuration>
  90.             </plugin>
  91.             <plugin>
  92.                 <groupId>org.eclipse.jetty</groupId>
  93.                 <artifactId>jetty-maven-plugin</artifactId>
  94.                 <version>9.3.0.M2</version>            
  95.                 <configuration>
  96.                     <war>target/noname.war</war>
  97.                     <stopKey>terminate</stopKey>
  98.                     <stopPort>8081</stopPort>
  99.                     <webXml>src/main/webapp/WEB-INF/web.xml</webXml>
  100.                     <webApp>
  101.                         <contextPath>/</contextPath>
  102.                     </webApp>
  103.                     <reload>automatic</reload>
  104.                     <scanIntervalSeconds>5</scanIntervalSeconds>
  105.                     <jettyXml>src/main/webapp/WEB-INF/jetty-jmx.xml</jettyXml>
  106.                     <contextXml>src/main/webapp/WEB-INF/jetty-context.xml</contextXml>
  107.                 </configuration>
  108.                 <executions>
  109.                     <execution>
  110.                         <id>start-jetty</id>
  111.                         <phase>run</phase>
  112.                         <goals>
  113.                             <goal>deploy-war</goal>
  114.                         </goals>
  115.                     </execution>
  116.                 </executions>
  117.             </plugin>      
  118.         </plugins>
  119.     </build>
  120.  
  121.     <dependencies>
  122.         <dependency>
  123.             <groupId>junit</groupId>
  124.             <artifactId>junit</artifactId>
  125.             <version>3.8.1</version>
  126.             <scope>test</scope>
  127.         </dependency>
  128.         <!-- JPA SQL Implementation -->
  129.         <dependency>
  130.             <groupId>org.eclipse.persistence</groupId>
  131.             <artifactId>eclipselink</artifactId>
  132.             <version>2.5.0-RC1</version>
  133.             <exclusions>
  134.                 <exclusion>
  135.                     <groupId>org.eclipse.persistence</groupId>
  136.                     <artifactId>commonj.sdo</artifactId>
  137.                 </exclusion>
  138.             </exclusions>
  139.         </dependency>
  140.         <!-- JPA NoSQL Implementation -->
  141.         <dependency>
  142.             <groupId>org.eclipse.persistence</groupId>
  143.             <artifactId>org.eclipse.persistence.nosql</artifactId>
  144.             <version>2.6.0</version>
  145.         </dependency>
  146.         <!-- Http Requests core -->
  147.         <dependency>
  148.             <groupId>org.apache.httpcomponents</groupId>
  149.             <artifactId>httpclient</artifactId>
  150.             <version>4.4</version>
  151.         </dependency>
  152.         <!-- Common input output operations -->
  153.         <dependency>
  154.             <groupId>org.apache.commons</groupId>
  155.             <artifactId>commons-io</artifactId>
  156.             <version>1.3.2</version>
  157.         </dependency>
  158.         <!-- Java Bean to JSON and vice versa implementation -->
  159.         <dependency>
  160.             <groupId>com.google.code.gson</groupId>
  161.             <artifactId>gson</artifactId>
  162.             <version>2.3</version>
  163.             <type>jar</type>
  164.         </dependency>
  165.         <!-- mysql driver JDBC implementation -->
  166.         <dependency>
  167.             <groupId>mysql</groupId>
  168.             <artifactId>mysql-connector-java</artifactId>
  169.             <version>5.1.35</version>
  170.         </dependency>
  171.         <!-- mongo driver -->
  172.         <dependency>
  173.             <groupId>org.mongodb</groupId>
  174.             <artifactId>mongo-java-driver</artifactId>
  175.             <version>3.0.0</version>
  176.         </dependency>
  177.         <!-- Logging -->
  178.         <dependency>
  179.             <groupId>log4j</groupId>
  180.             <artifactId>log4j</artifactId>
  181.             <version>1.2.17</version>
  182.         </dependency>
  183.         <dependency>
  184.             <groupId>org.slf4j</groupId>
  185.             <artifactId>slf4j-simple</artifactId>
  186.             <version>1.6.1</version>
  187.         </dependency>
  188.         <dependency>
  189.             <groupId>log4j</groupId>
  190.             <artifactId>apache-log4j-extras</artifactId>
  191.             <version>1.0</version>
  192.         </dependency>
  193.         <!-- servlet container -->
  194.         <dependency>
  195.             <groupId>com.sun.jersey</groupId>
  196.             <artifactId>jersey-json</artifactId>
  197.             <version>${jersey.version}</version>
  198.         </dependency>
  199.         <!-- xml json web components -->
  200.         <dependency>
  201.             <groupId>javax.ws.rs</groupId>
  202.             <artifactId>javax.ws.rs-api</artifactId>
  203.             <version>2.0</version>            
  204.             <type>jar</type>
  205.         </dependency>
  206.         <dependency>
  207.             <groupId>org.glassfish.jersey.core</groupId>
  208.             <artifactId>jersey-client</artifactId>
  209.             <version>2.17</version>
  210.         </dependency>
  211.         <dependency>
  212.             <groupId>javax.enterprise</groupId>
  213.             <artifactId>cdi-api</artifactId>
  214.             <version>1.2</version>
  215.         </dependency>
  216.         <dependency>
  217.             <groupId>org.glassfish.jersey.core</groupId>
  218.             <artifactId>jersey-server</artifactId>
  219.             <version>2.17</version>
  220.         </dependency>
  221.         <dependency>
  222.             <groupId>org.glassfish.jersey.core</groupId>
  223.             <artifactId>jersey-common</artifactId>
  224.             <version>2.17</version>
  225.         </dependency>
  226.         <dependency>
  227.             <groupId>org.glassfish.jersey.containers</groupId>
  228.             <artifactId>jersey-container-servlet-core</artifactId>
  229.             <version>2.17</version>
  230.         </dependency>
  231.         <dependency>
  232.             <groupId>javax.servlet</groupId>
  233.             <artifactId>javax.servlet-api</artifactId>
  234.             <version>3.1.0</version>
  235.         </dependency>
  236.        
  237.         <!-- Authorization -->
  238.         <dependency>
  239.             <groupId>org.apache.oltu.oauth2</groupId>
  240.             <artifactId>org.apache.oltu.oauth2.authzserver</artifactId>
  241.             <version>${oltu.version}</version>
  242.         </dependency>
  243.         <dependency>
  244.             <groupId>org.apache.oltu.oauth2</groupId>
  245.             <artifactId>org.apache.oltu.oauth2.resourceserver</artifactId>
  246.             <version>${oltu.version}</version>
  247.         </dependency>
  248.         <dependency>
  249.             <groupId>org.apache.oltu.oauth2</groupId>
  250.             <artifactId>org.apache.oltu.oauth2.common</artifactId>
  251.             <version>${oltu.version}</version>
  252.         </dependency>
  253.         <dependency>
  254.             <groupId>org.apache.commons</groupId>
  255.             <artifactId>commons-lang3</artifactId>
  256.             <version>3.0</version>
  257.         </dependency>
  258.         <!-- Scheduler -->
  259.         <dependency>
  260.             <groupId>org.quartz-scheduler</groupId>
  261.             <artifactId>quartz</artifactId>
  262.             <version>2.2.1</version>
  263.         </dependency>
  264.         <dependency>
  265.             <groupId>org.quartz-scheduler</groupId>
  266.             <artifactId>quartz-jobs</artifactId>
  267.             <version>2.2.1</version>
  268.         </dependency>
  269.         <!-- Mail -->
  270.         <dependency>
  271.             <groupId>javax.mail</groupId>
  272.             <artifactId>mail</artifactId>
  273.             <version>1.4</version>
  274.         </dependency>
  275.        
  276.         <!-- Query -->
  277.         <dependency>
  278.             <groupId>org.apache.activemq</groupId>
  279.             <artifactId>activemq-core</artifactId>
  280.             <version>5.7.0</version>
  281.         </dependency>
  282.         <!-- Cache -->
  283.         <dependency>
  284.             <groupId>com.whalin</groupId>
  285.             <artifactId>Memcached-Java-Client</artifactId>
  286.             <version>3.0.2</version>
  287.         </dependency>
  288.     </dependencies>
  289. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement