Ok... some combination of pilot error and bad documentation seems to be
at fault here.
I added a settings.xml to my ~/.m2 directory from the example here
https://docs.sonatype.org/display/FLEXMOJOS/Flexmojos+public+maven+repository
but that listing has a bug in it, as it lists the plugin repository id
as 'local', which seems bad and causes maven to complain
I then found another version here
http://flexmojos.sonatype.org/building-sources.html
but that version has HTML that does not render correctly in firefox or
chrome, looking at the HTML source I could see the file contents and got
the correct id for the plugin repository.
Then, just for fun, I changed the archetypeVersion specified in the
example from 3.0.0 to 4.0-beta-7, which seems to be the latest version
of flexmojos.
Wiped out my repository and started again.
SUCCESS!
Looks like some web pages could use some TLC, tho.
Richard
On 06/04/2011 05:30 PM, Richard Lee wrote:
Deleted my ~/.m2 directory and started from scratch. Attached is the
log of what happened when I did the following
mvn --version
- verify running latest 3.0.3
mvn archetype:generate
-DarchetypeRepository=http://repository.sonatype.org/content/groups/flexgroup/
-DarchetypeGroupId=org.sonatype.flexmojos
-DarchetypeArtifactId=flexmojos-archetypes-library -DarchetypeVersion=3.0.0
- copied verbatim from flexmojos wiki at
https://docs.sonatype.org/display/FLEXMOJOS/Available+archetypes
mvn clean install
- in the created library module
Same failure as before, and looking at the pom and jar files for
flexmojos-maven-plugin, they are again http redirects.
Richard
On 06/04/2011 04:05 PM, Bryan Turner wrote:
Also, you might want to provide the link you used to follow, because
something about it needs updating.
On Sat, Jun 4, 2011 at 4:04 PM, Bryan Turner<[email protected]
<mailto:[email protected]>> wrote:
Not sure why the archetype would create the module so broken, but
whatever repository it has specified is clearly wrong. It should be
the one I provided above. Once you fix your repository, you'll get
further.
--
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/