geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Woods <dwo...@apache.org>
Subject Re: Compiling current GEP 2.2 version
Date Mon, 08 Jun 2009 15:14:04 GMT
#1 and #3 should be fixed in Rev782666.

#2 is due to old 2.2-SNAPSHOT server artifacts out in the snapshot repo, 
which will require you to build [1] a local 2.2-SNAPSHOT server until 
new artifacts are published.

[1] http://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html



-Donald


Johannes Weberhofer, Weberhofer GmbH wrote:
> Thank you, Donald! The mentioned issues have been resolved. Now, that I 
> have completely rebuilt my local maven repo (for some other reasons), I 
> get I had to manually install some jars (which I have got from the 
> current Geronimo Snapshot).
> 
> This is the error-log:
> 
> Missing:
> ----------
> 1) org.apache.openejb:ejb31-api-experimental:jar:3.1.1-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.openejb 
> -DartifactId=ejb31-api-experimental -Dversion=3.1.1-SNAPSHOT 
> -Dpackaging=jar -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file 
> there:
>       mvn deploy:deploy-file -DgroupId=org.apache.openejb 
> -DartifactId=ejb31-api-experimental -Dversion=3.1.1-SNAPSHOT 
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.geronimo.devtools:testsuite-eclipse:pom:2.2.0
>         2) 
> org.apache.geronimo.assemblies:geronimo-tomcat6-javaee5:zip:bin:2.2-SNAPSHOT 
> 
>         3) org.apache.geronimo.plugingroups:javaee5-tomcat:car:2.2-SNAPSHOT
>         4) org.apache.geronimo.plugingroups:framework:car:2.2-SNAPSHOT
>         5) org.apache.geronimo.framework:rmi-naming:car:2.2-SNAPSHOT
>         6) org.apache.geronimo.framework:jee-specs:car:2.2-SNAPSHOT
>         7) org.apache.openejb:ejb31-api-experimental:jar:3.1.1-SNAPSHOT
> 
> 2) org.apache.cxf:cxf-tools-java2ws:jar:2.1.4-SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.cxf 
> -DartifactId=cxf-tools-java2ws -Dversion=2.1.4-SNAPSHOT -Dpackaging=jar 
> -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file 
> there:
>       mvn deploy:deploy-file -DgroupId=org.apache.cxf 
> -DartifactId=cxf-tools-java2ws -Dversion=2.1.4-SNAPSHOT -Dpackaging=jar 
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.geronimo.devtools:testsuite-eclipse:pom:2.2.0
>         2) 
> org.apache.geronimo.assemblies:geronimo-tomcat6-javaee5:zip:bin:2.2-SNAPSHOT 
> 
>         3) org.apache.geronimo.plugingroups:javaee5-tomcat:car:2.2-SNAPSHOT
>         4) 
> org.apache.geronimo.plugingroups:webservices-axis2:car:2.2-SNAPSHOT
>         5) org.apache.geronimo.configs:cxf-tools:car:2.2-SNAPSHOT
>         6) org.apache.geronimo.configs:cxf-jaxws-tools:car:2.2-SNAPSHOT
>         7) org.apache.geronimo.modules:geronimo-cxf-tools:jar:2.2-SNAPSHOT
>         8) org.apache.cxf:cxf-tools-java2ws:jar:2.1.4-SNAPSHOT
> 
> 3) org.directwebremoting:dwr:jar:2.0.5
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.directwebremoting 
> -DartifactId=dwr -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file
> 
>   Alternatively, if you host your own repository you can deploy the file 
> there:
>       mvn deploy:deploy-file -DgroupId=org.directwebremoting 
> -DartifactId=dwr -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file 
> -Durl=[url] -DrepositoryId=[id]
> 
>   Path to dependency:
>         1) org.apache.geronimo.devtools:testsuite-eclipse:pom:2.2.0
>         2) 
> org.apache.geronimo.assemblies:geronimo-tomcat6-javaee5:zip:bin:2.2-SNAPSHOT 
> 
>         3) org.apache.geronimo.plugingroups:javaee5-tomcat:car:2.2-SNAPSHOT
>         4) 
> org.apache.geronimo.plugins:sysdb-console-tomcat:car:2.2-SNAPSHOT
>         5) org.directwebremoting:dwr:jar:2.0.5
> 
> ----------
> 3 required artifacts are missing.
> 
> for artifact:
>   org.apache.geronimo.devtools:testsuite-eclipse:pom:2.2.0
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2),
>   apache.incubator 
> (http://people.apache.org/repo/m2-incubating-repository/),
>   java.net (http://download.java.net/maven/1/),
>   releases.openqa.org (http://archiva.openqa.org/repository/releases),
>   geronimo-server-2.0.2 
> (https://svn.apache.org/repos/asf/geronimo/server/tags/2.0.2/repository/),
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   apache-snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   snapshots.openqa.org (http://archiva.openqa.org/repository/snapshots),
>   codehaus-snapshots (http://snapshots.repository.codehaus.org)
> 
> ================
> 
> When I have manually installeld the above mentioned packages the 
> build-process ends with the following messages:
> 
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Building Geronimo Eclipse Plugin :: Testsuite :: Server(s)
> [INFO]    task-segment: [clean, install]
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting file-set: 
> /srv/project/autobuild/gep/trunk/testsuite/server (included: 
> [launcher/.metadata, launcher/eclipse, launcher/results, 
> launcher/server_v2.2, launcher/server_v2.1, launcher/server_v2.0, 
> launcher/workspace], excluded: [])
> [INFO] [buildnumber:create {execution: default}]
> [INFO] Storing buildNumber: 20090608113218 at timestamp: 1244453538805
> [WARNING] POM for 
> 'org.apache.geronimo.assemblies:geronimo-boilerplate:pom:2.2-SNAPSHOT:test' 
> is invalid. It will be ignored for artifact resolution. Reason: Failed 
> to validate POM for project 
> org.apache.geronimo.assemblies:geronimo-boilerplate at Artifact 
> [org.apache.geronimo.assemblies:geronimo-boilerplate:pom:2.2-SNAPSHOT:test]
> [WARNING] POM for 
> 'org.apache.geronimo.assemblies:geronimo-boilerplate:pom:2.2-SNAPSHOT:test' 
> is invalid. It will be ignored for artifact resolution. Reason: Failed 
> to validate POM for project 
> org.apache.geronimo.assemblies:geronimo-boilerplate at Artifact 
> [org.apache.geronimo.assemblies:geronimo-boilerplate:pom:2.2-SNAPSHOT:test]
> [WARNING] POM for 'org.jvnet.staxex:stax-ex:pom:1.0:test' is invalid. It 
> will be ignored for artifact resolution. Reason: Not a v4.0.0 POM. for 
> project org.jvnet.staxex:stax-ex at 
> /srv/downloads/maven/org/jvnet/staxex/stax-ex/1.0/stax-ex-1.0.pom
> [INFO] [antrun:run {execution: create-geronimo-server}]
> [INFO] Executing tasks
>     [unzip] Expanding: 
> /srv/downloads/maven/org/apache/geronimo/assemblies/geronimo-tomcat6-javaee5/2.2-SNAPSHOT/geronimo-tomcat6-javaee5-2.2-SNAPSHOT-bin.zip

> into /srv/project/autobuild/gep/trunk/testsuite/launcher
>      [move] Moving 4066 files to 
> /srv/project/autobuild/gep/trunk/testsuite/launcher/server_v2.2
>     [unzip] Expanding: 
> /srv/downloads/maven/org/apache/geronimo/assemblies/geronimo-tomcat6-javaee5/2.1.4/geronimo-tomcat6-javaee5-2.1.4-bin.zip

> into /srv/project/autobuild/gep/trunk/testsuite/launcher
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Error executing ant tasks
> 
> The geronimo-boilerplate repository downloads but seem to be invalid, 
> the 
> /srv/downloads/maven/org/apache/geronimo/assemblies/geronimo-tomcat6-javaee5/2.1.4 
> directory does not exist in my maven repository.
> ll
> 
> I hope you can help me again!
> 
> Thank you and best regards;
> Johannes
> 
> 
> 
> 
> Am 05.06.2009 14:53, schrieb Donald Woods:
>> OK, svn up your copy of devtools trunk and try it again.
>> I added a repo pointer to the private repo in the 2.0.2 Server svn tag
>> (which contains the 2 Tomcat jars) and added the missing scout depends.
>>
>> You may need to delete any existing org/apache/ws/scout/jax-api
>> artifacts from your local .m2 repo or just replace them with the ones
>> from -
>> https://svn.apache.org/repos/asf/geronimo/server/tags/2.0.2/repository/
>>
>> as the externally published pom has an incorrect dependency on
>> jaxr-api-SANPSHOT which is no longer available (instead of 1.0rc1 as the
>> updated copy in the 2.0.2 repo).
>>
>>
>> -Donald
> 

Mime
View raw message