2 Replies Latest reply on Jan 3, 2011 10:25 AM by UGA_Bulldawg

    Error Getting Local Java Environment SetUp

    UGA_Bulldawg

      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)