<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
<modelVersion>4.0.0</modelVersion>
|
<artifactId>create-queries-solution</artifactId>
|
<packaging>war</packaging>
|
<name>Create Queries web app Project</name>
|
<description>This is the create-queries project</description>
|
<parent>
|
<groupId>com.redhat.training</groupId>
|
<artifactId>parent-pom</artifactId>
|
<version>1.0</version>
|
<relativePath>../pom.xml</relativePath>
|
</parent>
|
|
<properties>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
</properties>
|
|
<dependencies>
|
|
<!-- First declare the APIs we depend on and need for compilation. All
|
of them are provided by JBoss EAP -->
|
|
<!-- Import the CDI API, we use provided scope as the API is included in
|
JBoss EAP -->
|
<dependency>
|
<groupId>javax.enterprise</groupId>
|
<artifactId>cdi-api</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
<!-- Import the Common Annotations API (JSR-250), we use provided scope
|
as the API is included in JBoss EAP -->
|
<dependency>
|
<groupId>org.jboss.spec.javax.annotation</groupId>
|
<artifactId>jboss-annotations-api_1.2_spec</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
<!-- Import the JAX-RS API, we use provided scope as the API is included
|
in JBoss EAP -->
|
<dependency>
|
<groupId>org.jboss.spec.javax.ws.rs</groupId>
|
<artifactId>jboss-jaxrs-api_2.0_spec</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
<!-- Import the JPA API, we use provided scope as the API is included in
|
JBoss EAP -->
|
<dependency>
|
<groupId>org.hibernate.javax.persistence</groupId>
|
<artifactId>hibernate-jpa-2.1-api</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
<!-- Import the EJB API, we use provided scope as the API is included in
|
JBoss EAP -->
|
<dependency>
|
<groupId>org.jboss.spec.javax.ejb</groupId>
|
<artifactId>jboss-ejb-api_3.2_spec</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
<dependency>
|
<groupId>org.jboss.spec.javax.jms</groupId>
|
<artifactId>jboss-jms-api_2.0_spec</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
<!-- Bean Validation Implementation -->
|
<!-- Provides portable constraints such as @Email -->
|
<!-- Hibernate Validator is shipped in JBoss EAP -->
|
<dependency>
|
<groupId>org.hibernate</groupId>
|
<artifactId>hibernate-validator</artifactId>
|
<scope>provided</scope>
|
<exclusions>
|
<exclusion>
|
<groupId>org.slf4j</groupId>
|
<artifactId>slf4j-api</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<dependency>
|
<groupId>org.hibernate</groupId>
|
<artifactId>hibernate-search-orm</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
<dependency>
|
<groupId>org.hibernate</groupId>
|
<artifactId>hibernate-entitymanager</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
<!-- Import the JSF API, we use provided scope as the API is included in
|
JBoss EAP -->
|
<dependency>
|
<groupId>org.jboss.spec.javax.faces</groupId>
|
<artifactId>jboss-jsf-api_2.2_spec</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
<dependency>
|
<groupId>org.jboss.spec.javax.servlet</groupId>
|
<artifactId>jboss-servlet-api_3.1_spec</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
<!-- Annotation processor to generate the JPA metamodel classes for
|
typesafe criteria queries -->
|
<dependency>
|
<groupId>org.hibernate</groupId>
|
<artifactId>hibernate-jpamodelgen</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
<!-- Annotation processor that raising compilation errors whenever constraint
|
annotations are incorrectly used. -->
|
<dependency>
|
<groupId>org.hibernate</groupId>
|
<artifactId>hibernate-validator-annotation-processor</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
<finalName>create-queries</finalName>
|
<plugins>
|
<plugin>
|
<artifactId>maven-war-plugin</artifactId>
|
<version>${version.war.plugin}</version>
|
<extensions>false</extensions>
|
<configuration>
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
<archive>
|
<manifestEntries>
|
<Dependencies>com.google.guava,org.slf4j
|
</Dependencies>
|
</manifestEntries>
|
</archive>
|
</configuration>
|
</plugin>
|
</plugins>
|
</build>
|
|
</project>
|