Re: T5 - Can't get the tapestry 5 quickstart maven archetype to resolve

2008-10-20 Thread BarryDev

Managed to get this to work by adding
-DremoteRepositories=http://tapestry.formos.com/maven-snapshot-repository/
-DarchetypeVersion=5.0.16-SNAPSHOT 

to the command.  Found it on this page
http://tapestry.apache.org/tapestry5/quickstart/ .

Guess how I was adding the snapshot repository to my settings.xml wasn't
correct.


BarryDev wrote:
 
 I was able to get the tapestry 5 quickstart archetype to download
 successfully a few days ago but now when I run the command I'm getting the
 following output:
 
 $ mvn archetype:create   -DarchetypeGroupId=org.apache.tapestry 
 -DarchetypeArtifactId=quickstart  -DgroupId=org.apache.tapestry  -Dartifac
 tId=tutorial1  -DpackageName=org.apache.tapestry5.tutorial
 
 I've tried adding the people.apache.org repo to my maven settings to no
 avail.  I don't think that's the problem seeing as I was able to get it to
 work a few days ago without any tinkering in my settings.  Is something
 wrong with the current release of the archetype or have I managed to
 bugger up my maven?
 

-- 
View this message in context: 
http://www.nabble.com/T5---Can%27t-get-the-tapestry-5-quickstart-maven-archetype-to-resolve-tp20050232p20073495.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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



T5 - Can't get the tapestry 5 quickstart maven archetype to resolve

2008-10-18 Thread BarryDev

I was able to get the tapestry 5 quickstart archetype to download
successfully a few days ago but now when I run the command I'm getting the
following output:

$ mvn archetype:create   -DarchetypeGroupId=org.apache.tapestry 
-DarchetypeArtifactId=quickstart  -DgroupId=org.apache.tapestry  -Dartifac
tId=tutorial1  -DpackageName=org.apache.tapestry5.tutorial
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO]

[INFO] Building Maven Default Project
[INFO]task-segment: [archetype:create] (aggregator-style)
[INFO]

[WARNING] Attempting to build MavenProject instance for Artifact
(org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-5-20081013.1916
7-3) of type: maven-plugin; constructing POM artifact instead.
[INFO] Setting property: classpath.resource.loader.class =
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on = 'false'.
[INFO] Setting property: resource.loader = 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound = 'false'.
[INFO] [archetype:create]
[WARNING] This goal is deprecated. Please use mvn archetype:generate instead
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

GroupId: org.apache.tapestry
ArtifactId: quickstart
Version: RELEASE

Reason: Unable to determine the release version

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.tapestry
-DartifactId=quickstart -Dversion=RELEASE -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.tapestry
-DartifactId=quickstart -Dversion=RELEASE -Dpackaging=jar
-Dfile=/path/to/file -Du
l=[url] -DrepositoryId=[id]


  org.apache.tapestry:quickstart:jar:RELEASE

I've tried adding the people.apache.org repo to my maven settings to no
avail.  I don't think that's the problem seeing as I was able to get it to
work a few days ago without any tinkering in my settings.  Is something
wrong with the current release of the archetype or have I managed to bugger
up my maven?
-- 
View this message in context: 
http://www.nabble.com/T5---Can%27t-get-the-tapestry-5-quickstart-maven-archetype-to-resolve-tp20050232p20050232.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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