You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by St...@interactivedata.com on 2009/05/21 13:24:32 UTC

Problem wth mvn archetype

Hi, I'm trying to follow the Jetspeed2 tutorial at the following URL 
[http://portals.apache.org/jetspeed-2/tutorial/01/genapp.html].

When I run mvn to create the archetype...

mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate 
-DarchetypeGroupId=org.apache.portals.jetspeed-2 
-DarchetypeArtifactId=jetspeed-archetype -DarchetypeVersion=2.2-SNAPSHOT 
-DartifactId=jetexpress -Dpackage=org.apache.portals.tutorials 
-DgroupId=org.apache.portals.tutorials -Dversion=1.0-SNAPSHOT

.... I get the following error...

[INFO] 
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------
[INFO] The desired archetype does not exist 
(org.apache.portals.jetspeed-2:jetsp
eed-archetype:2.2-SNAPSHOT)
[INFO] 
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu May 21 12:17:08 BST 2009
[INFO] Final Memory: 8M/254M
[INFO] 
------------------------------------------------------------------------

Has the archetype been moved? Do I need to set up a specific repository 
location?

Any help you can offer would be most appreciated.

Best wishes,
Steve Crowe.

Steven Crowe | FTS Developer | Interactive Data Pricing and Reference Data
*   Suite 101 Eagle Tower, Montpellier Drive, Cheltenham, GL50 1TA
( +44 (0)1242 694127 È +44 (0)7795 168549  8 
steven.crowe@interactivedata.com  



-----------------------------------------
This message (including any files transmitted with it) may contain
confidential and/or proprietary information, is the property of
Interactive Data Corporation and/or its subsidiaries, and is
directed only to the addressee(s). If you are not the designated
recipient or have reason to believe you received this message in
error, please delete this message from your system and notify the
sender immediately.   An unintended recipient's disclosure,
copying, distribution, or use of this message or any attachments is
prohibited and may be unlawful. Interactive Data (Europe) Ltd
Registered No. 949387 England Registered Office: Fitzroy House 13-
17 Epworth Street.  London.  EC2A 4DL

Re: Problem wth mvn archetype

Posted by Jeff Pierce <ha...@gmail.com>.
This works for me.  Do you have a 2.2 build of your own?  If not, that's
probably the problem but I'm no expert.  Try building 2.2 then create your
custom portal.

On Thu, May 21, 2009 at 6:24 AM, <St...@interactivedata.com> wrote:

> Hi, I'm trying to follow the Jetspeed2 tutorial at the following URL
> [http://portals.apache.org/jetspeed-2/tutorial/01/genapp.html].
>
> When I run mvn to create the archetype...
>
> mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate
> -DarchetypeGroupId=org.apache.portals.jetspeed-2
> -DarchetypeArtifactId=jetspeed-archetype -DarchetypeVersion=2.2-SNAPSHOT
> -DartifactId=jetexpress -Dpackage=org.apache.portals.tutorials
> -DgroupId=org.apache.portals.tutorials -Dversion=1.0-SNAPSHOT
>
> .... I get the following error...
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] The desired archetype does not exist
> (org.apache.portals.jetspeed-2:jetsp
> eed-archetype:2.2-SNAPSHOT)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu May 21 12:17:08 BST 2009
> [INFO] Final Memory: 8M/254M
> [INFO]
> ------------------------------------------------------------------------
>
> Has the archetype been moved? Do I need to set up a specific repository
> location?
>
> Any help you can offer would be most appreciated.
>
> Best wishes,
> Steve Crowe.
>
> Steven Crowe | FTS Developer | Interactive Data Pricing and Reference Data
> *   Suite 101 Eagle Tower, Montpellier Drive, Cheltenham, GL50 1TA
> ( +44 (0)1242 694127 È +44 (0)7795 168549  8
> steven.crowe@interactivedata.com
>
>
>
> -----------------------------------------
> This message (including any files transmitted with it) may contain
> confidential and/or proprietary information, is the property of
> Interactive Data Corporation and/or its subsidiaries, and is
> directed only to the addressee(s). If you are not the designated
> recipient or have reason to believe you received this message in
> error, please delete this message from your system and notify the
> sender immediately.   An unintended recipient's disclosure,
> copying, distribution, or use of this message or any attachments is
> prohibited and may be unlawful. Interactive Data (Europe) Ltd
> Registered No. 949387 England Registered Office: Fitzroy House 13-
> 17 Epworth Street.  London.  EC2A 4DL
>



-- 
Regards,
Jeff Pierce

Re: Problem wth mvn archetype

Posted by "Jeff P." <ha...@gmail.com>.
The version was also recently changed to 2.2.0-SNAPSHOT.   I tried this as
well and it worked but I have a local build.  


Steven.Crowe wrote:
> 
> Hi, I'm trying to follow the Jetspeed2 tutorial at the following URL 
> [http://portals.apache.org/jetspeed-2/tutorial/01/genapp.html].
> 
> When I run mvn to create the archetype...
> 
> mvn org.apache.maven.plugins:maven-archetype-plugin:2.0-alpha-4:generate 
> -DarchetypeGroupId=org.apache.portals.jetspeed-2 
> -DarchetypeArtifactId=jetspeed-archetype -DarchetypeVersion=2.2-SNAPSHOT 
> -DartifactId=jetexpress -Dpackage=org.apache.portals.tutorials 
> -DgroupId=org.apache.portals.tutorials -Dversion=1.0-SNAPSHOT
> 
> .... I get the following error...
> 
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] The desired archetype does not exist 
> (org.apache.portals.jetspeed-2:jetsp
> eed-archetype:2.2-SNAPSHOT)
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu May 21 12:17:08 BST 2009
> [INFO] Final Memory: 8M/254M
> [INFO] 
> ------------------------------------------------------------------------
> 
> Has the archetype been moved? Do I need to set up a specific repository 
> location?
> 
> Any help you can offer would be most appreciated.
> 
> Best wishes,
> Steve Crowe.
> 
> Steven Crowe | FTS Developer | Interactive Data Pricing and Reference Data
> *   Suite 101 Eagle Tower, Montpellier Drive, Cheltenham, GL50 1TA
> ( +44 (0)1242 694127 È +44 (0)7795 168549  8 
> steven.crowe@interactivedata.com  
> 
> 
> 
> -----------------------------------------
> This message (including any files transmitted with it) may contain
> confidential and/or proprietary information, is the property of
> Interactive Data Corporation and/or its subsidiaries, and is
> directed only to the addressee(s). If you are not the designated
> recipient or have reason to believe you received this message in
> error, please delete this message from your system and notify the
> sender immediately.   An unintended recipient's disclosure,
> copying, distribution, or use of this message or any attachments is
> prohibited and may be unlawful. Interactive Data (Europe) Ltd
> Registered No. 949387 England Registered Office: Fitzroy House 13-
> 17 Epworth Street.  London.  EC2A 4DL
> 
> 

-- 
View this message in context: http://www.nabble.com/Problem-wth-mvn-archetype-tp23657365p23669742.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org