Richard, >From the output, it appears you're trying to use Subversion like it's a Maven repository. It isn't. That's the source of your issues. The FlexMojos Maven repository is https://repository.sonatype.org/content/groups/flexgroup/. Additionally, you should probably use either FlexMojos 3.8 or 3.9 (if you're using Maven 2.2.1) or FlexMojos 4.0-beta-7 if you're using Maven 3.0.3. 3.0 is very old.
The redirects you're seeing are trying to tell you that FlexMojos's source code, which used to be in Subversion, has moved to GitHub. Hope this helps, Bryan Turner On Fri, Jun 3, 2011 at 11:00 PM, Richard Lee <[email protected]> wrote: > Hi... I'm new to maven and flexmojos, and I'm trying to do a 'mvn > clean install' on a sample swc directory. Maven downloads the pom and > jar for flexmojos-maven-plugin. However, files appear to have moved, > as the contents of the pom and jar are an HTTP redirect response. > > -- mvn output snippet -- > > Downloading: > > http://svn.sonatype.org/flexmojos/repository/org/sonatype/flexmojos/flexmojos-maven-plugin/3.0.0/flexmojos-maven-plugin-3.0.0.pom > [WARNING] Checksum validation failed, expected <!DOCTYPE but is > a592aaac93b42206251043f3e760377237f203de for > > http://svn.sonatype.org/flexmojos/repository/org/sonatype/flexmojos/flexmojos-maven-plugin/3.0.0/flexmojos-maven-plugin-3.0.0.pom > [WARNING] Checksum validation failed, expected <!DOCTYPE but is > a592aaac93b42206251043f3e760377237f203de for > > http://svn.sonatype.org/flexmojos/repository/org/sonatype/flexmojos/flexmojos-maven-plugin/3.0.0/flexmojos-maven-plugin-3.0.0.pom > Downloaded: > > http://svn.sonatype.org/flexmojos/repository/org/sonatype/flexmojos/flexmojos-maven-plugin/3.0.0/flexmojos-maven-plugin-3.0.0.pom > (304 B at 0.3 KB/sec) > [DEBUG] Reading resolution tracking file /home/rdlee/.m2/repository/ > org/sonatype/flexmojos/flexmojos-maven-plugin/3.0.0/flexmojos-maven- > plugin-3.0.0.pom.lastUpdated > [DEBUG] Writing resolution tracking file /home/rdlee/.m2/repository/ > org/sonatype/flexmojos/flexmojos-maven-plugin/3.0.0/flexmojos-maven- > plugin-3.0.0.pom.lastUpdated > [WARNING] The POM for org.sonatype.flexmojos:flexmojos-maven- > plugin:jar:3.0.0 is invalid, transitive dependencies (if any) will not > be available: 1 problem was encountered while building the effective > model > [FATAL] Non-parseable POM /home/rdlee/.m2/repository/org/sonatype/ > flexmojos/flexmojos-maven-plugin/3.0.0/flexmojos-maven- > plugin-3.0.0.pom: end tag name </body> must match start tag name <hr> > from line 7 (position: TEXT seen ...</address>\n</body>... @9:8) @ > line 9, column 8 > > [DEBUG] org.sonatype.flexmojos:flexmojos-maven-plugin:jar:3.0.0: > [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.1:runtime > [DEBUG] Using connector WagonRepositoryConnector with priority 0 for > http://svn.sonatype.org/flexmojos/repository/ > Downloading: > > http://svn.sonatype.org/flexmojos/repository/org/sonatype/flexmojos/flexmojos-maven-plugin/3.0.0/flexmojos-maven-plugin-3.0.0.jar > [WARNING] Checksum validation failed, expected <!DOCTYPE but is > a592aaac93b42206251043f3e760377237f203de for > > http://svn.sonatype.org/flexmojos/repository/org/sonatype/flexmojos/flexmojos-maven-plugin/3.0.0/flexmojos-maven-plugin-3.0.0.jar > [WARNING] Checksum validation failed, expected <!DOCTYPE but is > a592aaac93b42206251043f3e760377237f203de for > > http://svn.sonatype.org/flexmojos/repository/org/sonatype/flexmojos/flexmojos-maven-plugin/3.0.0/flexmojos-maven-plugin-3.0.0.jar > Downloaded: > > http://svn.sonatype.org/flexmojos/repository/org/sonatype/flexmojos/flexmojos-maven-plugin/3.0.0/flexmojos-maven-plugin-3.0.0.jar > (304 B at 0.4 KB/sec) > > > > -- contents of flexmojos-maven-plugin-3.0.0.pom -- > > <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> > <html><head> > <title>302 Found</title> > </head><body> > <h1>Found</h1> > <p>The document has moved <a href="https://github.com/Flexmojos/ > flexmojos">here</a>.</p> > <hr> > <address>Apache/2.2.3 (Red Hat) Server at svn.sonatype.org Port 80</ > address> > </body></html> > > -- > 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/ > -- 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/
