Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: FEST-Swing 1.2a3
-
Fix Version/s: FEST-Swing 1.2a4
-
Component/s: Swing
-
Labels:None
-
Environment:Hidenezda@browser$ mvn --version
Apache Maven 2.2.0 (r788681; 2009-06-26 08:04:01-0500)
Java version: 1.6.0_17
Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x" version: "10.6.2" arch: "x86_64" Family: "mac"Shownezda@browser$ mvn --version Apache Maven 2.2.0 (r788681; 2009-06-26 08:04:01-0500) Java version: 1.6.0_17 Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x" version: "10.6.2" arch: "x86_64" Family: "mac"
-
Number of attachments :
Description
http://repository.codehaus.org/org/easytesting/fest-swing/1.2a3/fest-swing-1.2a3.pom has bug; can't find swinghelper-debug in public repo
<dependency>
<groupId>swinghelper</groupId>
<artifactId>debug</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency>
should be
<dependency>
<groupId>net.java.dev.swinghelper</groupId>
<artifactId>swinghelper-debug</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency>
This can be verified by adding dependency
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-swing</artifactId>
<version>1.2a3</version>
<scope>test</scope>
</dependency>
which will fail similar to
...
[INFO] Failed to resolve artifact.
Missing:
----------
1) swinghelper:debug:jar:1.0
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=swinghelper -DartifactId=debug -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=swinghelper -DartifactId=debug -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.yawni.wn:yawni-browser:jar:2.0.0-SNAPSHOT
2) org.easytesting:fest-swing:jar:1.2a3
3) swinghelper:debug:jar:1.0
----------
1 required artifact is missing.
for artifact:
org.yawni.wn:yawni-browser:jar:2.0.0-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2),
java.net (http://download.java.net/maven/2/)
Temporary workaround is to change dependencies to
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-swing</artifactId>
<version>1.2a3</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>swinghelper</groupId>
<artifactId>debug</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- fest-swing 1.2a3 swinghelper-debug dependency incorrect in pom.xml -->
<dependency>
<groupId>net.java.dev.swinghelper</groupId>
<artifactId>swinghelper-debug</artifactId>
<version>1.0</version>
<scope>test</scope>
</dependency>
Thanks Luke for reporting this issue and providing detailed steps to fix it
As of FEST-Swing 1.2a4, we no longer depend on debug.jar. For more details, please see
FEST-207.FEST-207.