I feel vindicated; in a previous post of mine I was also saying that I thought 
eclipse didn't like nested projects.  ;-)

The way I took my first baby steps with maven and eclipse is that I used the 
appfuse modular spring archetype.  From the command line type

 mvn \
   archetype:create \
   -DarchetypeGroupId=org.appfuse.archetypes \
   -DarchetypeArtifactId=appfuse-modular-spring \
   -DremoteRepositories=http://static.appfuse.org/releases \
   -DarchetypeVersion=2.0.2 \
   -DgroupId=com.mycompany.app \
   -DartifactId=myproject

Then look in the myproject directory, and in its core and web directories.

Within eclipse you can do File > New > Other and then in the Select a wizard window go into the Maven folder and select Maven Project and then click Next, then leave Create a simple project unselected, so it brings up the archetype selector, then scroll down and find org.appfuse.archetypes and use one of the appfuse-modular ones. Keep an eye on the bottom of the eclipse window and the status; it cranks for a while getting it all set up. Then, outside of eclipse, look at how it set things up, and eyeball the pom.xml files.
John Wooten wrote:
Uses Ganymede, when I try to move one project as a folder under another, by trying to do a New/Project or a Refactor, it says it can not create a project under another project.

On Feb 27, 2009, at 4:02 PM, Eugene Kuleshov wrote:



 Sure it will. Unless you are using 3..4 year old version of Eclipse.

 regards,
 Eugene


John Wooten-2 wrote:

Eclipse won't let you nest projects in a directory structure.

On Feb 27, 2009, at 9:14 AM, Edelson, Justin wrote:

This looks like the right directory structure to me. Each directory
with a pom.xml file would be an Eclipse project. Why do you think
this won't work?

Justin


--
View this message in context: http://www.nabble.com/Eclipse-and-maven-tp22245841p22254394.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to