I just tried generating a hello world app using the Quick Start guide and I had
to make a couple of changes to the generated POM to get it work:
- In the plugins section, I changed the version of the wolifecycle
plugin to 2.1 (I use 2.2.1 for my projects, but 2.1 it seems to work).
- Get rid of the “wonder.classifier" tags in the dependencies section.
I don’t think those are used any more.
Try recompiling after that--I think that should get you going. I do have a
repository manager sitting between my machine and the wocommunity repos, but
since it is pulling the same dependencies, it should work the same for you.
FYI: if you downloaded the archetype-catalog.xml file at the top of the Quick
Start page, you will get many older archetype versions in your catalog. You
probably want to download the current catalog from the repo directly:
http://maven.wocommunity.org/service/local/repositories/releases/content/org/objectstyle/woproject/maven2/archetypes/2.1/archetypes-2.1-catalog.xml
Good luck.
F
Faizel Dakri
[email protected]
> On 2015-Sep-11, at 04:19 PM, Ramsey Gurley <[email protected]> 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 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/archive%40mail-archive.com
This email sent to [email protected]