FEST

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

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major 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:
  • Number of attachments :
    0

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>

Activity

Hide
Alex Ruiz added a comment -

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.

Show
Alex Ruiz added a comment - 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
15m
Original Estimate - 15 minutes
Remaining:
15m
Remaining Estimate - 15 minutes
Logged:
Not Specified
Time Spent - Not Specified