Advertisement
Guest User

Untitled

a guest
May 30th, 2012
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.12 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>something</groupId>
  5.     <artifactId>apt-bug</artifactId>
  6.     <version>0.0.1-SNAPSHOT</version>
  7.  
  8.  
  9.     <dependencies>
  10.         <dependency>
  11.             <groupId>org.hibernate</groupId>
  12.             <artifactId>hibernate-core</artifactId>
  13.             <version>4.1.2.Final</version>
  14.         </dependency>
  15.         <dependency>
  16.             <groupId>org.hibernate</groupId>
  17.             <artifactId>hibernate-entitymanager</artifactId>
  18.             <version>4.1.2.Final</version>
  19.         </dependency>
  20.         <dependency>
  21.             <groupId>org.hibernate.javax.persistence</groupId>
  22.             <artifactId>hibernate-jpa-2.0-api</artifactId>
  23.             <version>1.0.1.Final</version>
  24.         </dependency>
  25.         <dependency>
  26.             <groupId>com.mysema.querydsl</groupId>
  27.             <artifactId>querydsl-jpa</artifactId>
  28.             <version>2.3.3</version>
  29.         </dependency>
  30.         <dependency>
  31.             <groupId>com.mysema.querydsl</groupId>
  32.             <artifactId>querydsl-apt</artifactId>
  33.             <version>2.3.3</version>
  34.             <scope>provided</scope>
  35.         </dependency>
  36.         <dependency>
  37.             <groupId>junit</groupId>
  38.             <artifactId>junit</artifactId>
  39.             <version>4.8.2</version>
  40.             <scope>test</scope>
  41.         </dependency>
  42.     </dependencies>
  43.  
  44.  
  45.  
  46.     <build>
  47.         <plugins>
  48.             <plugin>
  49.                 <groupId>org.apache.maven.plugins</groupId>
  50.                 <artifactId>maven-dependency-plugin</artifactId>
  51.                 <executions>
  52.                     <execution>
  53.                         <id>copy-dependencies</id>
  54.                         <phase>package</phase>
  55.                         <goals>
  56.                             <goal>copy-dependencies</goal>
  57.                         </goals>
  58.                     </execution>
  59.                 </executions>
  60.             </plugin>
  61.             <plugin>
  62.                 <groupId>com.mysema.maven</groupId>
  63.                 <artifactId>maven-apt-plugin</artifactId>
  64.                 <version>1.0.2</version>
  65.                 <executions>
  66.                     <execution>
  67.                         <id>querydsl-apt</id>
  68.                         <phase>generate-sources</phase>
  69.                         <goals>
  70.                             <goal>process</goal>
  71.                         </goals>
  72.                         <configuration>
  73.                             <outputDirectory>target/generated-sources</outputDirectory>
  74.                             <processor>com.mysema.query.apt.jpa.JPAAnnotationProcessor</processor>
  75.                         </configuration>
  76.                     </execution>
  77.                 </executions>
  78.             </plugin>
  79.             <plugin>
  80.                 <groupId>org.codehaus.mojo</groupId>
  81.                 <artifactId>build-helper-maven-plugin</artifactId>
  82.                 <version>1.7</version>
  83.                 <executions>
  84.                     <execution>
  85.                         <id>add-source</id>
  86.                         <phase>generate-sources</phase>
  87.                         <goals>
  88.                             <goal>add-source</goal>
  89.                         </goals>
  90.                         <configuration>
  91.                             <sources>
  92.                                 <source>target/generated-sources</source>
  93.                             </sources>
  94.                         </configuration>
  95.                     </execution>
  96.                 </executions>
  97.             </plugin>
  98.         </plugins>
  99.         <resources>
  100.             <resource>
  101.                 <directory>src/main/resources</directory>
  102.                 <excludes>
  103.                     <exclude>**/*.local</exclude>
  104.                 </excludes>
  105.                 <filtering>false</filtering>
  106.             </resource>
  107.         </resources>
  108.  
  109.  
  110.         <pluginManagement>
  111.             <plugins>
  112.                 <plugin>
  113.                     <groupId>org.eclipse.m2e</groupId>
  114.                     <artifactId>lifecycle-mapping</artifactId>
  115.                     <version>1.0.0</version>
  116.                     <configuration>
  117.                         <lifecycleMappingMetadata>
  118.                             <pluginExecutions>
  119.                                 <pluginExecution>
  120.                                     <pluginExecutionFilter>
  121.                                         <groupId>org.apache.maven.plugins</groupId>
  122.                                         <artifactId>maven-dependency-plugin</artifactId>
  123.                                         <versionRange>[1.0,)</versionRange>
  124.                                         <goals>
  125.                                             <goal>copy-dependencies</goal>
  126.                                         </goals>
  127.                                     </pluginExecutionFilter>
  128.                                     <action>
  129.                                         <ignore />
  130.                                     </action>
  131.                                 </pluginExecution>
  132.                                 <pluginExecution>
  133.                                     <pluginExecutionFilter>
  134.                                         <groupId>com.mysema.maven</groupId>
  135.                                         <artifactId>maven-apt-plugin</artifactId>
  136.                                         <versionRange>[1.0.2,)</versionRange>
  137.                                         <goals>
  138.                                             <goal>process</goal>
  139.                                         </goals>
  140.                                     </pluginExecutionFilter>
  141.                                     <action>
  142.                                         <execute />
  143.                                     </action>
  144.                                 </pluginExecution>
  145.                             </pluginExecutions>
  146.                         </lifecycleMappingMetadata>
  147.                     </configuration>
  148.                 </plugin>
  149.             </plugins>
  150.         </pluginManagement>
  151.     </build>
  152.  
  153. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement