You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by RetSam <mo...@gmx.net> on 2008/04/21 17:34:33 UTC

maven-eclipse-plugin, pde = true, missing libraries

Hi, 

can someone try to run a eclipse:eclipse on the pom.xml file below?

I have some strange effects:

First run it with : <pde>false</pde>

You will see in Eclipse (3.3.2) in Refrenced Libraries a refrenece to
slf4j-api-1.4.3.jar. This is comming from the dbunit dependecy in the pom.
Perfectly correct.

Now run it with : <pde>true</pde>

Now the Libraries are refrenced by links, and moste of them are still there
... but the slf4j* are missing. 

Any Idea/Guess why this is happening ?

THX


********* My maven-eclipse-plugin Version ***********

  Group Id:  org.apache.maven.plugins
  Artifact Id: maven-eclipse-plugin
  Version:     2.4
  Goal Prefix: eclipse

************** pom.xml ***************

<?xml version="1.0" encoding="UTF-8"?>
<project>
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.example</groupId>
	<artifactId>test</artifactId>
	<name>test</name>
	<version>1.0-SNAPSHOT</version>
	<build>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-eclipse-plugin</artifactId>
				<configuration>
<!-- jars are there -->
					<pde>false</pde>
<!-- jars aren't there  : 
					<pde>true</pde>
-->
				</configuration>
			</plugin>
		</plugins>
	</build>
	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.4</version>
		</dependency>
		<dependency>
			<groupId>org.dbunit</groupId>
			<artifactId>dbunit</artifactId>
			<version>2.2.1</version>
		</dependency>
		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<version>5.0.5</version>
		</dependency>
	</dependencies>
</project>

-- 
View this message in context: http://www.nabble.com/maven-eclipse-plugin%2C-pde-%3D-true%2C-missing-libraries-tp16808000s177p16808000.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org