Skip to main content
clintmodien
Known Participant
March 30, 2010
Question

Unable to find resource 'com.adobe.flex.framework:playerglobal:swc:10-3.2.0.3958' in repository snap

  • March 30, 2010
  • 2 replies
  • 8713 views

I filed a bug about the asdoc rules and I thought I'd try and fix it myself...

I checked out the source at http://opensource.adobe.com/svn/opensource/flexpmd/tags/1.1/

I cracked the terminal on OS X and went to the flex-pmd-parent dir and ran mvn package

After much weirdness... (I'm a maven n00b)... I ran into a problem...

If someone can point me in the right direction to get this to work... I'd be more than happy to write a patch for the bug I filed..

Thanks in advance...

Error below:

Downloading: http://fna-v2.googlecode.com/svn/trunk/fna_m2_repository//com/adobe/flex/framework/playerglobal/10-3.2.0.3958/playerglobal-10-3.2.0.3958.swc
[INFO] Unable to find resource 'com.adobe.flex.framework:playerglobal:swc:10-3.2.0.3958' in repository snapshot-fna (http://fna-v2.googlecode.com/svn/trunk/fna_m2_repository/)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.adobe.flex.framework:flex-framework:pom:3.2.0.3958
  Path to dependency:
      1) com.adobe.ac:flexunit-theme:swc:1.1
      2) com.adobe.flex.framework:flex-framework:pom:3.2.0.3958

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

  Path to dependency:
      1) com.adobe.ac:flexunit-theme:swc:1.1
      2) com.adobe.flex.framework:playerglobal:swc:10-3.2.0.3958

----------
2 required artifacts are missing.

for artifact:
  com.adobe.ac:flexunit-theme:swc:1.1

from the specified remote repositories:
  snapshot-fna (http://fna-v2.googlecode.com/svn/trunk/fna_m2_repository/),
  flexmojos-repository (http://repository.sonatype.org/content/groups/public/),
  central (http://repo1.maven.org/maven2),
  snapshot-codehaus (http://snapshots.repository.codehaus.org),
  dist.codehaus.org (http://dist.codehaus.org/),
  maven2-repository.dev.java.net (http://download.java.net/maven/2/),
  apache-snapshots (http://people.apache.org/maven-snapshot-repository/),
  apache (http://cvs.apache.org/repository/)
This topic has been closed for replies.

2 replies

Adobe Employee
March 30, 2010

Hi,

We modified the build slightly over the last few days.

If you check out the trunk, you will see one new module called flex-pmd-java-parent.

Then, if you had a new rule, or modify the java core of FlexPMD, all you need is make sure that this java-prent project builds.

You won't have that kind of errors in that case.

HTH

Xavier

clintmodien
Known Participant
March 31, 2010

Thanks Xavier... do you think it would be possible to upload a patched jar file? I'd love to use these rules and I'm having some problems building the 1.1 release to apply the patch myself.

Clint Modien

c. 408.489.0750

f. 1.866.253.9401

AIM\Y!M. cmodien

Adobe Employee
March 31, 2010

You should check out http://opensource.adobe.com/svn/opensource/flexpmd/trunk

The changes we've made have been done after the 1.1 release.

If the change you are trying to do is related to the bug https://bugs.adobe.com/jira/browse/FLEXPMD-167, it has been fixed on trunk.

Cheers,

Xavier

ledroff
Adobe Employee
Adobe Employee
March 30, 2010

ok, try this:

  • delete your local maven repository
  • scrap out the fna-V2 repostory url from the flexpmd parent build
  • and add this one instead : http://repository.sonatype.org/content/groups/flexgroup/
  • get back to me, it you still have an issue

Cheers,

and thanks for trying out !

François

clintmodien
Known Participant
March 31, 2010

Hi François... I tried that and got these errors below...

Downloading: http://repository.sonatype.org/content/groups/flexgroup//com/adobe/cairngorm/cairngorm/2.2.1/cairngorm-2.2.1.swc

Unable to find resource 'com.adobe.cairngorm:cairngorm:swc:2.2.1' in repository snapshot-fna (http://repository.sonatype.org/content/groups/flexgroup/)