You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by bkbonner <br...@paraware.com> on 2008/05/06 19:17:23 UTC

Re: maven 2.0.9 create-from-project

I'm trying to run the archetype:generate based on a archetype generated using
archetype:create-from-project.

The new project is generated, but the directories and files are not restored
from the jar file that is sitting in the repository.

All that is created is the pom.xml file.

Any advice?

Brian


kace wrote:
> 
> http://rafb.net/p/tWTPGe14.html
> 
> pasted as requested
> 
> Thanks Raphael
> 
> Regards, 
> 
> ..kace
> 

-- 
View this message in context: http://www.nabble.com/maven-2.0.9-create-from-project-tp16724738p17088006.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: maven 2.0.9 create-from-project

Posted by Raphaël Piéroni <ra...@apache.org>.
Hi Brian,

If you can reproduce the problem,
Please raise a jira.
Don't forget to call maven with -X
attach to your jira:
the trace from the create-from-project and generate
the command line you used
and if you can the initial project, the resulting archetype and the
resulting project

Regards,

Raphaël


2008/5/6 bkbonner <br...@paraware.com>:
>
>  There was one hiccup I found.  I used the archetype I created and specified:
>
>  groupid = net.sf.appname,
>  package = net.sf.appname.
>
>  The packagenames of the java files became:
>
>  package net/sf/appname.domain;
>
>  instead of:
>
>  package net.sf.appname.domain;
>
>  I'll submit a JIRA issue if this is not a user error.
>
>  Brian
>
>
>
>
>  bkbonner wrote:
>  >
>  > OK, I ran it with the -U option and realized that there is a newer version
>  > of the Archetype plugin than the one that I had.  I had to go back and
>  > recreate the archetype from the project again, but it works GREAT!
>  >
>  > Brian
>  >
>  >
>  > bkbonner wrote:
>  >>
>  >> I'm trying to run the archetype:generate based on a archetype generated
>  >> using archetype:create-from-project.
>  >>
>  >> The new project is generated, but the directories and files are not
>  >> restored from the jar file that is sitting in the repository.
>  >>
>  >> All that is created is the pom.xml file.
>  >>
>  >> Any advice?
>  >>
>  >> Brian
>  >>
>  >>
>  >> kace wrote:
>  >>>
>  >>> http://rafb.net/p/tWTPGe14.html
>  >>>
>  >>> pasted as requested
>  >>>
>  >>> Thanks Raphael
>  >>>
>  >>> Regards,
>  >>>
>  >>> ..kace
>  >>>
>  >>
>  >>
>  >
>  >
>
>  --
>  View this message in context: http://www.nabble.com/maven-2.0.9-create-from-project-tp16724738p17088438.html
>
>
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>  For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven 2.0.9 create-from-project

Posted by bkbonner <br...@paraware.com>.
There was one hiccup I found.  I used the archetype I created and specified:

groupid = net.sf.appname, 
package = net.sf.appname. 

The packagenames of the java files became:

package net/sf/appname.domain;

instead of:

package net.sf.appname.domain;

I'll submit a JIRA issue if this is not a user error.

Brian



bkbonner wrote:
> 
> OK, I ran it with the -U option and realized that there is a newer version
> of the Archetype plugin than the one that I had.  I had to go back and
> recreate the archetype from the project again, but it works GREAT!
> 
> Brian
> 
> 
> bkbonner wrote:
>> 
>> I'm trying to run the archetype:generate based on a archetype generated
>> using archetype:create-from-project.
>> 
>> The new project is generated, but the directories and files are not
>> restored from the jar file that is sitting in the repository.
>> 
>> All that is created is the pom.xml file.
>> 
>> Any advice?
>> 
>> Brian
>> 
>> 
>> kace wrote:
>>> 
>>> http://rafb.net/p/tWTPGe14.html
>>> 
>>> pasted as requested
>>> 
>>> Thanks Raphael
>>> 
>>> Regards, 
>>> 
>>> ..kace
>>> 
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/maven-2.0.9-create-from-project-tp16724738p17088438.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Re: maven 2.0.9 create-from-project

Posted by bkbonner <br...@paraware.com>.
OK, I ran it with the -U option and realized that there is a newer version of
the Archetype plugin than the one that I had.  I had to go back and recreate
the archetype from the project again, but it works GREAT!

Brian


bkbonner wrote:
> 
> I'm trying to run the archetype:generate based on a archetype generated
> using archetype:create-from-project.
> 
> The new project is generated, but the directories and files are not
> restored from the jar file that is sitting in the repository.
> 
> All that is created is the pom.xml file.
> 
> Any advice?
> 
> Brian
> 
> 
> kace wrote:
>> 
>> http://rafb.net/p/tWTPGe14.html
>> 
>> pasted as requested
>> 
>> Thanks Raphael
>> 
>> Regards, 
>> 
>> ..kace
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/maven-2.0.9-create-from-project-tp16724738p17088187.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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