I installed the nexus repository and created a proxy to the flex-mojos-
repository at http://repository.sonatype.org/content/groups/flexgroup.

With the .m2/settings.xml configured to search my local nexus
repository, which should proxy the flex-mojos-repository, anytime I
run any install goal on the project, I receive the following errors:

[ERROR] Failed to execute goal on project testproject: Could not
resolve dependencies for project whatever.testproject:testproject:swc:
0.1-SNAPSHOT: The following artifacts could not be resolved:
com.adobe.flex.framework:advancedgrids:rb.swc:4.5.1.21328,
com.adobe.flex.framework:charts:rb.swc:4.5.1.21328,
com.adobe.flex.framework:framework:rb.swc:4.5.1.21328,
com.adobe.flex.framework:mx:rb.swc:4.5.1.21328,
com.adobe.flex.framework:osmf:rb.swc:4.5.1.21328,
com.adobe.flex.framework:rpc:rb.swc:4.5.1.21328,
com.adobe.flex.framework:spark:rb.swc:4.5.1.21328,
com.adobe.flex.framework:textLayout:rb.swc:4.5.1.21328,
com.adobe.flex.framework:flash-integration:rb.swc:4.5.1.21328,
com.adobe.flex.framework:playerglobal:rb.swc:4.5.1.21328: Could not
find artifact com.adobe.flex.framework:advancedgrids:rb.swc:
4.5.1.21328 in nexus (http://localhost:8081/nexus/content/groups/
public)

I followed these instructions for proxying the flex-mojos-repository:

http://www.sonatype.com/books/mvnref-book/reference/flex-dev-sect-config-build.html#fig-flex-dev-adding-sonatype-to-group

...so my settings.xml file is identical to the one shown therein!

Funny thing is, if I remove the settings.xml file and run the goal
again, I receive no errors - the project's pom.xml file, which
includes the reference to the flex-mojos-repository at
http://repository.sonatype.org/content/groups/flexgroup, provides
maven with the flex-mojos-repository location, and all required
artifacts can be found and installed, and the build is successful.
So, I know there is nothing wrong with my project's pom.xml or with
my .m2 repo.

BUT once I try to proxy the flex-mojos-repository thru nexus: failure!

Any help in setting up nexus to proxy the flex-mojos-repository would
be appreciated.

Kind regards,
adq

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to