Re: WO Maven getting started
Re: WO Maven getting started
- Subject: Re: WO Maven getting started
- From: Ramsey Gurley <email@hidden>
- Date: Mon, 30 Nov 2015 13:43:17 -0700
I run the application in Eclipse the same as I always did. Right-click Application.java, Run as->WOApplication.
On Nov 30, 2015, at 1:26 PM, jazzsalsa <email@hidden> wrote:
> Great! Thanks Ramsey, that works perfect.
>
> mvn clean package and mvn clean install work.
>
> How do I run the WOApplication in eclipse now?
>
> mvn clean jetty:run-war does not work
>
> Regards, Bart
>
>
> On Mon, 2015-11-30 at 10:35 -0700, Ramsey Gurley wrote:
>> Try with
>>
>> -DarchetypeVersion=2.2-SNAPSHOT
>>
>> In fact, do this:
>>
>> Install m2e in eclipse if you haven’t already
>>
>> Go to eclipse preferences, Maven->Archetypes, click “Add Remote
>> Catalog...” button and add
>>
>> Catalog File: http://maven.wocommunity.org/service/local/repositories
>> /snapshots/content/archetype-catalog.xml
>>
>> Description: WORemote
>>
>> Then you can File->New->Other, Maven->Maven Project, Next, Next,
>> select Catalog: WORemote & check on 'Include snapshot archetypes'
>>
>> Then you can see your options you won’t need to remember lots of
>> command line args.
>>
>> Also, I’ve found this really helpful in ubuntu :)
>>
>> https://github.com/juven/maven-bash-completion
>>
>> That might even work on OS X… maybe.
>>
>> On Nov 30, 2015, at 10:14 AM, jazzsalsa <email@hidden> wrote:
>>
>>> Hi Ramsey, Henrique,
>>>
>>> Thanks for fixing how hard is was to work with Maven. Much easier
>>> now,
>>> but not quite there yet.
>>>
>>> I followed this page and looked at the email thread on the list
>>> around
>>> 18-Sep-15: https://wiki.wocommunity.org/display/WOL/Quick+Start
>>>
>>> This works (step 4): mvn archetype:generate
>>> -DarchetypeArtifactId=erxapplication-archetype
>>> -DarchetypeGroupId=org.objectstyle.woproject.maven2
>>> -DarchetypeVersion=2.1
>>>
>>> But this not (step 6): mvn clean package
>>> [ERROR] Failed to execute goal on project app: Could not resolve
>>> dependencies for project com:app:woapplication:1.0-SNAPSHOT: The
>>> following artifacts could not be resolved:
>>> wonder.core:ERExtensions:jar:wo54:5.0.0-SNAPSHOT,
>>> wonder.core:WOOgnl:jar:wo54:5.0.0-SNAPSHOT,
>>> wonder.core:ERPrototypes:jar:5.0.0-SNAPSHOT: Failure to find
>>> wonder.core:ERExtensions:jar:wo54:5.0.0-SNAPSHOT in http://maven.wo
>>> comm
>>> unity.org/content/groups/public-snapshots was cached in the local
>>> repository, resolution will not be reattempted until the update
>>> interval of wocommunity.snapshots has elapsed or updates are forced
>>> ->
>>>
>>> What do I do with (in pom.xml):
>>>
>>> <wonder.classifier>wo54</wonder.classifier>
>>>
>>> Is this the correct value?
>>>
>>> Thanks in advance, Bart
>>>
>>>
>>
_______________________________________________
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