You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by tm jee <tm...@yahoo.co.uk> on 2006/11/11 11:39:14 UTC

[s2] struts2-archetype-starter 's struts-master parent

Hi guys,

struts2-archetype-starter seems to depends on struts-master version 4-snapshot which doesn't  exists at the moment in maven repository (http://repo1.maven.org/maven2/). Struts2's core, etc seems to still be using struts-master version 3. 

Are we suppose to use struts-master version 3 or have i missed the point?

Thx in advance.

rgds


 		
---------------------------------
 Try the all-new Yahoo! Mail . "The New Version is radically easier to use" – The Wall Street Journal

Re: [s2] struts2-archetype-starter 's struts-master parent

Posted by tm jee <tm...@yahoo.co.uk>.
> What's happening and when?  (Is there a problem when building the
> archetype, during mvn archetype:create or when using the generated
> project?)

If there's no /org/apache/struts/struts-master/4-SNAPSHOT directory in my local repository, mvn install gives me error saying that struts-master 4-SNAPSHOT cannot be found from any repository. 

With the following added to struts2-archetype-starter pom.xml it seems to be working ok.

<repositories>
   <repository>
       <id>apache.snapshots</id>
       <name>Apache Maven Repository (Snapshots and Test Builds)</name>
       <url>http://people.apache.org/repo/m2-snapshot-repository</url>
       <releases><enable>true</enable></releases>
       <snapshots><enabled>true</enabled></snapshots>
   </repository>
</repositories>

Maybe we should have this in struts2-archetype-starter's pom.xml as well. 

rgds


Wendy Smoak <ws...@gmail.com> wrote: On 11/11/06, tm jee  wrote:

> struts2-archetype-starter seems to depends on struts-master version 4-snapshot which doesn't  exists at the moment in maven repository (http://repo1.maven.org/maven2/). Struts2's core, etc seems to still be using struts-master version 3.

It's a snapshot, so it won't be in the central repository.  It is in
the snapshot repo:

http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts-master/4-SNAPSHOT/

What's happening and when?  (Is there a problem when building the
archetype, during mvn archetype:create or when using the generated
project?)

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org



 		
---------------------------------
 Try the all-new Yahoo! Mail . "The New Version is radically easier to use" – The Wall Street Journal

Re: [s2] struts2-archetype-starter 's struts-master parent

Posted by Wendy Smoak <ws...@gmail.com>.
On 11/11/06, tm jee <tm...@yahoo.co.uk> wrote:

> struts2-archetype-starter seems to depends on struts-master version 4-snapshot which doesn't  exists at the moment in maven repository (http://repo1.maven.org/maven2/). Struts2's core, etc seems to still be using struts-master version 3.

It's a snapshot, so it won't be in the central repository.  It is in
the snapshot repo:

http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts-master/4-SNAPSHOT/

What's happening and when?  (Is there a problem when building the
archetype, during mvn archetype:create or when using the generated
project?)

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org