You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Johannes Weberhofer, Weberhofer GmbH" <of...@weberhofer.at> on 2009/06/05 12:15:09 UTC

Compiling current GEP 2.2 version

Sorry for cross-posting, I have posted that in the user-group before.

I try to compile the current GEP 2.2 source against the Elicpse 3.5 RC2. On compilation I get, when the tests are enabled, the errors below. It seems those packages needed for geronimo 2.0.2 are not longer available on the maven repositories. Are those packages available somwhere for manual download?

Best regards,
Johannes


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.ws.scout:jaxr-api:jar:SNAPSHOT

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=org.apache.ws.scout -DartifactId=jaxr-api -Dversion=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.ws.scout -DartifactId=jaxr-api -Dversion=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-jee5:zip:bin:2.0.2
         3) org.apache.geronimo.configs:axis:car:2.0.2
         4) org.apache.ws.scout:scout:jar:1.0rc1
         5) org.apache.ws.scout:jaxr-api:jar:SNAPSHOT

2) org.apache.tomcat:catalina:jar:6.0.13-G543818

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=org.apache.tomcat -DartifactId=catalina -Dversion=6.0.13-G543818 -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.tomcat -DartifactId=catalina -Dversion=6.0.13-G543818 -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-jee5:zip:bin:2.0.2
         3) org.apache.geronimo.configs:tomcat6:car:2.0.2
         4) org.apache.geronimo.modules:geronimo-tomcat6:jar:2.0.2
         5) org.apache.tomcat:catalina:jar:6.0.13-G543818

3) org.apache.tomcat:jasper:jar:6.0.13-G543818

   Try downloading the file manually from the project website.

   Then, install it using the command:
       mvn install:install-file -DgroupId=org.apache.tomcat -DartifactId=jasper -Dversion=6.0.13-G543818 -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.tomcat -DartifactId=jasper -Dversion=6.0.13-G543818 -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-jee5:zip:bin:2.0.2
         3) org.apache.geronimo.configs:jasper:car:2.0.2
         4) org.apache.tomcat:jasper:jar:6.0.13-G543818

----------
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),
   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)




Am 20.05.2009 17:10, schrieb Jack Cai:
> Yes we will be looking at this.
>
> -Jack
>
> 2009/5/19 Johannes Weberhofer, Weberhofer GmbH <office@weberhofer.at
> <ma...@weberhofer.at>>
>
>     The first release candidate of Eclipse 3.5 has been released. Are
>     there any plans to support this version with the Plugin in the near
>     future?
>
>     Best regards,
>     Johannes Weberhofer
>
>

-- 


|---------------------------------
|  weberhofer GmbH               | Johannes Weberhofer
|  information technologies
|  Austria, 1080 Wien, Blindengasse 52/3
|
|  Firmenbuch: 225566s, Handelsgericht Wien
|  UID: ATU55277701
|
|  phone : +43 (0)1 5454421 0    | email: office@weberhofer.at
|  fax   : +43 (0)1 5454421 19   | web  : http://weberhofer.at
|  mobile: +43 (0)699 11998315
|----------------------------------------------------------->>

Re: Compiling current GEP 2.2 version

Posted by "Johannes Weberhofer, Weberhofer GmbH" <of...@weberhofer.at>.
Ok Donald, it's getting better... Now I get the appended messages.

*) maven\org\apache\geronimo\assemblies\geronimo-boilerplate\2.2-SNAPSHOT is there and filled with files (I have tried to re-get it several times); the files having checksums are ok, but there are some without checksums.

-rw-r--r-- 1 autobuild users 3966703 Jun  9 11:24 geronimo-boilerplate-2.2-SNAPSHOT.car
-rw-r--r-- 1 autobuild users      40 Jun  9 11:24 geronimo-boilerplate-2.2-SNAPSHOT.car.sha1
-rw-r--r-- 1 autobuild users   10603 Jun  9 11:09 geronimo-boilerplate-2.2-SNAPSHOT.pom
-rw-r--r-- 1 autobuild users      40 Jun  9 11:09 geronimo-boilerplate-2.2-SNAPSHOT.pom.sha1
-rw-r--r-- 1 autobuild users     552 Jun  9 11:09 maven-metadata-apache-snapshots.xml
-rw-r--r-- 1 autobuild users      41 Jun  9 11:09 maven-metadata-apache-snapshots.xml.sha1
-rw-r--r-- 1 autobuild users     338 Jun  9 11:09 maven-metadata-apache.snapshots.xml
-rw-r--r-- 1 autobuild users      40 Jun  9 11:09 maven-metadata-apache.snapshots.xml.sha1
-rw-r--r-- 1 autobuild users     194 Jun  9 11:09 maven-metadata-codehaus-snapshots.xml
-rw-r--r-- 1 autobuild users     194 Jun  9 11:09 maven-metadata-snapshots.openqa.org.xml
cd

*) maven\org\jvnet\staxex\stax-ex\1.0 is there, too, I have checked the files chscksums

-rw-r--r-- 1 autobuild users 13114 Jun  5 23:16 stax-ex-1.0.jar
-rw-r--r-- 1 autobuild users    40 Jun  5 23:16 stax-ex-1.0.jar.sha1
-rw-r--r-- 1 autobuild users  2777 Jun  5 22:39 stax-ex-1.0.pom
-rw-r--r-- 1 autobuild users    40 Jun  5 22:39 stax-ex-1.0.pom.sha1

*) /maven/org/apache/geronimo/assemblies/geronimo-tomcat6-javaee5/2.1.4/geronimo-tomcat6-javaee5-2.1.4-bin.zip: The directory does not exist. Shouldn't it download automatically, too?


I hope I do not bother you too much, but I'm unfortunately new to maven...

Best regards,
Johannes


[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



Re: Compiling current GEP 2.2 version

Posted by Donald Woods <dw...@apache.org>.
#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
> 

Re: Compiling current GEP 2.2 version

Posted by "Johannes Weberhofer, Weberhofer GmbH" <of...@weberhofer.at>.
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

Re: Compiling current GEP 2.2 version

Posted by Donald Woods <dw...@apache.org>.
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


Johannes Weberhofer, Weberhofer GmbH wrote:
> Sorry for cross-posting, I have posted that in the user-group before.
> 
> I try to compile the current GEP 2.2 source against the Elicpse 3.5 RC2. 
> On compilation I get, when the tests are enabled, the errors below. It 
> seems those packages needed for geronimo 2.0.2 are not longer available 
> on the maven repositories. Are those packages available somwhere for 
> manual download?
> 
> Best regards,
> Johannes
> 
> 
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) org.apache.ws.scout:jaxr-api:jar:SNAPSHOT
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.ws.scout 
> -DartifactId=jaxr-api -Dversion=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.ws.scout 
> -DartifactId=jaxr-api -Dversion=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-jee5:zip:bin:2.0.2
>         3) org.apache.geronimo.configs:axis:car:2.0.2
>         4) org.apache.ws.scout:scout:jar:1.0rc1
>         5) org.apache.ws.scout:jaxr-api:jar:SNAPSHOT
> 
> 2) org.apache.tomcat:catalina:jar:6.0.13-G543818
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.tomcat 
> -DartifactId=catalina -Dversion=6.0.13-G543818 -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.tomcat 
> -DartifactId=catalina -Dversion=6.0.13-G543818 -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-jee5:zip:bin:2.0.2
>         3) org.apache.geronimo.configs:tomcat6:car:2.0.2
>         4) org.apache.geronimo.modules:geronimo-tomcat6:jar:2.0.2
>         5) org.apache.tomcat:catalina:jar:6.0.13-G543818
> 
> 3) org.apache.tomcat:jasper:jar:6.0.13-G543818
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.tomcat 
> -DartifactId=jasper -Dversion=6.0.13-G543818 -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.tomcat 
> -DartifactId=jasper -Dversion=6.0.13-G543818 -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-jee5:zip:bin:2.0.2
>         3) org.apache.geronimo.configs:jasper:car:2.0.2
>         4) org.apache.tomcat:jasper:jar:6.0.13-G543818
> 
> ----------
> 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),
>   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)
> 
> 
> 
> 
> Am 20.05.2009 17:10, schrieb Jack Cai:
>> Yes we will be looking at this.
>>
>> -Jack
>>
>> 2009/5/19 Johannes Weberhofer, Weberhofer GmbH <office@weberhofer.at
>> <ma...@weberhofer.at>>
>>
>>     The first release candidate of Eclipse 3.5 has been released. Are
>>     there any plans to support this version with the Plugin in the near
>>     future?
>>
>>     Best regards,
>>     Johannes Weberhofer
>>
>>
>