Discussion:
Problems with archetypes inMaven
Thomas Feldman
2009-02-05 09:34:42 UTC
Permalink
Hello, I plan to develop siples web templates for Jahia 6. I installed
Maven 2, then tried to create a Jahia Template project.

But as I launch the following command :

mvn archetype:generate -DarchetypeCatalog=http://maven.jahia.org/maven2

I receive the following error message :

Error reading archetype catalog http://maven.jahia.org/maven2

Then, no archetype is defined, and I'm asked to choose an archetype
number....



Anyone knows how I go through that?



Thanks in advance

Thomas Feldman
Chef de projet technique -Technical Project Manager
____________________________________________________________

Duke - A Razorfish Company
Benjamin Papez
2009-02-05 15:24:15 UTC
Permalink
_______________________________________________
template_list mailing list
***@jahia.org
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Thomas Feldman
2009-02-05 16:05:32 UTC
Permalink
Sorry, I trie dit but I get a new message error :



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

[ERROR] BUILD FAILURE

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

[INFO] The desired archetype does not exist (org.jahia.archetypes:jahia-web-temp

lates-archetype:6.0-SNAPSHOT)

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

[INFO] For more information, run Maven with the -e switch

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

[INFO] Total time: 6 seconds

[INFO] Finished at: Thu Feb 05 17:04:35 CET 2009

[INFO] Final Memory: 8M/15M



Any idea?



Thanks.



Thomas Feldman
Chef de projet technique -Technical Project Manager
____________________________________________________________

Duke - A Razorfish Company
86-90, rue Notre Dame de Nazareth
75003 Paris - France
T : +33 (0)1 53 44 17 19

mailto:***@duke-interactive.com
http://www.duke-interactive.com
____________________________________________________________

If emails save time, not printing them saves trees



De : template_list-***@jahia.org [mailto:template_list-***@jahia.org] De la part de Benjamin Papez
Envoyé : jeudi 5 février 2009 16:24
À : Any questions regarding template development and/or about the taglibsextension
Objet : Re: [template_list] Problems with archetypes inMaven



Hello,

sorry we had some technical problems after switching to the new website.

The URL is supposed to work now and we have uploaded the resources for the first 6.0 community release.

When you are entering the archetype properties, the jahiaPackageVersion to use is called 6.0-CE

Let us know if you still experience problems with setting up your project.

Regards,
Benjamin

Thomas Feldman wrote:



Hello, I plan to develop siples web templates for Jahia 6. I installed Maven 2, then tried to create a Jahia Template project.

But as I launch the following command :

mvn archetype:generate -DarchetypeCatalog=http://maven.jahia.org/maven2

I receive the following error message :

Error reading archetype catalog http://maven.jahia.org/maven2

Then, no archetype is defined, and I'm asked to choose an archetype number....



Anyone knows how I go through that?



Thanks in advance

Thomas Feldman
Chef de projet technique -Technical Project Manager
____________________________________________________________

Duke - A Razorfish Company









________________________________
Benjamin Papez
2009-02-05 17:22:43 UTC
Permalink
_______________________________________________
template_list mailing list
***@jahia.org
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
Thomas Feldman
2009-02-05 17:27:24 UTC
Permalink
Yes it seems to work now.



Many thanks!



Thomas Feldman
Chef de projet technique -Technical Project Manager
____________________________________________________________

Duke - A Razorfish Company
86-90, rue Notre Dame de Nazareth
75003 Paris - France
T : +33 (0)1 53 44 17 19

mailto:***@duke-interactive.com
http://www.duke-interactive.com
____________________________________________________________

If emails save time, not printing them saves trees



De : template_list-***@jahia.org [mailto:template_list-***@jahia.org] De la part de Benjamin Papez
Envoyé : jeudi 5 février 2009 18:23
À : Any questions regarding template development and/or about the taglibsextension
Objet : Re: [template_list] Problems with archetypes inMaven



Hello Thomas,

sorry again and thanks for pointing that out. The archetype catalog file still needed to be update with the version of the community edition.

Now it should work - I tested it.

Regards,
Benjamin

Thomas Feldman wrote:

Sorry, I trie dit but I get a new message error :



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

[ERROR] BUILD FAILURE

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

[INFO] The desired archetype does not exist (org.jahia.archetypes:jahia-web-temp

lates-archetype:6.0-SNAPSHOT)

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

[INFO] For more information, run Maven with the -e switch

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

[INFO] Total time: 6 seconds

[INFO] Finished at: Thu Feb 05 17:04:35 CET 2009

[INFO] Final Memory: 8M/15M



Any idea?



Thanks.



Thomas Feldman
Chef de projet technique -Technical Project Manager
____________________________________________________________

Duke - A Razorfish Company
86-90, rue Notre Dame de Nazareth
75003 Paris - France
T : +33 (0)1 53 44 17 19

mailto:***@duke-interactive.com
http://www.duke-interactive.com
____________________________________________________________

If emails save time, not printing them saves trees



De : template_list-***@jahia.org [mailto:template_list-***@jahia.org] De la part de Benjamin Papez
Envoyé : jeudi 5 février 2009 16:24
À : Any questions regarding template development and/or about the taglibsextension
Objet : Re: [template_list] Problems with archetypes inMaven



Hello,

sorry we had some technical problems after switching to the new website.

The URL is supposed to work now and we have uploaded the resources for the first 6.0 community release.

When you are entering the archetype properties, the jahiaPackageVersion to use is called 6.0-CE

Let us know if you still experience problems with setting up your project.

Regards,
Benjamin

Thomas Feldman wrote:



Hello, I plan to develop siples web templates for Jahia 6. I installed Maven 2, then tried to create a Jahia Template project.

But as I launch the following command :

mvn archetype:generate -DarchetypeCatalog=http://maven.jahia.org/maven2

I receive the following error message :

Error reading archetype catalog http://maven.jahia.org/maven2

Then, no archetype is defined, and I'm asked to choose an archetype number....



Anyone knows how I go through that?



Thanks in advance

Thomas Feldman
Chef de projet technique -Technical Project Manager
____________________________________________________________

Duke - A Razorfish Company











________________________________







_______________________________________________
template_list mailing list
***@jahia.org
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list







________________________________

Loading...