Hi,
I have added the following to my pom.xml and it seems to work as
expected:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.swinglabs</groupId>
<artifactId>swingx</artifactId>
<version>0.9.3</version>
</dependency>
<dependency>
<groupId>com.jhlabs</groupId>
<artifactId>filters</artifactId>
<version>2.0.235</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.swinglabs</groupId>
<artifactId>swingx</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.jhlabs</groupId>
<artifactId>filters</artifactId>
<optional>true</optional>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.swinglabs</groupId>
<artifactId>swingx</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jhlabs</groupId>
<artifactId>filters</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Those dependencies are necessary for the tests to run successfully. And
I want them to be optional for the main sources.
I have added them two times.
What do you think about this? Is this a mistake? What is the "maven way"
for this?
Thanks,
Johannes
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]