So you have you own company nexus instance, right?
I guess the problem is on your public group.... it probably contains the
2.0-alpha-5-SNAPSHOT included....  so if you don't wanna SNAPSHOT on your
group, you must configure the group to not include SNAPSHOTs....  trying to
get that "filtered" on client side may be a problem, cause maven will
download metadatas containing the SNAPSHOTs.


I hope that helps.


VELO

On Thu, Jun 18, 2009 at 10:40 AM, oravecz <[email protected]> wrote:

>
> This is probably more a general Maven question, but I think it
> pertains to a hard-coded version dependency in a flex-mojos pom, I
> thought I would ask it here. I am following the Nexus documentation
> for setting up a company wide repository. I have modified my
> settings.xml to this:
>
> <settings>
>  <mirrors>
>    <mirror>
>      <id>myrepo</id>
>      <mirrorOf>*</mirrorOf>
>      <url>http://repo.example.org/maven2/content/groups/public</url>
>    </mirror>
>  </mirrors>
> ...
> </settings>
>
> However, when I follow the instructions for creating a flex-mojos
> archetype, I get an exception.
>
> mvn archetype:generate
>    -DarchetypeRepository=http://repository.sonatype.org/content/
> groups/public
>    -DarchetypeGroupId=org.sonatype.flexmojos
>    -DarchetypeArtifactId=flexmojos-archetypes-application
>    -DarchetypeVersion=3.0.0
>
> [INFO] A required plugin was not found: Plugin could not be found -
> check that the goal name is correct: Unable to download the artifact
> from any repository
> org.apache.maven.plugins:maven-archetype-plugin:maven-plugin:2.0-
> alpha-5-SNAPSHOT
>
> The problem is that the 2.0-alpha-5-SNAPSHOT version of the plugin is
> in the Apache snapshot repository and not the release repository. I am
> mirroring only releases. Is there a way for me to get this to work
> without making some kind of sweeping change in my company repository?
>
> -- jim
> >
>

--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to