Hi Julien
 
I've downloaded jems beta2 and installed JBoss with EJB3 profile.
 
Stil get an error but I think I found the problem but don't know where to fix 
it:
 
Looking at the output below it trying to download the POM from:
Downloading: javax/ejb/ejb/3.0-RC8/ejb-3.0-RC8.pom
 
But the repository path is actually:
http://svn.nuxeo.org/maven/repo/javax/ejb/3.0-RC8/ 
 
The downloading path seems incorrect, need to remove `/ejb` from path:
Downloading: javax/ejb/ejb/3.0-RC8/ejb-3.0-RC8.pom
 
Could this be the problem?
 
Kind regards,
Corné
 
 
 
Output snip:
========
deploy:
     [echo] Deploying Nuxeo EP
[artifact:dependencies] [INFO] snapshot 
org.apache.myfaces.maven:myfaces-master:1.0.6-SNAPSHOT: checking for updates 
from apache-maven-snapshots
[artifact:dependencies] [WARNING] repository metadata for: 'snapshot 
org.apache.myfaces.maven:myfaces-master:1.0.6-SNAPSHOT' could not be retrieved 
from repository: apache-maven-snapshots due to an error: Error transferring file
[artifact:dependencies] [INFO] Repository 'apache-maven-snapshots' will be 
blacklisted
[artifact:dependencies] [INFO] snapshot 
org.nuxeo.theme:NXThemesFragments:0.0-SNAPSHOT: checking for updates from 
apache.snapshots
[artifact:dependencies] [WARNING] repository metadata for: 'snapshot 
org.nuxeo.theme:NXThemesFragments:0.0-SNAPSHOT' could not be retrieved from 
repository: apache.snapshots due to an error: Error transferring file
[artifact:dependencies] [INFO] Repository 'apache.snapshots' will be blacklisted
[artifact:dependencies] [INFO] snapshot 
org.nuxeo.theme:NXThemesFragments:0.0-SNAPSHOT: checking for updates from nuxeo
[artifact:dependencies] [WARNING] repository metadata for: 'snapshot 
org.nuxeo.theme:NXThemesFragments:0.0-SNAPSHOT' could not be retrieved from 
repository: nuxeo due to an error: Error transferring file
[artifact:dependencies] [INFO] Repository 'nuxeo' will be blacklisted
[artifact:dependencies] [INFO] snapshot org.nuxeo.ecm:NXECM:0.0-SNAPSHOT: 
checking for updates from nuxeo
[artifact:dependencies] [WARNING] repository metadata for: 'snapshot 
org.nuxeo.ecm:NXECM:0.0-SNAPSHOT' could not be retrieved from repository: nuxeo 
due to an error: Error transferring file
[artifact:dependencies] [INFO] Repository 'nuxeo' will be blacklisted
[artifact:dependencies] Downloading: javax/ejb/ejb/3.0-RC8/ejb-3.0-RC8.pom
[artifact:dependencies] An error has occurred while processing the Maven 
artifact tasks.
[artifact:dependencies]  Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Unable to resolve artifact: Unable to get dependency 
information: Unable to read the metadata file for artifact 'javax.ejb:ejb:jar': 
Error getting POM for 'javax.ejb:ejb' from the repository: Error transferring 
file
[artifact:dependencies]   javax.ejb:ejb:pom:3.0-RC8
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   central (http://repo1.maven.org/maven2),
[artifact:dependencies]   apache.snapshots 
(http://people.apache.org/repo/m2-snapshot-repository),
[artifact:dependencies]   nuxeo (http://svn.nuxeo.org/maven/repo/),
[artifact:dependencies]   myfaces.staging 
(http://myfaces.zones.apache.org/dist/maven-repository)
[artifact:dependencies]
[artifact:dependencies]   javax.ejb:ejb:jar:3.0-RC8
[artifact:dependencies]
[artifact:dependencies] from the specified remote repositories:
[artifact:dependencies]   central (http://repo1.maven.org/maven2),
[artifact:dependencies]   apache.snapshots 
(http://people.apache.org/repo/m2-snapshot-repository),
[artifact:dependencies]   nuxeo (http://svn.nuxeo.org/maven/repo/),
[artifact:dependencies]   myfaces.staging 
(http://myfaces.zones.apache.org/dist/maven-repository)
[artifact:dependencies] Path to dependency:
[artifact:dependencies]         1) org.nuxeo.ecm:Nuxeo5:jar:0.0-SNAPSHOT
[artifact:dependencies]         2) org.nuxeo.ecm:NXTransform:jar:0.0-SNAPSHOT
[artifact:dependencies]
[artifact:dependencies]
[artifact:dependencies]
 
BUILD FAILED
C:\work\nuxeo-ep\build.xml:30: The following error occurred while executing 
this line:
C:\work\nuxeo-ep\org.nuxeo.ecm.webapp\build.xml:8: Unable to resolve artifact: 
Unable to get dependency information: Unable to read the metadata file for 
artifact 'javax.ejb:ejb:jar': Error getting POM for 'javax.ejb:ejb' from the 
repository: Error transferring file
  javax.ejb:ejb:pom:3.0-RC8
 
from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  nuxeo (http://svn.nuxeo.org/maven/repo/),
  myfaces.staging (http://myfaces.zones.apache.org/dist/maven-repository)
 
  javax.ejb:ejb:jar:3.0-RC8
 
from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  nuxeo (http://svn.nuxeo.org/maven/repo/),
  myfaces.staging (http://myfaces.zones.apache.org/dist/maven-repository)
Path to dependency:
        1) org.nuxeo.ecm:Nuxeo5:jar:0.0-SNAPSHOT
        2) org.nuxeo.ecm:NXTransform:jar:0.0-SNAPSHOT
 
 
 
Total time: 50 seconds
C:\work\nuxeo-ep>


>>> Julien Anguenot <[EMAIL PROTECTED]> 2007/02/08 11:30 AM >>>
Hi Corne,

Corne Kloppers wrote:
> I get the following when doing a fresh checkout and invoking the build
> command below. Also find below settings on my PC.
> My JBoss was installed with a EJB3 profile via JEMS-Installer 1.2.0.BETA3 

You need jems beta2 see below for my comments.

> Any help or suggestions?

See my inline comments.


> Command issued:
> ============
> C:\work\nuxeo-ep>ant clean && mvn -Dmaven.test.skip=true install && ant


This is ok.

> Output snip:
> ========
> ..
> ...
> ....
> BUILD FAILED
> C:\work\nuxeo-ep\build.xml:30: The following error occurred while
> executing this line:
> C:\work\nuxeo-ep\org.nuxeo.ecm.webapp\build.xml:8: Unable to resolve
> artifact: Unable to get dependency information: Unable to read the
> metadata file for artifact 'javax.ejb:ejb:jar': Error getting POM for
> 'javax.ejb:ejb' from the repository: Error transferring file
>   javax.ejb:ejb:pom:3.0-RC8
>  
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   nuxeo (http://svn.nuxeo.org/maven/repo/),
>   myfaces.staging (http://myfaces.zones.apache.org/dist/maven-repository)
>  
>   javax.ejb:ejb:jar:3.0-RC8
>  
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   nuxeo (http://svn.nuxeo.org/maven/repo/),
>   myfaces.staging (http://myfaces.zones.apache.org/dist/maven-repository)
> Path to dependency:
>         1) org.nuxeo.ecm:Nuxeo5:jar:0.0-SNAPSHOT
>         2) org.nuxeo.ecm:NXTransform:jar:0.0-SNAPSHOT
>  

This is strange. Can you access this ?

http://svn.nuxeo.org/maven/repo/javax/ejb/3.0-RC8/ 

>  
> Total time: 52 seconds
>  
> Ant Version:
> ========
> Apache Ant version 1.7.0 compiled on December 13 2006
>  
> Maven Version:
> ==========
> Maven version: 2.0.4

All the above are fine.

> Environmental Variables:
> ================
> ANT_HOME = C:\Java\apache-ant-1.7.0
> JAVA_HOME = C:\Java\jdk1.5.0_06
> JBOSS_HOME = C:\Java\jboss-4.0.5.GA

The Jboss version is not good => 4.0.4.GA : jems 1.2.0 beta2

See the devel quick guide for requirements :

http://svn.nuxeo.org/trac/nuxeo/browser/doc/nuxeo5-dev-quickstart-howto.txt 

Keep us posted please.

Cheers,

J.

-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - http://www.nuxeo.com ( http://www.nuxeo.com/ )
Nuxeo 5 : http://www.nuxeo.org ( http://www.nuxeo.org/ )
Mobile: +33 (0) 6 72 57 57 66

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to