With OJB 1.0.rc5, in the maven's project.xml file, the following dependencies can't be found, even trying other site like www.ibiblio.org :
Those are all JARs which have licenses which forbid them from being distributed from www.ibiblio.org. You'll have to download each one and place it in your local Maven repository (on UNIX systems, this defaults to ~/.maven/repository/; on Windows, it's in the equivalent "home" directory)
In the "repository" folder, make one directory for each "groupId" -- in cases where there is no "groupId" but only an "id", make a directory with that name. Then in each of those directories, make a jars directory. A UNIX example:
cd ~/.maven/repository mkdir -p ejb/jars mkdir -p jdo/jars mkdir -p jta/jars and so on
Then, copy each of the downloaded jars into the corresponding directory. You may also need to rename the JAR in the form {artifactId}-{version}.jar, except in the case of "ejb" where the dependency overrides the naming convention.
This part is a little tricky the first time, but you only have to do it once, and it becomes pretty natural.
Joe
<id>ejb</id> <version>1.0</version> <jar>ejb.jar</jar> <url>http://java.sun.com/j2ee/</url> <!--License: SUN License --> </dependency>
<dependency> <id>jdo</id> <version>1_0-fcs</version> <url>http://java.sun.com/products/jdo/</url> <!--License: SUN License --> </dependency>
<dependency> <groupId>jdo</groupId> <artifactId>jdori</artifactId> <version>1_0-fcs</version> <url>http://java.sun.com/products/jdo/</url> <!--License: SUN License --> </dependency>
<dependency> <id>jta</id> <version>1.0.1</version> <url>http://java.sun.com/products/jta/</url> <!-- SUN binary code license --> </dependency>
<dependency> <id>p6spy</id> <version>1.0</version> <url>http://www.p6spy.com/</url> <!-- License: Apache Software License --> </dependency>
<dependency> <id>xalan</id> <version>2.4</version> <url>http://xml.apache.org/xalan-j/</url> </dependency>
So, the process ends unsuccesfull ; could you tell me a right way to build OJB with maven ?
#
Ce courrier et les documents qui y sont joints peuvent contenir des informations confidentielles.
Au cas ou vous n'en seriez pas le bon destinataire, vous etes prie de le detruire et de nous en
informer immediatement.
This email and any attached documents may contain confidential information. If you are not the
correct addressee, please advise us immediately and delete it.
#
...
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining."
-- Jef Raskin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
