Hi Marvin, Thanks for the hint! I completely missed out the additional plugin repository as I tried it out based on the Maven Reference: Developing with Flexmojos.
Now it works :-) cheers, Christoph On 30 Jul., 13:20, Marvin Froeder <[email protected]> wrote: > https://docs.sonatype.org/display/FLEXMOJOS/Flexmojos+public+maven+re... > > On Fri, Jul 30, 2010 at 5:28 AM, ripcurlx > <[email protected]>wrote: > > > > > Hi, > > > I really tried lots of configuration to get the mvn install running > > with flex mojos, but I failed because of 8 dependencies that cannot be > > resolved. > > > First of all using the archetype worked without any problems after > > updating my mac to maven 3 alpha. > > > mvn archetype:generate -DarchetypeRepository=https:// > > repository.sonatype.org/content/groups/public - > > DarchetypeGroupId=org.sonatype.flexmojos - > > DarchetypeArtifactId=flexmojos-archetypes-library - > > DarchetypeVersion=4.0-alpha-4 > > > We already had a nexus proxy in our network so I've just added the > > sonatype repo as Proxy Repo and checked if the url is available to me. > > So far everything worked. > > When running 'mvn install' on the generated project I get following > > Error: > > > [INFO] Scanning for projects... > > [WARNING] Missing POM for com.adobe.flex:compiler:pom:4.1.0.15646 > > [WARNING] Missing POM for com.adobe.flex.compiler:mxmlc:jar: > > 4.1.0.15646 > > [WARNING] Missing POM for com.adobe.flex.compiler:digest:jar: > > 4.1.0.15646 > > [WARNING] Missing POM for com.adobe.flex.compiler:optimizer:jar: > > 4.1.0.15646 > > [WARNING] Missing POM for com.adobe.flex.compiler:asdoc:jar: > > 4.1.0.15646 > > [WARNING] Missing POM for com.adobe.flex.compiler:swcdepends:jar: > > 4.1.0.15646 > > [WARNING] Missing POM for net.sf.saxon:saxon-dom:jar:9.0 > > [WARNING] Missing POM for jgoogleanalytics:jgoogleanalytics:jar:0.2 > > [ERROR] The build could not read 1 project -> [Help 1] > > [ERROR] The project com.platogo.api:finaltest:1.0-SNAPSHOT (/Users/ > > chris/IdeaProjects/FlexMojosTest/finaltest/pom.xml) has 2 errors > > [ERROR] Unresolveable build extension: Plugin > > org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-alpha-4 or one of > > its dependencies could not be resolved: Missing: > > ---------- > > 1) com.adobe.flex:compiler:pom:4.1.0.15646 > > Path to dependency: > > 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:4.0- > > alpha-4 > > 2) org.sonatype.flexmojos:flexmojos-flex-compiler:jar:4.0-alpha-4 > > 3) com.adobe.flex:compiler:pom:4.1.0.15646 > > > 2) com.adobe.flex.compiler:mxmlc:jar:4.1.0.15646 > > > Try downloading the file manually from the project website. > > > Then, install it using the command: > > mvn install:install-file -DgroupId=com.adobe.flex.compiler - > > DartifactId=mxmlc -Dversion=4.1.0.15646 -Dpackaging=jar -Dfile=/path/ > > to/file > > > Alternatively, if you host your own repository you can deploy the > > file there: > > mvn deploy:deploy-file -DgroupId=com.adobe.flex.compiler - > > DartifactId=mxmlc -Dversion=4.1.0.15646 -Dpackaging=jar -Dfile=/path/ > > to/file -Durl=[url] -DrepositoryId=[id] > > > Path to dependency: > > 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:4.0- > > alpha-4 > > 2) org.sonatype.flexmojos:flexmojos-flex-compiler:jar:4.0-alpha-4 > > 3) com.adobe.flex.compiler:mxmlc:jar:4.1.0.15646 > > > 3) com.adobe.flex.compiler:digest:jar:4.1.0.15646 > > > Try downloading the file manually from the project website. > > > Then, install it using the command: > > mvn install:install-file -DgroupId=com.adobe.flex.compiler - > > DartifactId=digest -Dversion=4.1.0.15646 -Dpackaging=jar -Dfile=/path/ > > to/file > > > Alternatively, if you host your own repository you can deploy the > > file there: > > mvn deploy:deploy-file -DgroupId=com.adobe.flex.compiler - > > DartifactId=digest -Dversion=4.1.0.15646 -Dpackaging=jar -Dfile=/path/ > > to/file -Durl=[url] -DrepositoryId=[id] > > > Path to dependency: > > 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:4.0- > > alpha-4 > > 2) org.sonatype.flexmojos:flexmojos-flex-compiler:jar:4.0-alpha-4 > > 3) com.adobe.flex.compiler:digest:jar:4.1.0.15646 > > > 4) com.adobe.flex.compiler:asdoc:jar:4.1.0.15646 > > > Try downloading the file manually from the project website. > > > Then, install it using the command: > > mvn install:install-file -DgroupId=com.adobe.flex.compiler - > > DartifactId=asdoc -Dversion=4.1.0.15646 -Dpackaging=jar -Dfile=/path/ > > to/file > > > Alternatively, if you host your own repository you can deploy the > > file there: > > mvn deploy:deploy-file -DgroupId=com.adobe.flex.compiler - > > DartifactId=asdoc -Dversion=4.1.0.15646 -Dpackaging=jar -Dfile=/path/ > > to/file -Durl=[url] -DrepositoryId=[id] > > > Path to dependency: > > 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:4.0- > > alpha-4 > > 2) org.sonatype.flexmojos:flexmojos-flex-compiler:jar:4.0-alpha-4 > > 3) com.adobe.flex.compiler:asdoc:jar:4.1.0.15646 > > > 5) com.adobe.flex.compiler:swcdepends:jar:4.1.0.15646 > > > Try downloading the file manually from the project website. > > > Then, install it using the command: > > mvn install:install-file -DgroupId=com.adobe.flex.compiler - > > DartifactId=swcdepends -Dversion=4.1.0.15646 -Dpackaging=jar -Dfile=/ > > path/to/file > > > Alternatively, if you host your own repository you can deploy the > > file there: > > mvn deploy:deploy-file -DgroupId=com.adobe.flex.compiler - > > DartifactId=swcdepends -Dversion=4.1.0.15646 -Dpackaging=jar -Dfile=/ > > path/to/file -Durl=[url] -DrepositoryId=[id] > > > Path to dependency: > > 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:4.0- > > alpha-4 > > 2) org.sonatype.flexmojos:flexmojos-flex-compiler:jar:4.0-alpha-4 > > 3) com.adobe.flex.compiler:swcdepends:jar:4.1.0.15646 > > > 6) com.adobe.flex.compiler:optimizer:jar:4.1.0.15646 > > > Try downloading the file manually from the project website. > > > Then, install it using the command: > > mvn install:install-file -DgroupId=com.adobe.flex.compiler - > > DartifactId=optimizer -Dversion=4.1.0.15646 -Dpackaging=jar -Dfile=/ > > path/to/file > > > Alternatively, if you host your own repository you can deploy the > > file there: > > mvn deploy:deploy-file -DgroupId=com.adobe.flex.compiler - > > DartifactId=optimizer -Dversion=4.1.0.15646 -Dpackaging=jar -Dfile=/ > > path/to/file -Durl=[url] -DrepositoryId=[id] > > > Path to dependency: > > 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:4.0- > > alpha-4 > > 2) org.sonatype.flexmojos:flexmojos-flex-compiler:jar:4.0-alpha-4 > > 3) com.adobe.flex.compiler:optimizer:jar:4.1.0.15646 > > > 7) net.sf.saxon:saxon-dom:jar:9.0 > > > Try downloading the file manually from the project website. > > > Then, install it using the command: > > mvn install:install-file -DgroupId=net.sf.saxon - > > DartifactId=saxon-dom -Dversion=9.0 -Dpackaging=jar -Dfile=/path/to/ > > file > > > Alternatively, if you host your own repository you can deploy the > > file there: > > mvn deploy:deploy-file -DgroupId=net.sf.saxon -DartifactId=saxon- > > dom -Dversion=9.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] - > > DrepositoryId=[id] > > > Path to dependency: > > 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:4.0- > > alpha-4 > > 2) net.sf.saxon:saxon-dom:jar:9.0 > > > 8) jgoogleanalytics:jgoogleanalytics:jar:0.2 > > > Try downloading the file manually from the project website. > > > Then, install it using the command: > > mvn install:install-file -DgroupId=jgoogleanalytics - > > DartifactId=jgoogleanalytics -Dversion=0.2 -Dpackaging=jar -Dfile=/ > > path/to/file > > > Alternatively, if you host your own repository you can deploy the > > file there: > > mvn deploy:deploy-file -DgroupId=jgoogleanalytics - > > DartifactId=jgoogleanalytics -Dversion=0.2 -Dpackaging=jar -Dfile=/ > > path/to/file -Durl=[url] -DrepositoryId=[id] > > > Path to dependency: > > 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:4.0- > > alpha-4 > > 2) jgoogleanalytics:jgoogleanalytics:jar:0.2 > > > ---------- > > 8 required artifacts are missing. > > > for artifact: > > org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:4.0- > > alpha-4 > > > from the specified remote repositories: > > hello2morrow.maven.repository (http://maven.hello2morrow.com/ > > repository, releases=true, snapshots=true), > > samaxes-releases (http://maven-samaxes-repo.googlecode.com/svn/ > > releases, releases=true, snapshots=false), > > central (http://repo1.maven.org/maven2, releases=true, > > snapshots=false) > > -> [Help 2] > > [ERROR] Unknown packaging: swc > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with > > the -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > > please read the following articles: > > [ERROR] [Help 1] > >http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingExcep... > > [ERROR] [Help 2] > >http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionExce... > > > First I thought, maybe the global settings.xml doesn't work as usual > > in Maven 3 so I've added the repos to the pom file. I even added the > > sonatype orginial repo to the pom just to be sure: > > <repositories> > > <repository> > > <id>banana</id> > > <name>Banana Repository</name> > > <url>[URL to > > repo]/nexus/content/groups/public/</url> > > </repository> > > <repository> > > <id>banana third party</id> > > <name>Banana Third Party Repository</name> > > <url>[URL to > > repo]/nexus/content/repositories/thirdparty/</url> > > </repository> > > <repository> > > <id>sonatype</id> > > <name>Sonatype</name> > > <url>http://repository.sonatype.org/content/ > > groups/flexgroup/<http://repository.sonatype.org/content/%0Agroups/flexgroup/> > > </url> > > </repository> > > </repositories> > > > I still get the same errors. Also 'mvn clean install' doesn't solve > > the issue. Unfortunately I'm not a Maven Expert so I've no clue what's > > going wrong. > > ... > > Erfahren Sie mehr » -- 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/
