Re: Creating a WO Maven project
Re: Creating a WO Maven project
- Subject: Re: Creating a WO Maven project
- From: Faizel Dakri <email@hidden>
- Date: Thu, 18 Apr 2013 12:02:30 -0500
I believe the Wonder projects have customized pom.xml files that specify the sourceDirectory explicitly. But this is sort of going against the maven standard. There was an old page on the wiki that touched on this:
http://wiki.wocommunity.org/display/documentation/Maven+Kicking+the+tyres+without+changing+your+project+structure
F
On 2013-Apr-18, at 11:25 AM, Pascal Robert <email@hidden> wrote:
> So, no way to have fluffy bunny with Maven? How it's working for Wonder then?
>
>> The documentation needs……(drum roll)….
>> updating…
>>
>> Use the command line (make an alias, you won't remember it) :
>>
>> mvn archetype:generate -DarchetypeCatalog=local
>>
>> This assumes you have the catalog archetype-catalog.xml in ~/.m2
>>
>> If so you see:
>>
>> [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
>> Choose archetype:
>> 1: local -> org.objectstyle.woproject.maven2:erxapplication-archetype (Wonder Application Archetype)
>> 2: local -> org.objectstyle.woproject.maven2:erxapplication-d2w-archetype (Wonder D2W Application Archetype)
>> 3: local -> org.objectstyle.woproject.maven2:erxapplication-servlet-archetype (Wonder Servlet Application Archetype)
>> 4: local -> org.objectstyle.woproject.maven2:partial-woapplication-servlet-archetype (Partial WebObjects Servlet Application Archetype)
>> 5: local -> org.objectstyle.woproject.maven2:woapplication-archetype (WebObjects Application Archetype)
>> 6: local -> org.objectstyle.woproject.maven2:woapplication-servlet-archetype (WebObjects Servlet Application Archetype)
>> 7: local -> org.objectstyle.woproject.maven2:woframework-archetype (WebObjects Framework Archetype)
>> Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains): :
>>
>>
>> Pick a number, and an application is created--no eclipse!
>>
>> Now import it into eclipse. But is maven layout, not fluffy bunny. You can override the standard locations src/, but then you are deviating from the uber pom. You must specify where the sources are.
>>
>>
>> On Apr 9, 2013, at 9:28 AM, Pascal Robert wrote:
>>
>>> Ok, so I'm trying to drink the Maven koolaid, but you are not helping. Somes pages about Maven on the wiki talks about creating projects by command line, so about using archetypes in WOLips, but those archetypes are not in WOLips.
>>>
>>> So, what are the steps to create a Maven project with the "Fluffy Bunny" layout in WOLips?
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>>
>>
>> Greg Brown
>> email@hidden
>>
>>
>>
>> --
>> email@hidden
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden