I am very confused. You say maven 1.0.1. The FAQ says 1.1. I can't find 1.0.1, and can only find 1.0.2 for some reason. When I run the steps in the FAQ against 1.0.2, it says something about having to have 1.1(not 1.0.1).....Here is a cut and paste from my cygwin window.....Keep in mind, I have maven 1.1b1 installed also, but maven -v shows I am using 1.0.2 as seen below. I cut and pasted all the steps I went through for extreme clarity.....

[EMAIL PROTECTED] /cygdrive/c/ABROOT/views/jakarta
$ export MAVEN_HOME=/cygdrive/c/ABROOT/programs/unreg/java/maven-1.0.2

[EMAIL PROTECTED] /cygdrive/c/ABROOT/views/jakarta
$ export PATH=$MAVEN_HOME/bin:$PATH

[EMAIL PROTECTED] /cygdrive/c/ABROOT/views/jakarta
$ maven -v
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2


[EMAIL PROTECTED] /cygdrive/c/ABROOT/views/jakarta
$ export JAVA_HOME=/cygdrive/c/ABROOT/programs/registered/dev/java/j2sdk1.4.2_0
9

[EMAIL PROTECTED] /cygdrive/c/ABROOT/views/jakarta
$ export PATH=$JAVA_HOME/bin:$PATH

[EMAIL PROTECTED] /cygdrive/c/ABROOT/views/jakarta
$ java -version
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)
Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)

[EMAIL PROTECTED] /cygdrive/c/ABROOT/views/jakarta
$ maven -v
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2


[EMAIL PROTECTED] /cygdrive/c/ABROOT/views/jakarta
$ cd axis2

[EMAIL PROTECTED] /cygdrive/c/ABROOT/views/jakarta/axis2
$ maven plugin:download -DgroupId=maven-itest-plugin -DartifactId=maven-itest-p lugin -Dversion=1.0 -Dmaven.repo.remote=http://www.openejb.org/maven,http://www
.ibiblio.org/maven
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

plugin maven-scm-plugin-1.5 is cached (dynatag dep) but no longer present
Cache invalidated due to out of date plugins
File...... C:\Documents and Settings\fastdragon\.maven\cache\maven-artifact-plug
in-1.6\plugin.jelly
Element... ant:fail
Line...... 33
Column.... 15
Maven Artifact Plugin v1.6 requires Maven 1.1 or above.
     To correct this installation, remove:
c:\ABROOT\programs\unreg\java\maven-1.0.2/plugins/maven-artifact-plugin-
1.6.jar
     and run:
maven plugin:download -DgroupId=maven -DartifactId=maven-artifact-plugin
-Dversion=1.5.2

You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]

- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above


Total time: 25 seconds
Finished at: Fri Sep 09 17:59:23 MDT 2005


[EMAIL PROTECTED] /cygdrive/c/ABROOT/views/jakarta/axis2
$

thanks,
dean

Eran Chinthaka wrote:

Hi Dean,
Its awesome that you still hangs on try to rectify this build error and Its sad to see that you are the only one having this build problem.

Ok here we go.

Use Maven 1.0.1.
Run the commands found here first, under FAQ. http://ws.apache.org/axis2/maven-help.html

Then do a maven clean and do maven. Things should work just fine.


Dean Hiller wrote:

okay, I tried a different version (1.0.1) when I started and could not get it to build.

I tried "maven clean-repo" and maven. any ideas?

I am still getting this error....
Attempting to download axis2-xml-0.91.jar.
Error retrieving artifact from [http://www.ibiblio.org/maven]: org.apache.maven.
wagon.TransferFailedException: Connection refused: connect
WARNING: Failed to download axis2-xml-0.91.jar.
Attempting to download axis2-common-0.91.jar.
WARNING: Failed to download axis2-common-0.91.jar.

BUILD FAILED
File...... C:\Documents and Settings\fastdragon\.maven\cache\maven-multiproject-
plugin-1.4.1\plugin.jelly
Element... maven:reactor
Line...... 218
Column.... 9
The build cannot continue because of the following unsatisfied dependencies:

axis2-xml-0.91.jar
axis2-common-0.91.jar

Total time   : 2 minutes 53 seconds
Finished at  : Thursday, September 8, 2005 6:49:12 PM MDT

thanks,
dean

Deepal Jayasinghe wrote:

Hi ;

The problem is your maven version I guess , as I know there are some problem in beta version , so if you are using that pls try with some other version (1.0.1)


Thanks,
Deepal
................................................................
~Future is Open~



----- Original Message ----- From: "Dean Hiller" <[EMAIL PROTECTED]>
To: <axis-dev@ws.apache.org>
Sent: Thursday, September 08, 2005 10:46 AM
Subject: onto next build failure...


any ideas on what is wrong now(failure just below)...thanks, dean

Attempting to download axis2-xml-0.91.jar.
WARNING: Failed to download axis2-xml-0.91.jar.
Attempting to download axis2-common-0.91.jar.
WARNING: Failed to download axis2-common-0.91.jar.

BUILD FAILED
File...... C:\Documents and Settings\fastdragon\.maven\cache\maven-multiproject-
plugin-1.4.1\plugin.jelly
Element... maven:reactor
Line...... 218
Column.... -1
The build cannot continue because of the following unsatisfied dependencies:

axis2-xml-0.91.jar
axis2-common-0.91.jar

Total time   : 2 minutes 16 seconds
Finished at  : Wednesday, September 7, 2005 10:43:44 PM MDT


Ruchith Fernando wrote:

Hi,

This was due to some recent refactoring in the WSS4J project and the
SNAPSHOT  is updated to the latest now. Glen has updated the
Axis2-Security module and fixed this... build is fine now :-)

Thanks
Ruchith

On 9/8/05, Dean Hiller <[EMAIL PROTECTED]> wrote:

So I know switched to 1.4.2_09 and ran
1. maven clean
2. ran steps again on web page....http://ws.apache.org/axis2/maven-help.html
3. maven

The failure now is attached below.  What version of maven are you
using? It would be very nice if when I checked out axis, maven and ant came with it and there was a build.bat that just had a call to the maven that came with axis. Then I would never have to upgrade maven nor ant, as when someone upgraded it in axis2, everyone would get the update when they update their code base. I did this on previous projects with just
ant and it worked great(developers could still have ant installed on
their machine if they wanted, but it let them not worry about it).

Current failure:
   [javac]
C:\ABROOT\views\jakarta\axis2\modules\security\src\org\apache\axis2\
security\WSDoAllSender.java:211:
performENCRAction(int,boolean,org.w3c.dom.Docum
ent,org.apache.ws.security.handler.RequestData) in
org.apache.ws.security.handle
r.WSHandler cannot be applied to
(boolean,int,org.w3c.dom.Document,org.apache.ws
.security.handler.RequestData)
[javac] performENCRAction(mu, actionToDo, doc,
reqData);

   [javac]                     ^
   [javac] 1 error

BUILD FAILED
File...... C:\Documents and
Settings\fastdragon\.maven\cache\maven-multiproject-
plugin-1.4.1\plugin.jelly
Element... maven:reactor
Line...... 218
Column.... -1
Unable to obtain goal [multiproject:install-callback] -- C:\Documents
and Settin
gs\fastdragon\.maven\cache\maven-java-plugin-1.5\plugin.jelly:63:-1:
<ant:javac>
Compile failed; see the compiler error output for details.
Total time   : 2 minutes 19 seconds
Finished at  : Wednesday, September 7, 2005 8:47:21 PM MDT

thanks,
dean















Reply via email to