Hi Hardy, thanks for the reply!
My project is a Maven Entreprise Application with the following modules:
Code:
<modules>
<module>Rut-ear</module>
<module>Rut-web</module>
<module>Rut-ejb</module>
<module>Rutdmin-web</module>
</modules>
Rut-ejb module contains the following dependencies:
Code:
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-io</artifactId>
<version>1.3.2</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>6.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-search</artifactId>
<version>3.3.0.Final</version>
</dependency>
<dependency>
<groupId>com.totem</groupId>
<artifactId>Namu</artifactId>
<version>1.0-FINAL</version>
</dependency>
</dependencies>
And the following libraries:
- commons-io-1.3.2.jar
- hibernate-search-3.3.0.Final.jar
- javaee-api-6.0.jar [provided]
- antlr-2.7.6.jar
- commons-collections-3.1.jar
- dom4j-1.6.1.jar
- hibernate-commons-annotations-3.2.0.Final.jar
- hibernate-core-3.6.0.Final.jar
- hibernate-jpa-2.0-api-1.0.0.Final.jar
- hibernate-search-analyzers-3.3.0.Final.jar
- jta-1.1.jar
- lucene-analyzers-3.0.3.jar
- lucene-core-3.0.3.jar
- lucene-snowball-3.0.3.jar
- slf4j-api-1.6.1.jar
- solr-core-1.4.1.jar
- solr-solrj-1.4.1.jar
- Namu-1.0.jar (Company project with custom analyzers)
The Persistence Unit is also on the Rut-ejb module
The Rut-ear module, the one we run, has the following dependencies on it's POM:
Code:
<dependencies>
<dependency>
<groupId>com.tot/groupId>
<artifactId>Rut-ejb</artifactId>
<version>1.0</version>
<type>ejb</type>
</dependency>
<dependency>
<groupId>com.tot</groupId>
<artifactId>Rut-web</artifactId>
<version>1.0</version>
<type>war</type>
</dependency>
</dependencies>
Excuse for my ignorance but I don't know what a global shared library is.
By the way, I've created a single test Maven Web Module, with the same hibernate search dependency and same persistence unit properties I used on Rut-ejb module, and the index is properly created, that makes me think I'm doing something wrong on the Maven Enterprise Application configuration.
Regards