Re: WO Maven getting started
Re: WO Maven getting started
- Subject: Re: WO Maven getting started
- From: Faizel Dakri <email@hidden>
- Date: Fri, 11 Sep 2015 21:33:07 -0500
As to the why it was not working, I believe it was because of the “wonder.classifier” defined in the pom.xml, whose value was set to wo54. That classifier was used to identify different instances of the same dependency, one for WO 5.4 and another for WO 5.3. But I think that classifier is a holdover from earlier versions of Wonder (when WO 5.4 and 5.3 were being used simultaneously) and is no longer used; it seems the archetype that was used to generate the pom.xml is still including it, though.
That said, I can’t explain the missing ERPrototypes artifact in your error message. Perhaps it has something to do with the version of the wolifecycle plugin that was being referenced.
F
--
Faizel Dakri
email@hidden
> On 2015-Sep-11, at 04:19 PM, Ramsey Gurley <email@hidden> wrote:
>
> So I really desperately want to migrate my projects to Maven. I tried back in May when I had a chance, and failed. I’m trying again now. I can’t get a hello world to compile. I’m starting here
>
> https://wiki.wocommunity.org/display/WOL/Quick+Start
>
> But from step 5 on, nothing works. I installed the m2e plugin on mars, imported my hello world, and I get
>
> Plugin execution not covered by lifecycle configuration: org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.0.17:woapplication (execution: default-woapplication, phase: generate-test-resources) pom.xml /testing line 26 Maven Project Build Lifecycle Mapping Problem
>
> and
>
> Plugin execution not covered by lifecycle configuration: org.objectstyle.woproject.maven2:maven-wolifecycle-plugin:2.0.17:define-woapplication-resources (execution: default-define-woapplication-resources, phase: validate) pom.xml /testing line 26 Maven Project Build Lifecycle Mapping Problem
>
> If I simply try to mvn clean package in the project directory, I get
>
> [ERROR] Failed to execute goal on project testing: Could not resolve dependencies for project test:testing:woapplication:1.0-SNAPSHOT: The following artifacts could not be resolved: wonder.core:ERExtensions:jar:wo54:6.1.3-SNAPSHOT, wonder.core:WOOgnl:jar:wo54:6.1.3-SNAPSHOT, wonder.core:ERPrototypes:jar:6.1.3-SNAPSHOT: Failure to find wonder.core:ERExtensions:jar:wo54:6.1.3-SNAPSHOT in http://maven.wocommunity.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 -> [Help 1]
>
> Can anyone explain why this isn’t working?
>
> Thanks,
>
> Ramsey
> _______________________________________________
> 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