You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by al...@snecma.fr on 2004/03/24 12:09:47 UTC

Building OJB using maven

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 :

      <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: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: Building OJB using maven

Posted by Leandro Rodrigo Saad Cruz <le...@ibnetwork.com.br>.
You have to download this dependencies manually.
OBS: AFAIK, the maven build is not supported. Use ant.

On Wed, 2004-03-24 at 08:09, alain.perry@snecma.fr wrote:
> 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 :
> 
>       <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: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
-- 
Leandro Rodrigo Saad Cruz
InterBusiness Tecnologia e Serviços
IB    - www.ibnetwork.com.br
DB    - www.digitalbrand.com.br
OJB   - db.apache.org/ojb
XINGU - xingu.sf.net


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Re: Building OJB using maven

Posted by Joe Germuska <Jo...@Germuska.com>.
At 12:09 PM +0100 3/24/04, alain.perry@snecma.fr wrote:
>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: ojb-user-unsubscribe@db.apache.org
>For additional commands, e-mail: ojb-user-help@db.apache.org


-- 
Joe Germuska            
Joe@Germuska.com  
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: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org