What steps will reproduce the problem? 1. "mvn install" command results in those errors:
[INFO] --------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] --------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
1) com.adobe.flex:compiler:pom:4.0.0.7219 Path to dependency: 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:3.4.2 2) com.adobe.flex:compiler:pom:4.0.0.7219
2) com.adobe.flex.compiler:asdoc:zip:template:3.2.0.3958
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=as doc -Dversion=3.2.0.3958 -Dclassifier=template -Dpackaging=zip - Dfile=/path/to/f ile
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.adobe.flex.compiler -
DartifactId=asdo c -Dversion=3.2.0.3958 -Dclassifier=template -Dpackaging=zip - Dfile=/path/to/fil e -Durl=[url] -DrepositoryId=[id]
Path to dependency: 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:3.4.2 2) com.adobe.flex.compiler:asdoc:zip:template:3.2.0.3958
3) 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 -Dv ersion=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
-Dver sion=9.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] - DrepositoryId=[id]
Path to dependency: 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:3.4.2 2) net.sf.saxon:saxon-dom:jar:9.0
4) org.graniteds:granite-generator:jar:1.1.0
Try downloading the file manually from the project website.
Then, install it using the command: mvn install:install-file -DgroupId=org.graniteds - DartifactId=granite-gene rator -Dversion=1.1.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=org.graniteds -DartifactId=granite-
genera tor -Dversion=1.1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] - Drepositor yId=[id]
Path to dependency: 1) org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:3.4.2 2) org.graniteds:granite-generator:jar:1.1.0
4 required artifacts are missing.
for artifact: org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:3.4.2
from the specified remote repositories: flexmojos-repository (http://repository.sonatype.org/content/groups/public/), flexonjava-repository (http://flexonjava.googlecode.com/svn/repository), central (http://repo1.maven.org/maven2)
Comment #1
Posted on Jun 17, 2010 by Happy OxIt appears that the folks over at Sonatype have moved their repository around a bit. I've updated the necessary POMs and checked that they should build from a clean environment.
Status: Fixed
Labels:
Type-Defect
Priority-Medium