Maven Repository - POM file for JPA Hibernate hibernate-search 3.1.1.GA 3.1.1.GA

Summary

Hibernate Search.

Declaration

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

<dependency>
   <groupId>org.hibernate</groupId>
   <artifactId>hibernate-search</artifactId>
   <version>3.1.1.GA</version>
</dependency>

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

License

Name:LGPL
URL: lgpl.txt.

Depends on

The hibernate-search-3.1.1.GA has 9 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
JPA Hibernatehibernate-core 3.3.1.GA
The core functionality of Hibernate
31
JPA Hibernatehibernate-commons-annotations 3.1.0.GA
Hibernate Commons Annotations is a utility project used by annotations based Hibernate sub-projects.
7
EJBejb3-persistence 1.0.2.GA
Java Persistence API
8
Searchlucene-core 2.4.1
Apache Lucene Java Core
17
Logslf4j-api 1.4.2
The slf4j API
8
JEE Libraryjta 1.1
The javax.transaction package. It is appropriate for inclusion in a classpath, and may be added to a Java 2 installation.
184
JUnitjunit 3.8.1
JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.
1966
Logslf4j-log4j12 1.4.2
The slf4j log4j-12 binding
9




Plugin

The following plugins are used in the hibernate-search-3.1.1.GA.jar

  1. maven-assembly-plugin
  2. maven-compiler-plugin
  3. maven-jar-plugin
  4. maven-javadoc-plugin
  5. maven-jdocbook-plugin
  6. maven-release-plugin
  7. maven-surefire-plugin

Packages

The following packages are defined in the hibernate-search-3.1.1.GA.jar

org.hibernate.search
org.hibernate.search.analyzer
org.hibernate.search.annotations
org.hibernate.search.backend
org.hibernate.search.backend.configuration
org.hibernate.search.backend.impl
org.hibernate.search.backend.impl.jms
org.hibernate.search.backend.impl.lucene
org.hibernate.search.backend.impl.lucene.works
org.hibernate.search.bridge
org.hibernate.search.bridge.builtin
org.hibernate.search.cfg
org.hibernate.search.engine
org.hibernate.search.event
org.hibernate.search.filter
org.hibernate.search.impl
org.hibernate.search.jpa
org.hibernate.search.jpa.impl
org.hibernate.search.query
org.hibernate.search.reader
org.hibernate.search.store
org.hibernate.search.store.optimization
org.hibernate.search.util




POM File Source

Here is the content of the POM file.

<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/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-search</artifactId>
    <version>3.1.1.GA</version>
    <name>Hibernate Search</name>
    <description>Hibernate Search</description>
    <url>http://search.hibernate.org</url>

    <issueManagement>
        <system>JIRA</system>
        <url>http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH</url>
    </issueManagement>
    <scm>
        <connection>scm:svn:http://anonsvn.jboss.org/repos/hibernate/search/tags/v3_1_1_GA</connection>
        <developerConnection>scm:svn:https://svn.jboss.org/repos/hibernate/search/tags/v3_1_1_GA</developerConnection>
        <url>http://fisheye.jboss.com/browse/Hibernate/search/tags/v3_1_1_GA</url>
    </scm>

    <organization>
        <name>Hibernate</name>
        <url>http://www.hibernate.org</url>
    </organization>

    <licenses>
        <license>
            <name>LGPL</name>
            <url>lgpl.txt</url>
        </license>
    </licenses>

    
    <contributors>
        <contributor>
            <name>Sanne Grinovero</name>
        </contributor>
    </contributors>

    <dependencies>
        <!-- =============================== -->
        <!-- Required Dependencies -->
        <!-- =============================== -->
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-core</artifactId>
            <version>3.3.1.GA</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-commons-annotations</artifactId>
            <version>3.1.0.GA</version>
        </dependency>
        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>ejb3-persistence</artifactId>
            <version>1.0.2.GA</version>
        </dependency>
        <dependency>
            <groupId>org.apache.lucene</groupId>
            <artifactId>lucene-core</artifactId>
            <version>2.4.1</version>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.4.2</version>
        </dependency>
        <dependency>
            <groupId>javax.transaction</groupId>
            <artifactId>jta</artifactId>
            <version>1.1</version>
        </dependency>

        <!-- =============================== -->
        <!-- Testing Dependencies            -->
        <!-- =============================== -->
        <dependency>
            <groupId>org.apache.activemq</groupId>
            <artifactId>activemq-core</artifactId>
            <version>5.2.0</version>
            <scope>test</scope>
            <exclusions>
                <exclusion>
                    <groupId>commons-logging</groupId>
                    <artifactId>commons-logging</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>3.8.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-log4j12</artifactId>
            <version>1.4.2</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

    <build>
        <defaultGoal>test</defaultGoal>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>              
                <configuration>
                    <archive>
                        <manifestEntries>
                            <Implementation-Title>${name}</Implementation-Title>
                            <Implementation-Version>${version}</Implementation-Version>
                            <Implementation-Vendor>hibernate.org</Implementation-Vendor>
                            <Implementation-Vendor-Id>hibernate.org</Implementation-Vendor-Id>
                            <Implementation-URL>http://search.hibernate.org</Implementation-URL>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.5</source>
                    <target>1.5</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <configuration>
                    <forkMode>pertest</forkMode>
                    <redirectTestOutputToFile>true</redirectTestOutputToFile>
                    <systemProperties>
                        <property>
                            <name>build.dir</name>
                            <value>${basedir}/target</value>
                        </property>
                    </systemProperties>
                    <excludes>
                        <exclude>**/*.java</exclude>
                    </excludes>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.jboss.maven.plugins</groupId>
                <artifactId>maven-jdocbook-plugin</artifactId>
                <version>2.1.0</version>
                <extensions>true</extensions>
                <dependencies>
                    <dependency>
                        <groupId>org.hibernate</groupId>
                        <artifactId>hibernate-jdocbook-style</artifactId>
                        <version>1.0.2</version>
                        <type>jdocbook-style</type>
                    </dependency>
                </dependencies>
                <configuration>
                    <sourceDocumentName>master.xml</sourceDocumentName>
                    <sourceDirectory>${basedir}/src/main/docbook/en-US</sourceDirectory>
                    <masterTranslation>en-US</masterTranslation>
                    <imageResource>
                        <directory>${basedir}/src/main/docbook/en-US/images</directory>
                    </imageResource>
                    <formats>
                        <format>
                            <formatName>pdf</formatName>
                            <stylesheetResource>classpath:/xslt/hibernate/pdf/main-pdf.xsl</stylesheetResource>
                            <finalName>hibernate-search-guide.pdf</finalName>
                        </format>
                        <format>
                            <formatName>html_single</formatName>
                            <stylesheetResource>classpath:/xslt/hibernate/html/main-single.xsl</stylesheetResource>
                            <finalName>index.html</finalName>
                        </format>
                        <format>
                            <formatName>html</formatName>
                            <stylesheetResource>classpath:/xslt/hibernate/html/main-chunk.xsl</stylesheetResource>
                            <finalName>index.html</finalName>
                        </format>
                    </formats>
                    <options>
                        <xincludeSupported>true</xincludeSupported>
                        <localeSeparator>-</localeSeparator>
                        <useRelativeImageUris>true</useRelativeImageUris>
                    </options>
                </configuration>
                <executions>
                    <execution>
                        <id>make-doc</id>
                        <phase>site</phase>
                        <goals>
                            <goal>resources</goal>
                            <goal>generate</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <stylesheetfile>${basedir}/src/main/javadoc/jdstyle.css</stylesheetfile>
                </configuration>
                <executions>
                    <execution>
                        <id>make-javadoc</id>
                        <phase>package</phase>
                        <goals>
                            <goal>javadoc</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <descriptors>
                        <descriptor>src/main/assembly/dist.xml</descriptor>
                    </descriptors>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-release-plugin</artifactId>
                <configuration>
                    <releaseProfiles>release</releaseProfiles>
                    <goals>package javadoc:javadoc org.jboss.maven.plugins:maven-jdocbook-plugin:2.1.0:resources org.jboss.maven.plugins:maven-jdocbook-plugin:2.1.0:generate assembly:assembly
                    </goals>
                </configuration>
            </plugin>
            
        </plugins>
        <testResources>
            <testResource>
                <filtering>true</filtering>
                <directory>src/test/resources</directory>
                <includes>
                    <include>**/*.properties</include>
                    <include>**/*.xml</include>
                </includes>
            </testResource>
        </testResources>
    </build>
    
    <distributionManagement>
        <repository>
            <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
            <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
            <!-- todo : replace this with direct svn access once the svnkit providers are available -->
            <id>repository.jboss.org</id>
            <url>file://${maven.repository.root}</url>
        </repository>
        <snapshotRepository>
            <id>snapshots.jboss.org</id>
            <name>JBoss Snapshot Repository</name>
            <url>dav:https://snapshots.jboss.org/maven2</url>
        </snapshotRepository>
    </distributionManagement>

    <profiles>
        <!-- =============================== -->
        <!-- Database profiles               -->
        <!-- =============================== -->
        <!-- HSQLDB is the default (eventually move to H2) -->
        <profile>
            <id>hsqldb</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>hsqldb</groupId>
                    <artifactId>hsqldb</artifactId>
                    <version>1.8.0.2</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernate.dialect.HSQLDialect</db.dialect>
                <jdbc.driver>org.hsqldb.jdbcDriver</jdbc.driver>
                <jdbc.url>jdbc:hsqldb:.</jdbc.url>
                <jdbc.user>sa</jdbc.user>
                <jdbc.pass/>
                <jdbc.isolation/>
            </properties>
        </profile>
        <profile>
            <id>postgresql</id>
            <dependencies>
                <dependency>
                    <groupId>postgresql</groupId>
                    <artifactId>postgresql</artifactId>
                    <version>8.3-603.jdbc3</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernate.dialect.PostgreSQLDialect</db.dialect>
                <jdbc.driver>org.postgresql.Driver</jdbc.driver>
                <jdbc.url>jdbc:postgresql://localhost:5432/hibernate</jdbc.url>
                <jdbc.user>hibernate</jdbc.user>
                <jdbc.pass>hibernate</jdbc.pass>
                <jdbc.isolation/>
            </properties>
        </profile>
        <profile>
            <id>mysql</id>
            <dependencies>
                <dependency>
                    <groupId>mysql</groupId>
                    <artifactId>mysql-connector-java</artifactId>
                    <version>5.1.6</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernate.dialect.MySQL5InnoDBDialect</db.dialect>
                <jdbc.driver>com.mysql.jdbc.Driver</jdbc.driver>
                <jdbc.url>jdbc:mysql://localhost/hibernate</jdbc.url>
                <jdbc.user>hibernate</jdbc.user>
                <jdbc.pass>hibernate</jdbc.pass>
                <jdbc.isolation/>
            </properties>
        </profile>
        <profile>
            <id>sqlserver</id>
            <dependencies>
                <dependency>
                    <groupId>net.sourceforge.jtds</groupId>
                    <artifactId>jtds</artifactId>
                    <version>1.2</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernate.dialect.SQLServerDialect</db.dialect>
                <jdbc.driver>net.sourceforge.jtds.jdbc.Driver</jdbc.driver>
                <jdbc.url>jdbc:jtds:sqlserver://ec2-67-202-7-25.compute-1.amazonaws.com:1433;DatabaseName=hibernate
                </jdbc.url>
                <jdbc.user>hibernate</jdbc.user>
                <jdbc.pass>hibernate</jdbc.pass>
                <jdbc.isolation/>
            </properties>
        </profile>

        <!--
            ###################################################################
            Profiles naming db instances in the Red Hat QA/QE lab

            First, those with OSS drivers
            ###################################################################
        -->

        <!-- The MySQL5 test envionment -->
        <profile>
            <id>mysql5</id>
            <dependencies>
                <dependency>
                    <groupId>mysql</groupId>
                    <artifactId>mysql-connector-java</artifactId>
                    <version>5.0.5</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernate.dialect.MySQL5InnoDBDialect</db.dialect>
                <jdbc.driver>com.mysql.jdbc.Driver</jdbc.driver>
                <jdbc.url>jdbc:mysql://dev02.qa.atl.jboss.com/hibbr330</jdbc.url>
                <jdbc.user>hibbr330</jdbc.user>
                <jdbc.pass>hibbr330</jdbc.pass>
                <jdbc.isolation/>
            </properties>
        </profile>

        <!-- The PostgreSQL test envionment -->
        <profile>
            <id>postgresql823</id>
            <dependencies>
                <dependency>
                    <groupId>postgresql</groupId>
                    <artifactId>postgresql</artifactId>
                    <version>8.2-504</version>
                    <classifier>jdbc3</classifier>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernate.dialect.PostgreSQLDialect</db.dialect>
                <jdbc.driver>org.postgresql.Driver</jdbc.driver>
                <jdbc.url>jdbc:postgresql://dev01.qa.atl.jboss.com:5432:hibbr330</jdbc.url>
                <jdbc.user>hibbr330</jdbc.user>
                <jdbc.pass>hibbr330</jdbc.pass>
                <jdbc.isolation/>
            </properties>
        </profile>

        <!--
            ###################################################################
            Then, those with commercial drivers
            ###################################################################
        -->

        <!-- The DB2 8.x test envionment (using 9x drivers)-->
        <profile>
            <id>db2v82</id>
            <dependencies>
                <dependency>
                    <groupId>com.ibm</groupId>
                    <artifactId>db2jcc</artifactId>
                    <version>3.1.57</version>
                </dependency>
                <dependency>
                    <groupId>com.ibm</groupId>
                    <artifactId>db2jcc_license_cu</artifactId>
                    <version>3.1.57</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernate.dialect.DB2Dialect</db.dialect>
                <jdbc.driver>com.ibm.db2.jcc.DB2Driver</jdbc.driver>
                <jdbc.url>jdbc:db2://dev32.qa.atl.jboss.com:50000/jbossqa</jdbc.url>
                <jdbc.user>hibbr330</jdbc.user>
                <jdbc.pass>hibbr330</jdbc.pass>
                <jdbc.isolation/>
            </properties>
        </profile>

        <!-- The DB2 9.x test envionment (using 9x drivers)-->
        <profile>
            <id>db2v91</id>
            <dependencies>
                <dependency>
                    <groupId>com.ibm</groupId>
                    <artifactId>db2jcc</artifactId>
                    <version>3.1.57</version>
                </dependency>
                <dependency>
                    <groupId>com.ibm</groupId>
                    <artifactId>db2jcc_license_cu</artifactId>
                    <version>3.1.57</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernate.dialect.DB2Dialect</db.dialect>
                <jdbc.driver>com.ibm.db2.jcc.DB2Driver</jdbc.driver>
                <jdbc.url>jdbc:db2://dev67.qa.atl.jboss.com:50000/jbossqa</jdbc.url>
                <jdbc.user>hibbr330</jdbc.user>
                <jdbc.pass>hibbr330</jdbc.pass>
                <jdbc.isolation/>
            </properties>
        </profile>

        <!-- The Oracle9i test envionment -->
        <profile>
            <id>oracle9i</id>
            <dependencies>
                <dependency>
                    <groupId>com.oracle</groupId>
                    <artifactId>ojdbc14</artifactId>
                    <!-- use the 10g drivers which are surprisingly largely bug free -->
                    <version>10.0.2.0</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernate.dialect.Oracle9iDialect</db.dialect>
                <jdbc.driver>oracle.jdbc.driver.OracleDriver</jdbc.driver>
                <jdbc.url>jdbc:oracle:thin:@dev20.qa.atl.jboss.com:1521:qa</jdbc.url>
                <jdbc.user>hibbr330</jdbc.user>
                <jdbc.pass>hibbr330</jdbc.pass>
                <jdbc.isolation/>
            </properties>
        </profile>

        <!-- The Oracle10g test envionment -->
        <profile>
            <id>oracle10g</id>
            <dependencies>
                <dependency>
                    <groupId>com.oracle</groupId>
                    <artifactId>ojdbc14</artifactId>
                    <!-- use the 10g drivers which are surprisingly largely bug free -->
                    <version>10.0.2.0</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernate.dialect.Oracle10gDialect</db.dialect>
                <jdbc.driver>oracle.jdbc.driver.OracleDriver</jdbc.driver>
                <jdbc.url>jdbc:oracle:thin:@dev01.qa.atl.jboss.com:1521:qadb01</jdbc.url>
                <jdbc.user>hibbr330</jdbc.user>
                <jdbc.pass>hibbr330</jdbc.pass>
                <jdbc.isolation/>
            </properties>
        </profile>

        <!-- The Sybase 15 test envionment -->
        <profile>
            <id>sybase15</id>
            <dependencies>
                <dependency>
                    <groupId>com.sybase</groupId>
                    <artifactId>jconnect</artifactId>
                    <version>6.0.5</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernate.dialect.SybaseASE15Dialect</db.dialect>
                <jdbc.driver>com.sybase.jdbc3.jdbc.SybDriver</jdbc.driver>
                <jdbc.url>jdbc:sybase:Tds:dev77.qa.atl2.redhat.com:5000/hibbr330</jdbc.url>
                <jdbc.user>hibbr330</jdbc.user>
                <jdbc.pass>hibbr330</jdbc.pass>
                <jdbc.isolation/>
            </properties>
        </profile>

        <!-- The SQLServer2005 (MS JDBC) test envionment -->
        <profile>
            <id>mssql2005</id>
            <dependencies>
                <dependency>
                    <groupId>com.microsoft.sqlserver</groupId>
                    <artifactId>msjdbc</artifactId>
                    <version>1.1</version>
                </dependency>
            </dependencies>
            <properties>
                <db.dialect>org.hibernate.dialect.SQLServerDialect</db.dialect>
                <jdbc.driver>com.microsoft.sqlserver.jdbc.SQLServerDriver</jdbc.driver>
                <jdbc.url>jdbc:sqlserver://dev30.qa.atl.jboss.com:3918</jdbc.url>
                <jdbc.user>hibbr330</jdbc.user>
                <jdbc.pass>hibbr330</jdbc.pass>
                <jdbc.isolation>4096</jdbc.isolation>
            </properties>
        </profile>

        <!-- ================================ -->
        <!-- Dependecy profiles to test w and -->
        <!-- w/o optional dependencies        -->
        <!-- ===============================  -->
        <profile>
            <id>with-optional-jars</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <dependencies>
                <!-- =============================== -->
                <!-- Optional Dependencies           -->
                <!-- =============================== -->
                <dependency>
                    <groupId>org.hibernate</groupId>
                    <artifactId>hibernate-annotations</artifactId>
                    <version>3.4.0.GA</version>
                    <optional>true</optional>
                </dependency>
                <dependency>
                    <groupId>org.hibernate</groupId>
                    <artifactId>hibernate-entitymanager</artifactId>
                    <version>3.4.0.GA</version>
                    <optional>true</optional>
                </dependency>
                <dependency>
                    <groupId>org.apache.solr</groupId>
                    <artifactId>solr-common</artifactId>
                    <version>1.3.0</version>
                    <optional>true</optional>
                </dependency>
                <dependency>
                    <groupId>org.apache.solr</groupId>
                    <artifactId>solr-core</artifactId>
                    <version>1.3.0</version>
                    <optional>true</optional>
                    <exclusions>
                        <exclusion>
                            <groupId>commons-httpclient</groupId>
                            <artifactId>commons-httpclient</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>org.apache.solr</groupId>
                            <artifactId>solr-solrj</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>woodstox</groupId>
                            <artifactId>wstx-asl</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>net.java.dev.stax-utils</groupId>
                            <artifactId>stax-utils</artifactId>
                        </exclusion>
                        <exclusion>
                            <groupId>commons-logging</groupId>
                            <artifactId>commons-logging</artifactId>
                        </exclusion>
                    </exclusions>
                </dependency>
                <dependency>
                    <groupId>org.apache.lucene</groupId>
                    <artifactId>lucene-snowball</artifactId>
                    <version>2.4.1</version>
                    <optional>true</optional>
                </dependency>
                <dependency>
                    <groupId>org.apache.lucene</groupId>
                    <artifactId>lucene-analyzers</artifactId>
                    <version>2.4.1</version>
                    <optional>true</optional>
                </dependency>
                <dependency>
                    <groupId>org.apache.commons</groupId>
                    <artifactId>commons-codec</artifactId>
                    <version>1.3</version>
                    <optional>true</optional>
                </dependency>
                <dependency>
                    <groupId>org.apache.commons</groupId>
                    <artifactId>commons-io</artifactId>
                    <version>1.3.2</version>
                    <optional>true</optional>
                </dependency>
                <dependency>
                    <groupId>javax.jms</groupId>
                    <artifactId>jms</artifactId>
                    <version>1.1</version>
                    <scope>provided</scope>
                    <optional>true</optional>
                </dependency>
                <dependency>
                    <groupId>javax.annotation</groupId>
                    <artifactId>jsr250-api</artifactId>
                    <version>1.0</version>
                    <optional>true</optional>
                </dependency>
            </dependencies>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <configuration>
                            <forkMode>pertest</forkMode>
                            <redirectTestOutputToFile>true</redirectTestOutputToFile>
                            <excludes>
                                <exclude>**/classloading/*.java</exclude>
                            </excludes>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
        <profile>
            <id>without-optional-jars</id>
            <dependencies>
                <dependency>
                    <groupId>javassist</groupId>
                    <artifactId>javassist</artifactId>
                    <version>3.4.GA</version>
                    <optional>true</optional>
                </dependency>
            </dependencies>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-surefire-plugin</artifactId>
                        <configuration>
                            <forkMode>pertest</forkMode>
                            <redirectTestOutputToFile>true</redirectTestOutputToFile>
                            <excludes>
                                <exclude>none</exclude>
                            </excludes>
                            <includes>
                                <include>**/classloading/*Test.java</include>
                            </includes>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>

    <properties>
        <slf4jVersion>1.4.2</slf4jVersion>
        <luceneVersion>2.4.1</luceneVersion>
        <hibernateVersion>3.3.1.GA</hibernateVersion>
    </properties>

</project>