Advertisement
Guest User

Untitled

a guest
Jan 14th, 2013
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 5.05 KB | None | 0 0
  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"
  3.     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4.     <modelVersion>4.0.0</modelVersion>
  5.     <groupId>com.firstlesson</groupId>
  6.     <artifactId>src</artifactId>
  7.     <name>FirstLesson</name>
  8.     <packaging>war</packaging>
  9.     <version>1.0.0-BUILD-SNAPSHOT</version>
  10.     <properties>
  11.         <java-version>1.6</java-version>
  12.         <org.springframework-version>3.1.1.RELEASE</org.springframework-version>
  13.         <org.aspectj-version>1.6.10</org.aspectj-version>
  14.         <org.slf4j-version>1.6.6</org.slf4j-version>
  15.     </properties>
  16.     <dependencies>
  17.         <!-- Spring -->
  18.         <dependency>
  19.             <groupId>org.springframework</groupId>
  20.             <artifactId>spring-context</artifactId>
  21.             <version>${org.springframework-version}</version>
  22.             <exclusions>
  23.                 <!-- Exclude Commons Logging in favor of SLF4j -->
  24.                 <exclusion>
  25.                     <groupId>commons-logging</groupId>
  26.                     <artifactId>commons-logging</artifactId>
  27.                  </exclusion>
  28.             </exclusions>
  29.         </dependency>
  30.         <dependency>
  31.             <groupId>org.springframework</groupId>
  32.             <artifactId>spring-webmvc</artifactId>
  33.             <version>${org.springframework-version}</version>
  34.         </dependency>
  35.                
  36.         <!-- AspectJ -->
  37.         <dependency>
  38.             <groupId>org.aspectj</groupId>
  39.             <artifactId>aspectjrt</artifactId>
  40.             <version>${org.aspectj-version}</version>
  41.         </dependency>  
  42.        
  43.         <!-- Logging -->
  44.         <dependency>
  45.             <groupId>org.slf4j</groupId>
  46.             <artifactId>slf4j-api</artifactId>
  47.             <version>${org.slf4j-version}</version>
  48.         </dependency>
  49.         <dependency>
  50.             <groupId>org.slf4j</groupId>
  51.             <artifactId>jcl-over-slf4j</artifactId>
  52.             <version>${org.slf4j-version}</version>
  53.             <scope>runtime</scope>
  54.         </dependency>
  55.         <dependency>
  56.             <groupId>org.slf4j</groupId>
  57.             <artifactId>slf4j-log4j12</artifactId>
  58.             <version>${org.slf4j-version}</version>
  59.             <scope>runtime</scope>
  60.         </dependency>
  61.         <dependency>
  62.             <groupId>log4j</groupId>
  63.             <artifactId>log4j</artifactId>
  64.             <version>1.2.15</version>
  65.             <exclusions>
  66.                 <exclusion>
  67.                     <groupId>javax.mail</groupId>
  68.                     <artifactId>mail</artifactId>
  69.                 </exclusion>
  70.                 <exclusion>
  71.                     <groupId>javax.jms</groupId>
  72.                     <artifactId>jms</artifactId>
  73.                 </exclusion>
  74.                 <exclusion>
  75.                     <groupId>com.sun.jdmk</groupId>
  76.                     <artifactId>jmxtools</artifactId>
  77.                 </exclusion>
  78.                 <exclusion>
  79.                     <groupId>com.sun.jmx</groupId>
  80.                     <artifactId>jmxri</artifactId>
  81.                 </exclusion>
  82.             </exclusions>
  83.             <scope>runtime</scope>
  84.         </dependency>
  85.  
  86.         <!-- @Inject -->
  87.         <dependency>
  88.             <groupId>javax.inject</groupId>
  89.             <artifactId>javax.inject</artifactId>
  90.             <version>1</version>
  91.         </dependency>
  92.                
  93.         <!-- Servlet -->
  94.         <dependency>
  95.             <groupId>javax.servlet</groupId>
  96.             <artifactId>servlet-api</artifactId>
  97.             <version>2.5</version>
  98.             <scope>provided</scope>
  99.         </dependency>
  100.         <dependency>
  101.             <groupId>javax.servlet.jsp</groupId>
  102.             <artifactId>jsp-api</artifactId>
  103.             <version>2.1</version>
  104.             <scope>provided</scope>
  105.         </dependency>
  106.         <dependency>
  107.             <groupId>javax.servlet</groupId>
  108.             <artifactId>jstl</artifactId>
  109.             <version>1.2</version>
  110.         </dependency>
  111.    
  112.         <!-- Test -->
  113.         <dependency>
  114.             <groupId>junit</groupId>
  115.             <artifactId>junit</artifactId>
  116.             <version>4.7</version>
  117.             <scope>test</scope>
  118.         </dependency>        
  119.     </dependencies>
  120.     <build>
  121.         <plugins>
  122.             <plugin>
  123.                 <artifactId>maven-eclipse-plugin</artifactId>
  124.                 <version>2.9</version>
  125.                 <configuration>
  126.                     <additionalProjectnatures>
  127.                         <projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
  128.                     </additionalProjectnatures>
  129.                     <additionalBuildcommands>
  130.                         <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
  131.                     </additionalBuildcommands>
  132.                     <downloadSources>true</downloadSources>
  133.                     <downloadJavadocs>true</downloadJavadocs>
  134.                 </configuration>
  135.             </plugin>
  136.             <plugin>
  137.                 <groupId>org.apache.maven.plugins</groupId>
  138.                 <artifactId>maven-compiler-plugin</artifactId>
  139.                 <version>2.5.1</version>
  140.                 <configuration>
  141.                     <source>1.6</source>
  142.                     <target>1.6</target>
  143.                     <compilerArgument>-Xlint:all</compilerArgument>
  144.                     <showWarnings>true</showWarnings>
  145.                     <showDeprecation>true</showDeprecation>
  146.                 </configuration>
  147.             </plugin>
  148.             <plugin>
  149.                 <groupId>org.codehaus.mojo</groupId>
  150.                 <artifactId>exec-maven-plugin</artifactId>
  151.                 <version>1.2.1</version>
  152.                 <configuration>
  153.                     <mainClass>org.test.int1.Main</mainClass>
  154.                 </configuration>
  155.             </plugin>
  156.         </plugins>
  157.     </build>
  158. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement