Issue Details (XML | Word | Printable)

Key: FEST-262
Type: Bug Bug
Status: Resolved Resolved
Resolution: Won't Fix
Priority: Major Major
Assignee: Alex Ruiz
Reporter: Luke Nezda
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FEST

fest-swing 1.2a3 swinghelper-debug dependency incorrect in pom.xml

Created: 28/Nov/09 12:47 PM   Updated: 28/Nov/09 01:46 PM   Resolved: 28/Nov/09 01:46 PM
Component/s: Swing
Affects Version/s: FEST-Swing 1.2a3
Fix Version/s: FEST-Swing 1.2a4

Time Tracking:
Original Estimate: 15 minutes
Original Estimate - 15 minutes
Remaining Estimate: 15 minutes
Remaining Estimate - 15 minutes
Time Spent: Not Specified
Time Spent - Not Specified

Environment:
nezda@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"


 Description  « Hide

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>



Alex Ruiz added a comment - 28/Nov/09 01:46 PM

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.