• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Build Maven KO

New Here ,
Jan 19, 2011 Jan 19, 2011

Copy link to clipboard

Copied

Salut,

J'ai le message d'erreur suivant après récupération du trunk ou de la release 1.2:

> maven package

[ERROR] Failed to execute goal on project flex-pmd-flex-lib: Could not resolve dependencies for project com.adobe.ac:flex-pmd-flex-lib:swc:1.3-SNAPSHOT: Failed to collect dependencies for [com.adobe.ac:flex-pmd-ruleset:jar:1.3-SNAPSHOT (compile), com.adobe.cairngorm:event-source:swc:1.1 (test), com.adobe.cairngorm:cairngorm:swc:2.2.1 (compile), com.adobe.flex.framework:flex-framework:pom:3.2.0.3958 (compile), com.adobe.flex.framework:playerglobal:swc:10-3.2.0.3958 (compile), com.adobe.flex.framework:datavisualization:swc:3.2.0.3958 (compile), com.adobe.flex.framework:datavisualization:rb.swc:en_US:3.2.0.3958 (compile), org.sonatype.flexmojos:flexmojos-unittest-support:swc:3.5.0 (test), junit:junit:jar:4.7 (test)]: Failed to read artifact descriptor for com.adobe.cairngorm:event-source:swc:1.1: Could not transfer artifact com.adobe.cairngorm:event-source:pom:1.1 from/to apache (http://cvs.apache.org/repository/😞 No connector available to access repository apache (http://cvs.apache.org/repository/) of type legacy using the available factories WagonRepositoryConnectorFactory

Quelqu'un a une idée?

Merci!

MAB

Qualixo (FR)

TOPICS
FlexPMD

Views

10.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 21, 2011 Jan 21, 2011

Copy link to clipboard

Copied

Hi again,

I am still facing issues in maven build; below are some missing artifacts:

1) com.adobe.cairngorm:event-source:swc:1.1

  Try downloading the file manually from the project website.

  Then, install it using the command:

      mvn install:install-file -DgroupId=com.adobe.cairngorm -DartifactId=event-source -Dversion=1.1 -Dpackaging=swc -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:

      mvn deploy:deploy-file -DgroupId=com.adobe.cairngorm -DartifactId=event-source -Dversion=1.1 -Dpackaging=swc -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:

  1) com.adobe.ac:flex-pmd-flex-lib:swc:1.2

  2) com.adobe.cairngorm:event-source:swc:1.1

2) com.adobe.flex.framework:datavisualization:swc: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.framework -DartifactId=datavisualization -Dversion=3.2.0.3958 -Dpackaging=swc -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.framework -DartifactId=datavisualization -Dversion=3.2.0.3958 -Dpackaging=swc -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:

  1) com.adobe.ac:flex-pmd-flex-lib:swc:1.2

  2) com.adobe.flex.framework:datavisualization:swc:3.2.0.3958

3) com.adobe.flex.framework:datavisualization:rb.swc:en_US: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.framework -DartifactId=datavisualization -Dversion=3.2.0.3958 -Dclassifier=en_US -Dpackaging=rb.swc -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.framework -DartifactId=datavisualization -Dversion=3.2.0.3958 -Dclassifier=en_US -Dpackaging=rb.swc -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:

  1) com.adobe.ac:flex-pmd-flex-lib:swc:1.2

  2) com.adobe.flex.framework:datavisualization:rb.swc:en_US:3.2.0.3958

For reference, here is settings.xml

<repositories>

<repository>

<url>http://opensource.adobe.com/svn/opensource/cairngorm3/maven-repository</url>

<id>cairngorm3-repo</id>

</repository>

<repository>

<url>http://opensource.adobe.com/svn/opensource/flexpmd/maven-repository/release</url>

<id>flexpmd-repo</id>

</repository>

<repository>

<url>http://repository.sonatype.org/content/groups/flexgroup/</url>

<id>flexgroup-repo</id>

</repository>

</repositories>

Any help greatly appreciated.

MAB

Qualixo

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 21, 2011 Jan 21, 2011

Copy link to clipboard

Copied

As a feedback, first issue (No connector available to access repository apache of type legacy using the available factories WagonRepositoryConnectorFactory) was fixed with downgrade to maven 2.x (was on latest maven 3.x), as Maven since 3.x does not connect to legacy repositories anymore..

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 01, 2012 Aug 01, 2012

Copy link to clipboard

Copied

I am cross referencing a similar thread that about this same issue: http://forums.adobe.com/thread/1041494

It started when I tried to build FlexPMD with Maven 3.x, then I downgraded to Maven 2.x in order to access the 'legacy' repos.  However with Maven 2.x I arrived at the same place where Qualixo arrived, so presently I am still unable to build FlexPMD until this is resolved.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Aug 02, 2012 Aug 02, 2012

Copy link to clipboard

Copied

LATEST

To anyone finding this thread with a Maven 2 build error matching the above, see the previous cross referenced link.  The solution is to build from flex-pmd-java-parent intead of flex-pmd-parent.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines