Page 1 of 1

Old pom.xml

Posted: Mon Apr 16, 2012 2:13 am
by pmysore
Could anyone please post the latest pom.xml to be used with the Commerce Demo app? I am having issues using the current pom file and am seeing the following error,

[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.1.0-1:compile (default) on project broadleaf-demo-site: Execution default of goal org.codehaus.mojo:gwt-maven-plugin:2.1.0-1:compile failed: A required class was missing while executing org.codehaus.mojo:gwt-maven-plugin:2.1.0-1:compile: org/apache/commons/io/IOUtils


I see that the gwt maven plugin is pretty old. Upgrading to the latest gwt plugin i.e. 2.4.0 gives me other errors related to the deprecation of some classes.

Can anyone please help me out?

Regards,
Pradeep

Re: Old pom.xml

Posted: Wed Apr 18, 2012 10:42 am
by phillipuniverse
How did you get the demo site? Are you basing it off of the master branch of BroadleafDemoSite or did you build from the archetype?

Re: Old pom.xml

Posted: Sat Jul 21, 2012 7:08 am
by broadleafer
How did you fix this issue ? I just checked out a copy of BroadleafDemoSite from the master branch but I'm still getting the error your are getting.

Re: Old pom.xml

Posted: Sat Jul 21, 2012 9:47 am
by broadleafer
The issue was with my local maven repository. Deleting com/google and commons-io folders from my local repository fixed it. Both these jars have IOUtils class and the build didn't know which one to reference to.

So if anyone has the same problem ... try deleting the above folders from the repository and build again.

Cheers

Re: Old pom.xml

Posted: Wed Aug 01, 2012 12:38 pm
by phillipuniverse
Are you building this from the new demo site (from https://github.com/BroadleafCommerce/DemoSite) and not the old one? Just wanted to make sure since your original post was from a few months ago.