ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Problem updating ZK dependencies with Maven.

Drely
17 Jun 2011 13:15:26 GMT
17 Jun 2011 13:15:26 GMT

Hi, i'm using Eclipse Helios IDE, Maven 2.2.1 and ZK 5.0.5 and i'm having troubles when i try to update de Maven dependencies, it seems to be that Maven do not find my JARs in my local reposotory, altough they exist. The dependency's updating only fails when i let the ZK dependencies in my pom.xml, but when i take them out, Maven update all dependencies with no problem, but of course, my project don't compile because there are missing the ZK libraries.

Could you please help me?

I let here all errors that my Eclipse console sends when i let the ZK dependencies in my pom.xml.


- Missing artifact org.slf4j:slf4j-log4j12:jar:1.6.1:compile
- Missing artifact javax.servlet:servlet-api:jar:2.4:provided
- Missing artifact org.zkoss.zk:zhtml:jar:5.0.5:compile
- Missing artifact org.zkoss.common:zcommon:jar:5.0.5:compile
- Missing artifact com.jhlabs:filters:jar:2.0.235:compile
- Missing artifact org.apache.ant:ant-launcher:jar:1.7.0:runtime
- Missing artifact org.springframework.security:spring-security-config:jar:
3.0.2.RELEASE:compile
- Missing artifact org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:
1.0.1:compile
- Missing artifact org.zkoss.zk:zul:jar:5.0.5:compile
- Missing artifact commons-lang:commons-lang:jar:2.3:compile
- Missing artifact org.bouncycastle:bctsp-jdk14:jar:1.38:compile
- Missing artifact taglibs:standard:jar:1.1.2:runtime
- Missing artifact org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
- Missing artifact org.springframework:spring-web:jar:3.0.5.RELEASE:compile
- Missing artifact org.zkoss.zkforge.el:zcommons-el:jar:1.1.0:compile
- Missing artifact org.bouncycastle:bcprov-jdk14:jar:1.38:compile
- Missing artifact org.springframework:spring-aspects:jar:3.0.5.RELEASE:compile
- Missing artifact rhino:js:jar:1.7R1:runtime
- Missing artifact com.lowagie:itext:jar:2.1.0:compile
- Missing artifact org.springframework:spring-tx:jar:3.0.5.RELEASE:compile
- Missing artifact commons-logging:commons-logging:jar:1.1.1:compile
- Missing artifact commons-io:commons-io:jar:1.3.1:compile
- Missing artifact stax:stax-api:jar:1.0.1:compile
- Missing artifact org.springframework:spring-test:jar:3.0.5.RELEASE:compile
- Missing artifact org.slf4j:slf4j-api:jar:1.6.1:compile
- Missing artifact commons-digester:commons-digester:jar:1.6:compile
- Missing artifact net.sf.opencsv:opencsv:jar:2.1:compile
- Missing artifact org.springframework.ldap:spring-ldap-core-tiger:jar:
1.3.0.RELEASE:compile
- Missing artifact org.springframework:spring-jdbc:jar:3.0.5.RELEASE:compile
- Missing artifact org.springframework.security:spring-security-ldap:jar:
3.0.4.RELEASE:compile
- Missing artifact commons-pool:commons-pool:jar:1.2:compile
- Missing artifact org.apache.poi:ooxml-schemas:jar:1.1:compile
- Missing artifact commons-fileupload:commons-fileupload:jar:1.2.1:compile
- Missing artifact org.codehaus.groovy:groovy-all:jar:1.5.6:runtime
- Missing artifact org.python:jython:jar:2.2.1:runtime
- Missing artifact org.zkoss.zkforge:gmapsz:jar:2.0-3:compile
- Missing artifact net.sf.jasperreports:jasperreports:jar:3.7.0:compile
- Failed to read artifact descriptor for org.zkoss.zkforge:timelinez:jar:2.3.0_50
- Missing artifact org.springframework:spring-context-support:jar:3.0.5.RELEASE:compile
- Missing artifact commons-beanutils:commons-beanutils:jar:1.7.0:compile
- Missing artifact org.zkoss.zkforge:ckez:jar:3.3.2_50:compile
- Missing artifact org.springframework:spring-context:jar:3.0.5.RELEASE:compile
- Missing artifact jline:jline:jar:0.9.94:runtime
- Missing artifact junit:junit:jar:3.8.1:test
- Missing artifact org.zkoss.zkforge:timelinez:jar:2.3.1_50:compile
- Missing artifact org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile
- Missing artifact org.zkoss.zk:zk:jar:5.0.5:compile
- Missing artifact org.springframework:spring-webmvc:jar:3.0.5.RELEASE:compile
- Missing artifact javax.servlet:jstl:jar:1.1.2:runtime
- Missing artifact jfree:jcommon:jar:1.0.15:compile
- Missing artifact org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
- Failed to read artifact descriptor for org.zkoss.zss:zss:jar:2.0.1
- Missing artifact bouncycastle:bcprov-jdk14:jar:136:compile
- Missing artifact org.springframework:spring-orm:jar:3.0.5.RELEASE:compile
- Missing artifact org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
- Missing artifact jfree:jfreechart:jar:1.0.13:compile
- Missing artifact org.aspectj:aspectjrt:jar:1.6.8:compile
- Missing artifact org.springframework.security:spring-security-taglibs:jar:
3.0.2.RELEASE:compile
- Missing artifact org.springframework.security:spring-security-acl:jar:
3.0.2.RELEASE:compile
- Missing artifact org.springframework.security:spring-security-core:jar:
3.0.2.RELEASE:compile
- Missing artifact org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
- Missing artifact bouncycastle:bcmail-jdk14:jar:136:compile
- Missing artifact org.springframework.security:spring-security-web:jar:
3.0.2.RELEASE:compile
- Missing artifact com.itextpdf:itextpdf:jar:5.0.6:compile
- Missing artifact log4j:log4j:jar:1.2.16:runtime
- Missing artifact org.zkoss.zk:zkplus:jar:5.0.5:compile
- Missing artifact commons-math:commons-math:jar:1.2:compile
- Failed to read artifact descriptor for org.zkoss.zss:zpoi:jar:2.0.1
- Missing artifact eclipse:jdtcore:jar:3.1.0:compile
- Missing artifact com.oracle:ojdbc14:jar:10.2.0.2:compile
- Missing artifact commons-dbcp:commons-dbcp:jar:1.2.1:compile
- Missing artifact org.apache.ant:ant:jar:1.7.0:runtime
- Missing artifact org.zkoss.common:zweb:jar:5.0.5:compile
- Missing artifact aopalliance:aopalliance:jar:1.0:compile
- Missing artifact org.jruby:jruby:jar:1.1.2:runtime
- Missing artifact org.springframework.webflow:spring-js-resources:jar:
2.2.0.RELEASE:compile
- Missing artifact org.beanshell:bsh:jar:2.0b4:runtime
- Missing artifact xml-apis:xml-apis:jar:1.0.b2:compile
- Missing artifact org.aspectj:aspectjweaver:jar:1.6.8:compile
- Missing artifact org.zkoss.zk:zkmax:jar:5.0.5:compile
- Missing artifact org.zkoss.zk:zkex:jar:5.0.5:compile
- Missing artifact commons-collections:commons-collections:jar:3.2:compile
- Missing artifact dom4j:dom4j:jar:1.6.1:compile
- Missing artifact org.springframework:spring-core:jar:3.0.5.RELEASE:compile
- Missing artifact org.zkoss.zkforge:timeplotz:jar:1.1_50:compile
- Missing artifact org.bouncycastle:bcmail-jdk14:jar:1.38:compile
- Missing artifact org.springframework.ldap:spring-ldap-core:jar:1.3.0.RELEASE:compile


Thansk!

terrytornadoTop Contributor
18 Jun 2011 04:29:01 GMT
18 Jun 2011 04:29:01 GMT

show us your pom.xml

dmoralesnava
22 Jun 2011 18:24:06 GMT
22 Jun 2011 18:24:06 GMT

Sorry for the delay, I wasn't notified for your reply. This is my pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.irai</groupId>
<artifactId>visor-web</artifactId>
<packaging>war</packaging>
<version>1.0</version>
<name>visor-web Maven Webapp</name>
<properties>
<zk.version>5.0.5</zk.version>
<zss.version>2.0.1</zss.version>
<zkel.version>1.1.0</zkel.version>
<bsh.version>2.0b4</bsh.version>
<commons-fileupload.version>1.2.1</commons-fileupload.version>
<commons-io.version>1.3.1</commons-io.version>
<commons-logging.version>1.1.1</commons-logging.version>
<servlet.version>2.4</servlet.version>
<jgroovy.version>1.5.6</jgroovy.version>
<jruby.version>1.1.2</jruby.version>
<jython.version>2.2.1</jython.version>
<js.version>1.7R1</js.version>
<jasperreports.version>3.7.0</jasperreports.version>
<jfreechart.version>1.0.13</jfreechart.version>
<filters.version>2.0.235</filters.version>
<ckez.version>3.3.2_50</ckez.version>
<timelinez.version>2.3.1_50</timelinez.version>
<timeplotz.version>1.1_50</timeplotz.version>
<gmapsz.version>2.0-3</gmapsz.version> <!-- Should 2.5x BUT maven @zkoss not update -->
<springsecurity.version>3.0.2.RELEASE</springsecurity.version>
<spring.version>3.0.5.RELEASE</spring.version>
<jstl.version>1.1.2</jstl.version>
<log4j.version>1.2.16</log4j.version>
<slf4j.version>1.6.1</slf4j.version>
<commons.beanutils.version>1.7.0</commons.beanutils.version>
<commons.collections.version>3.2</commons.collections.version>
<commons.lang.version>2.3</commons.lang.version>
<commons-math.version>1.2</commons-math.version>
<dom4j.version>1.6.1</dom4j.version>
<geronimo-stax-api-spec.version>1.0.1</geronimo-stax-api-spec.version>
<ooxml-schemas.version>1.1</ooxml-schemas.version>
<itextpdf.version>5.0.6</itextpdf.version>
<opencsv.version>2.1</opencsv.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>zk repository</id>
<url>http://mavensync.zkoss.org/maven2</url>
</repository>
<!-- If Using ZK EE or ZK PE Respository (not evaluation version), you need to add login info into ~/.m2/settings.xml -->
<repository>
<id>ZK PE Evaluation</id>
<url>http://mavensync.zkoss.org/zk/pe-eval</url>
</repository>
<repository>
<id>ZK EE Evaluation</id>
<url>http://mavensync.zkoss.org/zk/ee-eval</url>
</repository>
<repository>
<id>itextpdf.com</id>
<name>Maven Repository for iText</name>
<url>http://maven.itextpdf.com/</url>
</repository>
<repository>
<id>spring-maven-release</id>
<name>Spring Maven Release Repository</name>
<url>http://maven.springframework.org/release</url>
</repository>
<repository>
<id>spring-maven-milestone</id>
<name>Spring Maven Milestone Repository</name>
<url>http://maven.springframework.org/milestone</url>
</repository>
<repository>
<id>JBoss Repo</id>
<url>https://repository.jboss.org/nexus/content/repositories/releases</url>
<name>JBoss Repo</name>
</repository>
<repository>
<id>JBoss Repo 2</id>
<url>http://repository.jboss.org/maven2</url>
<name>JBoss Repo 2</name>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>net.sf.opencsv</groupId>
<artifactId>opencsv</artifactId>
<version>${opencsv.version}</version>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>ooxml-schemas</artifactId>
<version>${ooxml-schemas.version}</version>
</dependency>
<dependency>
<groupId>com.itextpdf</groupId>
<artifactId>itextpdf</artifactId>
<version>${itextpdf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-stax-api_1.0_spec</artifactId>
<version>${geronimo-stax-api-spec.version}</version>
</dependency>
<dependency>
<groupId>dom4j</groupId>
<artifactId>dom4j</artifactId>
<version>${dom4j.version}</version>
</dependency>
<dependency>
<groupId>commons-math</groupId>
<artifactId>commons-math</artifactId>
<version>${commons-math.version}</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>${commons-logging.version}</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>${commons-fileupload.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>${commons.beanutils.version}</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>${commons.collections.version}</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>${commons.lang.version}</version>
</dependency>
<dependency>
<groupId>commons-digester</groupId>
<artifactId>commons-digester</artifactId>
<version>1.6</version>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
<version>1.2.1</version>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xerces</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>1.2</version>
<exclusions>
<exclusion>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
</exclusion>
<exclusion>
<groupId>xerces</groupId>
<artifactId>xerces</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.zkoss.zss</groupId>
<artifactId>zss</artifactId>
<version>${zss.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zss</groupId>
<artifactId>zpoi</artifactId>
<version>${zss.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zk</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zkplus</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zul</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zhtml</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zkex</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zk</groupId>
<artifactId>zkmax</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.common</groupId>
<artifactId>zcommon</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.common</groupId>
<artifactId>zweb</artifactId>
<version>${zk.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zkforge.el</groupId>
<artifactId>zcommons-el</artifactId>
<version>${zkel.version}</version>
</dependency>
<dependency>
<groupId>org.beanshell</groupId>
<artifactId>bsh</artifactId>
<version>${bsh.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>${jgroovy.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby</artifactId>
<version>${jruby.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.python</groupId>
<artifactId>jython</artifactId>
<version>${jython.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>rhino</groupId>
<artifactId>js</artifactId>
<version>${js.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>${jasperreports.version}</version>
</dependency>
<dependency>
<groupId>jfree</groupId>
<artifactId>jfreechart</artifactId>
<version>${jfreechart.version}</version>
</dependency>
<dependency>
<groupId>com.jhlabs</groupId>
<artifactId>filters</artifactId>
<version>${filters.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zkforge</groupId>
<artifactId>ckez</artifactId>
<version>${ckez.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zkforge</groupId>
<artifactId>gmapsz</artifactId>
<version>${gmapsz.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zkforge</groupId>
<artifactId>timelinez</artifactId>
<version>${timelinez.version}</version>
</dependency>
<dependency>
<groupId>org.zkoss.zkforge</groupId>
<artifactId>timeplotz</artifactId>
<version>${timeplotz.version}</version>
</dependency>

<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${springsecurity.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>${springsecurity.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
<version>${springsecurity.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-taglibs</artifactId>
<version>${springsecurity.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-ldap</artifactId>
<version>3.0.4.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.ldap</groupId>
<artifactId>spring-ldap-core</artifactId>
<version>1.3.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.ldap</groupId>
<artifactId>spring-ldap-core-tiger</artifactId>
<version>1.3.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.webflow</groupId>
<artifactId>spring-js-resources</artifactId>
<version>2.2.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
</dependency>

<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>${jstl.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>${jstl.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4j.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${slf4j.version}</version>
</dependency>

<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc14</artifactId>
<version>10.2.0.2</version>
</dependency>

</dependencies>
<build>
<finalName>visor-web</finalName>
</build>
</project>


thanks!!

terrytornadoTop Contributor
23 Jun 2011 06:37:21 GMT
23 Jun 2011 06:37:21 GMT

Does the build run outside Eclipse in the shell ???
mvn install


For eclipse.
Have a try with the maven plugins:

	<build>
		<finalName>visor-web</finalName>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.0</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-resources-plugin</artifactId>
				<version>2.2</version>
				<configuration>
					<encoding>UTF-8</encoding>
				</configuration>
			</plugin>
		</plugins>
	</build>

     . . .

dmoralesnava
23 Jun 2011 10:20:53 GMT
23 Jun 2011 10:20:53 GMT

If i compile it with mvn compile command, it does it fine, the problem is when a try to compile within Eclipse, it throws all those messages saying that are missing artifacts.

I have already added the plugins you mention but it doesn't still work.

I have tried compile the same project in other machine (where I've configured the environment) and there works.

I have also reinstall my environment (eclipse and maven) in the machine where doesn't work and it isn't working yet.

Some other clue?

Thanks!

terrytornadoTop Contributor
24 Jun 2011 03:40:05 GMT
24 Jun 2011 03:40:05 GMT

Have you configured the maven installation path in the Eclipse preferences like this pic ?


Next here are two files from the project folder from a maven builded eclipse project.
Look at the maven dependent lines:

.classpath

<?xml version="1.0" encoding="UTF-8"?>
<classpath>
	<classpathentry kind="src" output="target/classes" path="src/main/java"/>
	<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"/>
	<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
	<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"/>
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
	<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
		<attributes>
			<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
		</attributes>
	</classpathentry>
	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
	<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
	<classpathentry kind="output" path="target/classes"/>
</classpath>

.project

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>openTruuls-tenant-admin</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.wst.common.project.facet.core.builder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.jdt.core.javabuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.eclipse.wst.validation.validationbuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.maven.ide.eclipse.maven2Builder</name>
			<arguments>
			</arguments>
		</buildCommand>
		<buildCommand>
			<name>org.springframework.ide.eclipse.core.springbuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.springframework.ide.eclipse.core.springnature</nature>
		<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
		<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
		<nature>org.eclipse.jdt.core.javanature</nature>
		<nature>org.maven.ide.eclipse.maven2Nature</nature>
		<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
		<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
	</natures>
</projectDescription>

dmoralesnava
29 Jun 2011 09:57:09 GMT
29 Jun 2011 09:57:09 GMT

Hi.

Yes, I configured maven installation path in Eclipse just as your pic shows, and I've also added some lines that were missing in both files you show and everythig is still the same :(, I don't have any idea of what could be happening.

Thanks.