Problems using Maven Repo

#1

I've worked around this by downloading "manually" but I don't seem to be able to resolve objectdb Maven dependency automatically - have the relevant repository entry etc. in my POM, Maven doesn't seem to be able to find anything. Wondering if there are some operational problems or if I should return to scratching my head.

Many thanks

#2

We are unaware of any issue with the Maven repository.

Have you tried one of our Maven based tutorials (e.g. this tutorial)?

ObjectDB Support
#3

I found this suspect if i use the maven to download objectdb.

<dependency>
            <groupId>com.objectdb</groupId>
            <artifactId>objectdb</artifactId>
            <version>2.6.2</version>

</dependency>

I got follow Java Warning that tells me that Entity Class will be ignored.

../WEB-INF/lib/objectdb-2.6.2.jar' contains offending class: javax.persistence.Entity. It will be ignored.

 

If i download the jar File from this site and add the Dependency as an SystemPath all works are fine.

Whats the problem?

<dependency>
            <groupId>objectdb</groupId>
            <artifactId>com.objectdb</artifactId>
            <version>2.6.2</version>
            <scope>system</scope>
            <systemPath>${project.basedir}/src/main/resources/mahi/objectdb/objectdb.jar</systemPath>
</dependency>

 

I use also follow Dependencies too.

        <dependency>
            <groupId>org.apache.myfaces.core</groupId>
            <artifactId>myfaces-api</artifactId>
            <version>${jsf-myfaces.version}</version>
            <scope>provided</scope>
        </dependency>

  
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jstl</artifactId>
            <version>1.2</version>
            <scope>runtime</scope>
        </dependency>

       
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.8.2</version>
            <scope>test</scope>
        </dependency>

       
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-el_2.2_spec</artifactId>
            <version>1.0.2</version>
            <scope>provided</scope>
        </dependency>

       
        <dependency>
            <groupId>org.apache.geronimo.specs</groupId>
            <artifactId>geronimo-servlet_3.0_spec</artifactId>
            <version>1.0</version>
        </dependency>

      
        <dependency>
            <groupId>org.primefaces</groupId>
            <artifactId>primefaces</artifactId>
            <version>5.2</version>
        </dependency>

#4

This new post may not be related to the original post (except that both discuss using Maven).

Please use a new thread for new topics.

ObjectDB Support

Reply