You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Sagara Gunathunga <sa...@gmail.com> on 2009/03/06 17:34:30 UTC

How to assign a name for new archetype instead of "unnamed"

Hi all ,
I have created a my own archetype , then add the archetype  to my
local catalog using " mvn archetype:update-local-catalog" command , it
worked fine , when i call "mvn archetype:generate
-DarchetypeRepository=local" it will show a  list of archetype  and my
archetype  also there ,but my archetype is   listed as "unnamed" (
please refer following list) . How can i set a name for my archetype
so that it will display that name instead of   "unnamed" ..?


----------------------------------------
Choose archetype:
1: local -> myquickstart (Unnamed - org.my:myquickstart:jar:1.0.0)
2: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web
application with Hibernate, Spring and JSF)
3: internal -> appfuse-basic-spring (AppFuse archetype for creating a
web application with Hibernate, Spring and Spring
MVC)



Thanks ,

-- 
Sagara Gunathunga

Blog - ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to assign a name for new archetype instead of "unnamed"

Posted by Seb Martel <sm...@real.com>.
Y
Sent via BlackBerry by AT&T

-----Original Message-----
From: Sagara Gunathunga <sa...@gmail.com>

Date: Fri, 6 Mar 2009 22:04:30 
To: Maven Users List<us...@maven.apache.org>
Subject: How to assign a name for new archetype instead of "unnamed"


Hi all ,
I have created a my own archetype , then add the archetype  to my
local catalog using " mvn archetype:update-local-catalog" command , it
worked fine , when i call "mvn archetype:generate
-DarchetypeRepository=local" it will show a  list of archetype  and my
archetype  also there ,but my archetype is   listed as "unnamed" (
please refer following list) . How can i set a name for my archetype
so that it will display that name instead of   "unnamed" ..?


----------------------------------------
Choose archetype:
1: local -> myquickstart (Unnamed - org.my:myquickstart:jar:1.0.0)
2: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web
application with Hibernate, Spring and JSF)
3: internal -> appfuse-basic-spring (AppFuse archetype for creating a
web application with Hibernate, Spring and Spring
MVC)



Thanks ,

-- 
Sagara Gunathunga

Blog - ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to assign a name for new archetype instead of "unnamed"

Posted by Raphaël Piéroni <ra...@gmail.com>.
Hi Sagara

the text inserted in the catalog is:
- the description or
- the name or
- Unamed - groupId:artifactId:packaging:
version.

The update catalog mojo uses the description of the project and if
empty uses the name.
the name attribute of the project is given "Unamed..." when no name is defined.

Regards,

Raphaël

2009/3/7 Sagara Gunathunga <sa...@gmail.com>
>
> Hi,
> Anyone have any ideas on how to do this .................?
>
> On 3/6/09, Sagara Gunathunga <sa...@gmail.com> wrote:
> > Hi all ,
> >  I have created a my own archetype , then add the archetype  to my
> >  local catalog using " mvn archetype:update-local-catalog" command , it
> >  worked fine , when i call "mvn archetype:generate
> >  -DarchetypeRepository=local" it will show a  list of archetype  and my
> >  archetype  also there ,but my archetype is   listed as "unnamed" (
> >  please refer following list) . How can i set a name for my archetype
> >  so that it will display that name instead of   "unnamed" ..?
> >
> >
> >  ----------------------------------------
> >  Choose archetype:
> >  1: local -> myquickstart (Unnamed - org.my:myquickstart:jar:1.0.0)
> >  2: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web
> >  application with Hibernate, Spring and JSF)
> >  3: internal -> appfuse-basic-spring (AppFuse archetype for creating a
> >  web application with Hibernate, Spring and Spring
> >  MVC)
> >
> >
> >
> >  Thanks ,
> >
> >
> >  --
> >  Sagara Gunathunga
> >
> >  Blog - ssagara.blogspot.com
> >  Web - http://sagaras.awardspace.com/
> >
>
>
> --
> Sagara Gunathunga
>
> Blog - ssagara.blogspot.com
> Web - http://sagaras.awardspace.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to assign a name for new archetype instead of "unnamed"

Posted by Sagara Gunathunga <sa...@gmail.com>.
Hi,
Anyone have any ideas on how to do this .................?

On 3/6/09, Sagara Gunathunga <sa...@gmail.com> wrote:
> Hi all ,
>  I have created a my own archetype , then add the archetype  to my
>  local catalog using " mvn archetype:update-local-catalog" command , it
>  worked fine , when i call "mvn archetype:generate
>  -DarchetypeRepository=local" it will show a  list of archetype  and my
>  archetype  also there ,but my archetype is   listed as "unnamed" (
>  please refer following list) . How can i set a name for my archetype
>  so that it will display that name instead of   "unnamed" ..?
>
>
>  ----------------------------------------
>  Choose archetype:
>  1: local -> myquickstart (Unnamed - org.my:myquickstart:jar:1.0.0)
>  2: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web
>  application with Hibernate, Spring and JSF)
>  3: internal -> appfuse-basic-spring (AppFuse archetype for creating a
>  web application with Hibernate, Spring and Spring
>  MVC)
>
>
>
>  Thanks ,
>
>
>  --
>  Sagara Gunathunga
>
>  Blog - ssagara.blogspot.com
>  Web - http://sagaras.awardspace.com/
>


-- 
Sagara Gunathunga

Blog - ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to assign a name for new archetype instead of "unnamed"

Posted by Wayne Fay <wa...@gmail.com>.
On Fri, Mar 6, 2009 at 2:03 PM, Seb Martel <sm...@real.com> wrote:
> YOiioOOoouyh
> Sent via BlackBerry by AT&T

I think someone has their BlackBerry in the back pocket, and their
butt is emailing us...

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to assign a name for new archetype instead of "unnamed"

Posted by Seb Martel <sm...@real.com>.
YOiioOOoouyh
Sent via BlackBerry by AT&T

-----Original Message-----
From: Sagara Gunathunga <sa...@gmail.com>

Date: Fri, 6 Mar 2009 22:04:30 
To: Maven Users List<us...@maven.apache.org>
Subject: How to assign a name for new archetype instead of "unnamed"


Hi all ,
I have created a my own archetype , then add the archetype  to my
local catalog using " mvn archetype:update-local-catalog" command , it
worked fine , when i call "mvn archetype:generate
-DarchetypeRepository=local" it will show a  list of archetype  and my
archetype  also there ,but my archetype is   listed as "unnamed" (
please refer following list) . How can i set a name for my archetype
so that it will display that name instead of   "unnamed" ..?


----------------------------------------
Choose archetype:
1: local -> myquickstart (Unnamed - org.my:myquickstart:jar:1.0.0)
2: internal -> appfuse-basic-jsf (AppFuse archetype for creating a web
application with Hibernate, Spring and JSF)
3: internal -> appfuse-basic-spring (AppFuse archetype for creating a
web application with Hibernate, Spring and Spring
MVC)



Thanks ,

-- 
Sagara Gunathunga

Blog - ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org