FWIW I use Maven (and more recently, Gradle) for everything except WO. WO hates Maven and the more influential WO-folks hate Maven too, so currently it's just easier to use Ant.
- hugi On 18.4.2013, at 17:02, Faizel Dakri <[email protected]> wrote: > 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 protected]> 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 protected]) >>>> Help/Unsubscribe/Update your Subscription: >>>> https://lists.apple.com/mailman/options/webobjects-dev/gsbrown%40umich.edu >>>> >>>> This email sent to [email protected] >>> >>> >>> Greg Brown >>> [email protected] >>> >>> >>> >>> -- >>> [email protected] >> >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/listfez%40dakri.com >> >> This email sent to [email protected] > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
