qickrooms / flex-mojos

Automatically exported from code.google.com/p/flex-mojos
0 stars 0 forks source link

Failed to resolve artifact. #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run mvn clean install
2.
3.

What is the expected output? What do you see instead?

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.adobe.flex.sdk:datavisualization:resource-bundle:en_US:3.0.0.477

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.adobe.flex.sdk -DartifactId=datavi
ualization -Dversion=3.0.0.477 -Dclassifier=en_US -Dpackaging=resource-bundle -
file=/path/to/file

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

      mvn deploy:deploy-file -DgroupId=com.adobe.flex.sdk -DartifactId=datavisu
lization -Dversion=3.0.0.477 -Dclassifier=en_US -Dpackaging=resource-bundle -Df
le=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) com.adobe.sample:dashboard:swf:1.0-SNAPSHOT
        2) com.adobe.flex.sdk:datavisualization:resource-bundle:en_US:3.0.0.477

----------
1 required artifact is missing.

for artifact:
  com.adobe.sample:dashboard:swf:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  flex-mojos-repository (http://svn.sonatype.org/flexmojos/repository/)

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
----------
1) com.adobe.flex.sdk:datavisualization:resource-bundle:en_US:3.0.0.477

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.adobe.flex.sdk -DartifactId=datavi
ualization -Dversion=3.0.0.477 -Dclassifier=en_US -Dpackaging=resource-bundle -
file=/path/to/file

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

      mvn deploy:deploy-file -DgroupId=com.adobe.flex.sdk -DartifactId=datavisu
lization -Dversion=3.0.0.477 -Dclassifier=en_US -Dpackaging=resource-bundle -Df
le=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) com.adobe.sample:dashboard:swf:1.0-SNAPSHOT
        2) com.adobe.flex.sdk:datavisualization:resource-bundle:en_US:3.0.0.477

----------
1 required artifact is missing.

for artifact:
  com.adobe.sample:dashboard:swf:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  flex-mojos-repository (http://svn.sonatype.org/flexmojos/repository/)

        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Def
ultLifecycleExecutor.java:575)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithL
fecycle(DefaultLifecycleExecutor.java:499)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defa
ltLifecycleExecutor.java:478)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHa
dleFailures(DefaultLifecycleExecutor.java:330)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegme
ts(DefaultLifecycleExecutor.java:291)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultL
fecycleExecutor.java:142)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430

        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.MultipleArtifactsNotFoundExceptio
: Missing:
----------
1) com.adobe.flex.sdk:datavisualization:resource-bundle:en_US:3.0.0.477

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.adobe.flex.sdk -DartifactId=datavi
ualization -Dversion=3.0.0.477 -Dclassifier=en_US -Dpackaging=resource-bundle -
file=/path/to/file

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

      mvn deploy:deploy-file -DgroupId=com.adobe.flex.sdk -DartifactId=datavisu
lization -Dversion=3.0.0.477 -Dclassifier=en_US -Dpackaging=resource-bundle -Df
le=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) com.adobe.sample:dashboard:swf:1.0-SNAPSHOT
        2) com.adobe.flex.sdk:datavisualization:resource-bundle:en_US:3.0.0.477

----------
1 required artifact is missing.

for artifact:
  com.adobe.sample:dashboard:swf:1.0-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  flex-mojos-repository (http://svn.sonatype.org/flexmojos/repository/)

        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTr
nsitively(DefaultArtifactResolver.java:324)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTr
nsitively(DefaultArtifactResolver.java:288)
        at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDepend
ncies(DefaultPluginManager.java:1415)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlug
nManager.java:405)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Def
ultLifecycleExecutor.java:558)
        ... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 21 seconds
[INFO] Finished at: Sat Jun 21 09:17:18 SGT 2008
[INFO] Final Memory: 5M/9M
[INFO] ------------------------------------------------------------------------

What version of the product are you using? On what operating system?

mavan - 2.0.9, windows xp sp3

Please provide any additional information below.

I tried to download from the project site, however couldn't locate the
folders. Not sure whether I am missing something.

http://svn.sonatype.org/flexmojos/repository//com/adobe/flex/sdk/

http://flex-mojos.googlecode.com/svn/trunk/repository/com/adobe/flex/sdk/

Attached is my pom

Original issue reported on code.google.com by jacobel...@gmail.com on 21 Jun 2008 at 1:23

Attachments:

GoogleCodeExporter commented 9 years ago
This is not a bug in the flex-mojos plugin, but a missing dependency from your 
local repository.

The problem is that you are missing the resource bundle for the 
datavisualization swc 
(datavisualization_rb.swc) from your local repository.

You need to install it in your local repository following the instructions at 
http://code.google.com/p/flex-
mojos/wiki/DashboardSamplePom (the second mvn install:install-file command). 
You should get a BUILD 
SUCCESSFUL message after doing the install.

On Windows with Flex Builder 3 installed, the correct file should be at 
C:\Program Files\Adobe\Flex Builder 
3\sdks\3.0.0\frameworks\locale\en_US\datavisualization_rb.swc

Also, you shouldn't need the repository at googlecode any more, I would remove 
it from the pom (the entire 
<repository></repository> section for googlecode, keep the one for sonatype).

Original comment by RedB...@gmail.com on 21 Jun 2008 at 1:55

GoogleCodeExporter commented 9 years ago
Invalid.

Resolved, anyhow.

Original comment by jacobel...@gmail.com on 21 Jun 2008 at 6:38