Ah, you are right - looks like a couple poms weren't changed to 2.0.2-SNAPSHOT. Fixed.

Don

David H. DeWolf wrote:
Are you sure it's not just a matter of updating the parent pom's version? Currently it's still set back to 2.0.1. I think it should be 2.0.2-SNAPSHOT in the trunk.

Once that's corrected, maven's built-in hierarchy and dependency resolution will make the build work out of the box.

David

Don Brown wrote:
This issue is expected. The problem, as I see it, is you are trying to build the latest 'core' trunk, but you don't have its dependency, the struts2-parent POM version 2.0.2-SNAPSHOT, in your repository. To fix this, run 'mvn -N install' from the struts2/ directory, which will install the POM into your local repo. From our end, we should publish the 2.0.2-SNAPSHOT artifacts to our snapshot repo so not everyone has to do this.

Don

Arevalo, Cesar (GE Comm Fin, non-ge) wrote:
Let me try that and check if it works. Thanks Ted

Cesar

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ted Husted
Sent: Monday, October 16, 2006 9:24 AM
To: Struts Developers List
Cc: Struts Users Mailing List
Subject: Re: Struts2 - FATAL ERROR while running mvn install

Me too. Evidentally, I managed to break something in the Maven build whilst running the Struts 2.0.1 distribution. I'll forward this to [EMAIL PROTECTED]

In the meantime, you should be able to reference Struts 2.0.1 development build from your POM, if the snapshot repostiory is referenced.

<repositories>
  <repository>
    <id>ASF_SNAPSHOT_M2</id>
    <name>ASF Maven 2 Snapshot</name>
    <url>http://people.apache.org/repo/m2-snapshot-repository</url>
  </repository>
</repositories>

-Ted.

On 10/13/06, Arevalo, Cesar (GE Comm Fin, non-ge) <[EMAIL PROTECTED]> wrote:
Hi All,

Had been working fine with Struts2 repo a couple of days ago, however I had a problem with my tortoise client and had to start over again. So I went and downloaded the Struts2 repo again into my machine. However when running the mvn install over my struts2 folder I got the following:



C:\cvs\stuts2>mvn install
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------
--
[ERROR] FATAL ERROR
[INFO] ----------------------------------------------------------------------
--
[INFO] Failed to resolve artifact.

GroupId: org.apache.struts
ArtifactId: struts2-parent
Version: 2.0.2-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.apache.struts:struts2-parent:pom:2.0.2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


[INFO] ----------------------------------------------------------------------
--


... thought of deleting the .m2 folder that maven creates for its repository in my home folder (in C:\Documents and Settings) but again if failed with the same error. Wonder if you could help me?

Regards
Cesar Arevalo
Cedar Rapids Local Dev Team
T:      (+52) 449 910 7800 x9284
D:      *879 9284
C:      (+52) 465 1030121
e:      [EMAIL PROTECTED]
M:      Ave. Universidad 1001, Torre Plaza Bosques Building, 3rd Floor
Bosques del Prado. C.P. 20127
Aguascalientes, Ags - México

IMPORTANT: The documents and files attached to this transmission contain confidential information that must be kept secret by law. This information is for the exclusive use of the specified recipient whose name appears in this transmission. If you have received this message by mistake, please notify us immediately by return e-mail and delete the file and its attachments. You are hereby notified that any dissemination, copying, distribution or adoption of any action arising from the confidential information contained herein is strictly prohibited. Any violation will be penalized by law.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to