Maven Repository - POM file for Business querydsl-apt 2.9.0 2.9.0

Summary

Querydsl - APT support.

APT based Source code generation for Querydsl.

Declaration

Here is the list of declaration for querydsl-apt. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>com.mysema.querydsl</groupId>
   <artifactId>querydsl-apt</artifactId>
   <version>2.9.0</version>
</dependency>

If you think this Maven repository POM file listing for querydsl-apt is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Depends on

The querydsl-apt-2.9.0 has 6 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
ORMjdo2-api 2.3-eb
The Java Data Objects 2 (JDO) API is a standard interface-based Java model abstraction of persistence, developed as Java Specification Request 243 under the auspices of the Java Community Process.
25
JPA Hibernatehibernate-jpa-2.0-api 1.0.0.Final
Hibernate definition of the Java Persistence 2.0 (JSR 317) API.
67
Java Libraryjoda-time 1.6
Date and time library to replace JDK date handling.
200
JPA Hibernatehibernate-core 4.1.7.Final
A module of the Hibernate Core project
26
JPA Hibernatehibernate-envers 4.1.7.Final
A module of the Hibernate Core project
8




Plugin

The following plugins are used in the querydsl-apt-2.9.0.jar

  1. apt-maven-plugin
  2. com.springsource.bundlor.maven
  3. maven-assembly-plugin
  4. maven-surefire-plugin

Packages

The following packages are defined in the querydsl-apt-2.9.0.jar

com.mysema.query.apt
com.mysema.query.apt.hibernate
com.mysema.query.apt.jdo
com.mysema.query.apt.jpa




POM File Source

Here is the content of the POM file.

<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <modelVersion>4.0.0</modelVersion>

  <parent>
    <groupId>com.mysema.querydsl</groupId>
    <artifactId>querydsl-root</artifactId>
    <version>2.9.0</version>
    <relativePath>../querydsl-root/pom.xml</relativePath> 
  </parent>

  <groupId>com.mysema.querydsl</groupId>
  <artifactId>querydsl-apt</artifactId>
  <name>Querydsl - APT support</name>
  <description>APT based Source code generation for Querydsl</description>
  <packaging>jar</packaging>

  <properties>
    <hibernate.version>4.1.7.Final</hibernate.version>
    <jdo.version>2.3-eb</jdo.version>
    <morphia.version>0.99</morphia.version>
  </properties>

  <dependencies>
    <dependency>
      <groupId>com.mysema.querydsl</groupId>
      <artifactId>querydsl-codegen</artifactId>
      <version>${project.parent.version}</version>
      <exclusions>
        <exclusion>
          <groupId>cglib</groupId>
          <artifactId>cglib</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    
    <!-- provided -->    
    <dependency>
      <groupId>javax.jdo</groupId>
      <artifactId>jdo2-api</artifactId>
      <version>${jdo.version}</version>
      <scope>provided</scope>
    </dependency>    
    <dependency>
      <groupId>org.hibernate.javax.persistence</groupId>
    <artifactId>hibernate-jpa-2.0-api</artifactId>
    <version>1.0.0.Final</version>
    <scope>provided</scope>
    </dependency>
    
    <!-- test -->
    <dependency>
      <groupId>joda-time</groupId>
      <artifactId>joda-time</artifactId>
      <version>1.6</version>
      <scope>test</scope>
    </dependency>  
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate-core</artifactId>
      <version>${hibernate.version}</version>
      <scope>test</scope>
    </dependency>     
    <dependency>
      <groupId>org.hibernate</groupId>
      <artifactId>hibernate-envers</artifactId>
      <version>${hibernate.version}</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>com.mysema.querydsl</groupId>
      <artifactId>querydsl-core</artifactId>
      <version>${project.parent.version}</version>
      <scope>test</scope>
      <type>test-jar</type>
    </dependency>
  
    <dependency>
      <groupId>org.eclipse.jdt.core.compiler</groupId>
      <artifactId>ecj</artifactId>
      <version>3.7.1</version>
    <scope>test</scope>
    </dependency>
        
  </dependencies>

  <build>
    <plugins>
    <!-- 
      <plugin>
        <groupId>com.mysema.querydsl</groupId>
        <artifactId>querydsl-maven-plugin</artifactId>
        <version>${project.version}</version>
        <configuration>
          <testClasspath>true</testClasspath>
          <targetFolder>target/genericExporter</targetFolder>
          <packages>
            <package>com.mysema.query.domain</package>
          </packages>
        </configuration>
      </plugin>
       -->
      <plugin>
        <groupId>com.springsource.bundlor</groupId>
        <artifactId>com.springsource.bundlor.maven</artifactId>
      </plugin>    
         
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.4.3</version>
        <configuration>
          <useSystemClassLoader>false</useSystemClassLoader>
        </configuration>
      </plugin>  
      
      <plugin>
        <artifactId>maven-assembly-plugin</artifactId>
    <executions>
      <execution>
        <id>apt-jars</id>
      <goals>
        <goal>single</goal>  
      </goals>
      <phase>package</phase>
        <configuration>
              <descriptors>
                <descriptor>src/main/general.xml</descriptor>
                <descriptor>src/main/hibernate.xml</descriptor>
                <descriptor>src/main/jdo.xml</descriptor>
                <descriptor>src/main/jpa.xml</descriptor>
              </descriptors>
        <outputDirectory>${project.build.directory}</outputDirectory>
            </configuration>
      </execution>  
    </executions>        
      </plugin>       
         
      <plugin>
        <groupId>com.mysema.maven</groupId>
        <artifactId>apt-maven-plugin</artifactId>
        <version>1.0.6</version>
        <executions>  
          <execution>
            <phase>generate-test-sources</phase>
            <goals>
              <goal>test-process</goal>
              <goal>add-test-sources</goal>
            </goals>
            <configuration>
              <outputDirectory>target/generated-test-sources/java</outputDirectory>
              <showWarnings>true</showWarnings>
              <processors>
                <processor>com.mysema.query.apt.QuerydslAnnotationProcessor</processor>
                <processor>com.mysema.query.apt.hibernate.HibernateAnnotationProcessor</processor> 
                <processor>com.mysema.query.apt.jdo.JDOAnnotationProcessor</processor>
              </processors>              
            </configuration>
          </execution>                        
        </executions>
      </plugin>
      
      <!-- 
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>1.3</version>
        <executions>
          <execution>
            <phase>generate-sources</phase>
            <goals>
              <goal>add-test-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>target/generated-test-sources/java</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>
       -->
    </plugins>
  </build>
  
</project>