Skip navigation
UGA_Bulldawg
Currently Being Moderated

Error Getting Local Java Environment SetUp

Jan 3, 2011 8:04 AM

I checked out the code from the trunk directory and am trying to attempt to get my local environment setup so I can make my own rules; however, when I initially run "MVN package" per the instructions I receive the following error.  Is this swc required or should I remove the dependency for it?

 

Thanks!

Andrew

 

 

[INFO] --------------------------------------------------------------------- ---

[ERROR] BUILD ERROR

[INFO] --------------------------------------------------------------------- ---

[INFO] Failed to resolve artifact.

 

Missing:

----------

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-so

urce -Dversion=1.1 -Dpackaging=swc -Dfile=/path/to/file -Durl=[url] -Drepository

Id=[id]

 

  Path to dependency:

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

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

 

----------

1 required artifact is missing.

 

for artifact:

  com.adobe.ac:flex-pmd-flex-lib:swc:1.3-SNAPSHOT

 

from the specified remote repositories:

  flexmojos-repository (http://repository.sonatype.org/content/groups/public/),

  central (http://repo1.maven.org/maven2),

  dist.codehaus.org (http://dist.codehaus.org/),

  nexus.codehaus (https://nexus.codehaus.org/content/repositories/releases),

  maven2-repository.dev.java.net (http://download.java.net/maven/2/),

  apache (http://cvs.apache.org/repository/),

  flex-mojos (http://repository.sonatype.org/content/groups/flexgroup)

 
Replies
  • Currently Being Moderated
    Jan 3, 2011 8:12 AM   in reply to UGA_Bulldawg

    The easiest way is to build flex-pmd-java-parent instead of parent.

     

    HTH

     

    Xavier

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points