Hi,

from your logs, it looks like access to the Internet is not working or at least not for Maven, since most of the missing dependencies are available on central. Would you have a proxy/firewall set up somewhere and forgot to put that in your settings? Or do you have a local firewall that would block all connections?

Also, it looks like your Nexus installation is not working either, because it seems that the index cannot be found (or again, it cannot be reached by Maven).

A few URL you can try that should work:
http://repo1.maven.org/maven2/easyconf/easyconf/0.9.0/easyconf-0.9.0.jar

http://localhost:8081/nexus/content/groups/public/easyconf/easyconf/0.9.0/easyconf-0.9.0.jar

Hard to say more without your settings.

Guillaume

Le 22/06/2011 9:24, samwun a écrit :
Hello,

I imported a maven project, but it can't resolve the following libraries.
I have local Nexus installed and connected to the internet.


11-6-22 下午05时17分09秒: Unable to update index for
local|http://localhost:8081/nexus/content/groups/public
11-6-22 下午05时17分05秒: Updating index
local|http://localhost:8081/nexus/content/groups/public
11-6-22 下午05时17分23秒: Refreshing [/ixsystems-registration/pom.xml]
11-6-22 下午05时17分46秒: Missing artifact easyconf:easyconf:jar:0.9.0:compile
11-6-22 下午05时17分46秒: Missing artifact struts:struts:jar:1.1:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-beanutils:commons-beanutils:jar:1.6.1:compile
11-6-22 下午05时17分46秒: Missing artifact struts:struts-legacy:jar:1.1:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-validator:commons-validator:jar:1.1.4:compile
11-6-22 下午05时17分46秒: Missing artifact oro:oro:jar:2.0.7:compile
11-6-22 下午05时17分46秒: Missing artifact javax.sql:jdbc-stdext:jar:2.0:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-configuration:commons-configuration:jar:1.1:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-collections:commons-collections:jar:3.1:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-lang:commons-lang:jar:2.0:compile
11-6-22 下午05时17分46秒: Missing artifact dom4j:dom4j:jar:1.4:compile
11-6-22 下午05时17分46秒: Missing artifact jaxen:jaxen:jar:1.0-FCS:compile
11-6-22 下午05时17分46秒: Missing artifact saxpath:saxpath:jar:1.0-FCS:compile
11-6-22 下午05时17分46秒: Missing artifact msv:msv:jar:20020414:compile
11-6-22 下午05时17分46秒: Missing artifact
relaxngDatatype:relaxngDatatype:jar:20020414:compile
11-6-22 下午05时17分46秒: Missing artifact isorelax:isorelax:jar:20020414:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-digester:commons-digester:jar:1.6:compile
11-6-22 下午05时17分46秒: Missing artifact xerces:xercesImpl:jar:2.2.1:compile
11-6-22 下午05时17分46秒: Missing artifact xml-apis:xml-apis:jar:1.0.b2:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-beanutils:commons-beanutils-core:jar:1.7.0:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-beanutils:commons-beanutils-bean-collections:jar:1.7.0:compile
11-6-22 下午05时17分46秒: Missing artifact mx4j:mx4j-jmx:jar:2.1.1:compile
11-6-22 下午05时17分46秒: Missing artifact mx4j:mx4j-impl:jar:2.1.1:compile
11-6-22 下午05时17分46秒: Missing artifact
portlet-api:portlet-api:jar:1.0:provided
11-6-22 下午05时17分46秒: Missing artifact
org.aspectj:aspectjrt:jar:1.6.6:compile
11-6-22 下午05时17分46秒: Missing artifact
javax.servlet:servlet-api:jar:2.5:provided
11-6-22 下午05时17分46秒: Missing artifact
javax.portlet:portlet-api:jar:2.0:provided
11-6-22 下午05时17分46秒: Missing artifact javax.servlet:jstl:jar:1.2:compile
11-6-22 下午05时17分46秒: Missing artifact junit:junit:jar:4.7:test
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-core:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-asm:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-jdbc:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-beans:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-test:jar:3.0.2.RELEASE:test
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-context:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-expression:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-webmvc-portlet:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-web:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-webmvc:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-aop:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
aopalliance:aopalliance:jar:1.0:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-aspects:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-context-support:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-tx:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact org.hsqldb:hsqldb:jar:1.8.0.10:compile
11-6-22 下午05时17分46秒: Missing artifact
org.hibernate:hibernate-annotations:jar:3.3.1.GA:compile
11-6-22 下午05时17分46秒: Missing artifact
org.hibernate:hibernate:jar:3.2.6.ga:compile
11-6-22 下午05时17分46秒: Missing artifact
net.sf.ehcache:ehcache:jar:1.2.3:compile
11-6-22 下午05时17分46秒: Missing artifact asm:asm-attrs:jar:1.5.3:compile
11-6-22 下午05时17分46秒: Missing artifact antlr:antlr:jar:2.7.6:compile
11-6-22 下午05时17分46秒: Missing artifact cglib:cglib:jar:2.1_3:compile
11-6-22 下午05时17分46秒: Missing artifact asm:asm:jar:1.5.3:compile
11-6-22 下午05时17分46秒: Missing artifact
org.hibernate:hibernate-commons-annotations:jar:3.0.0.ga:compile
11-6-22 下午05时17分46秒: Missing artifact
org.hibernate:ejb3-persistence:jar:1.0.1.GA:compile
11-6-22 下午05时17分46秒: Missing artifact
org.springframework:spring-orm:jar:3.0.2.RELEASE:compile
11-6-22 下午05时17分46秒: Missing artifact
javax.transaction:transaction-api:jar:1.1:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-dbcp:commons-dbcp:jar:1.2.2:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-pool:commons-pool:jar:1.3:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-logging:commons-logging:jar:1.1:compile
11-6-22 下午05时17分46秒: Missing artifact logkit:logkit:jar:1.0.1:compile
11-6-22 下午05时17分46秒: Missing artifact
avalon-framework:avalon-framework:jar:4.1.3:compile
11-6-22 下午05时17分46秒: Missing artifact commons-io:commons-io:jar:1.3:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-fileupload:commons-fileupload:jar:1.2:compile
11-6-22 下午05时17分46秒: Missing artifact log4j:log4j:jar:1.2.14:compile
11-6-22 下午05时17分46秒: Missing artifact javax.mail:mail:jar:1.4:provided
11-6-22 下午05时17分46秒: Missing artifact
javax.activation:activation:jar:1.1:provided
11-6-22 下午05时17分46秒: Missing artifact xdoclet:xdoclet:jar:1.2.3:compile
11-6-22 下午05时17分46秒: Missing artifact
xdoclet:xdoclet-web-module:jar:1.2.3:compile
11-6-22 下午05时17分46秒: Missing artifact
commons-codec:commons-codec:jar:1.3:compile
11-6-22 下午05时17分46秒: Missing artifact
org.hibernate:hibernate-entitymanager:jar:3.4.0.GA:runtime
11-6-22 下午05时17分46秒: Missing artifact
org.hibernate:hibernate-core:jar:3.3.0.SP1:compile
11-6-22 下午05时17分46秒: Missing artifact javax.transaction:jta:jar:1.1:compile
11-6-22 下午05时17分46秒: Missing artifact javassist:javassist:jar:3.4.GA:runtime
11-6-22 下午05时17分46秒: Missing artifact
org.slf4j:slf4j-log4j12:jar:1.5.3:runtime
11-6-22 下午05时17分46秒: Missing artifact org.slf4j:slf4j-api:jar:1.5.3:compile
11-6-22 下午05时17分46秒: Missing artifact
mysql:mysql-connector-java:jar:5.1.13:test
11-6-22 下午05时17分46秒: Missing artifact
postgresql:postgresql:jar:8.4-701.jdbc4:compile
11-6-22 下午05时17分46秒: Missing artifact
javax.servlet.jsp:jsp-api:jar:2.2:provided
11-6-22 下午05时18分03秒: Generating sources /ixsystems-registration/pom.xml
11-6-22 下午05时18分07秒: Adding source folder
/ixsystems-registration/src/main/java
11-6-22 下午05时18分07秒: Adding resource folder
/ixsystems-registration/src/main/resources
11-6-22 下午05时18分07秒: Adding source folder
/ixsystems-registration/src/test/java
11-6-22 下午05时18分08秒: Project import completed 53 sec
11-6-22 下午05时18分10秒: Missing artifact easyconf:easyconf:jar:0.9.0:compile
11-6-22 下午05时18分10秒: Missing artifact struts:struts:jar:1.1:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-beanutils:commons-beanutils:jar:1.6.1:compile
11-6-22 下午05时18分10秒: Missing artifact struts:struts-legacy:jar:1.1:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-validator:commons-validator:jar:1.1.4:compile
11-6-22 下午05时18分10秒: Missing artifact oro:oro:jar:2.0.7:compile
11-6-22 下午05时18分10秒: Missing artifact javax.sql:jdbc-stdext:jar:2.0:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-configuration:commons-configuration:jar:1.1:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-collections:commons-collections:jar:3.1:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-lang:commons-lang:jar:2.0:compile
11-6-22 下午05时18分10秒: Missing artifact dom4j:dom4j:jar:1.4:compile
11-6-22 下午05时18分10秒: Missing artifact jaxen:jaxen:jar:1.0-FCS:compile
11-6-22 下午05时18分10秒: Missing artifact saxpath:saxpath:jar:1.0-FCS:compile
11-6-22 下午05时18分10秒: Missing artifact msv:msv:jar:20020414:compile
11-6-22 下午05时18分10秒: Missing artifact
relaxngDatatype:relaxngDatatype:jar:20020414:compile
11-6-22 下午05时18分10秒: Missing artifact isorelax:isorelax:jar:20020414:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-digester:commons-digester:jar:1.6:compile
11-6-22 下午05时18分10秒: Missing artifact xerces:xercesImpl:jar:2.2.1:compile
11-6-22 下午05时18分10秒: Missing artifact xml-apis:xml-apis:jar:1.0.b2:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-beanutils:commons-beanutils-core:jar:1.7.0:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-beanutils:commons-beanutils-bean-collections:jar:1.7.0:compile
11-6-22 下午05时18分10秒: Missing artifact mx4j:mx4j-jmx:jar:2.1.1:compile
11-6-22 下午05时18分10秒: Missing artifact mx4j:mx4j-impl:jar:2.1.1:compile
11-6-22 下午05时18分10秒: Missing artifact
portlet-api:portlet-api:jar:1.0:provided
11-6-22 下午05时18分10秒: Missing artifact
org.aspectj:aspectjrt:jar:1.6.6:compile
11-6-22 下午05时18分10秒: Missing artifact
javax.servlet:servlet-api:jar:2.5:provided
11-6-22 下午05时18分10秒: Missing artifact
javax.portlet:portlet-api:jar:2.0:provided
11-6-22 下午05时18分10秒: Missing artifact javax.servlet:jstl:jar:1.2:compile
11-6-22 下午05时18分10秒: Missing artifact junit:junit:jar:4.7:test
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-core:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-asm:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-jdbc:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-beans:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-test:jar:3.0.2.RELEASE:test
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-context:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-expression:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-webmvc-portlet:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-web:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-webmvc:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-aop:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
aopalliance:aopalliance:jar:1.0:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-aspects:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-context-support:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-tx:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact org.hsqldb:hsqldb:jar:1.8.0.10:compile
11-6-22 下午05时18分10秒: Missing artifact
org.hibernate:hibernate-annotations:jar:3.3.1.GA:compile
11-6-22 下午05时18分10秒: Missing artifact
org.hibernate:hibernate:jar:3.2.6.ga:compile
11-6-22 下午05时18分10秒: Missing artifact
net.sf.ehcache:ehcache:jar:1.2.3:compile
11-6-22 下午05时18分10秒: Missing artifact asm:asm-attrs:jar:1.5.3:compile
11-6-22 下午05时18分10秒: Missing artifact antlr:antlr:jar:2.7.6:compile
11-6-22 下午05时18分10秒: Missing artifact cglib:cglib:jar:2.1_3:compile
11-6-22 下午05时18分10秒: Missing artifact asm:asm:jar:1.5.3:compile
11-6-22 下午05时18分10秒: Missing artifact
org.hibernate:hibernate-commons-annotations:jar:3.0.0.ga:compile
11-6-22 下午05时18分10秒: Missing artifact
org.hibernate:ejb3-persistence:jar:1.0.1.GA:compile
11-6-22 下午05时18分10秒: Missing artifact
org.springframework:spring-orm:jar:3.0.2.RELEASE:compile
11-6-22 下午05时18分10秒: Missing artifact
javax.transaction:transaction-api:jar:1.1:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-dbcp:commons-dbcp:jar:1.2.2:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-pool:commons-pool:jar:1.3:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-logging:commons-logging:jar:1.1:compile
11-6-22 下午05时18分10秒: Missing artifact logkit:logkit:jar:1.0.1:compile
11-6-22 下午05时18分10秒: Missing artifact
avalon-framework:avalon-framework:jar:4.1.3:compile
11-6-22 下午05时18分10秒: Missing artifact commons-io:commons-io:jar:1.3:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-fileupload:commons-fileupload:jar:1.2:compile
11-6-22 下午05时18分10秒: Missing artifact log4j:log4j:jar:1.2.14:compile
11-6-22 下午05时18分10秒: Missing artifact javax.mail:mail:jar:1.4:provided
11-6-22 下午05时18分10秒: Missing artifact
javax.activation:activation:jar:1.1:provided
11-6-22 下午05时18分10秒: Missing artifact xdoclet:xdoclet:jar:1.2.3:compile
11-6-22 下午05时18分10秒: Missing artifact
xdoclet:xdoclet-web-module:jar:1.2.3:compile
11-6-22 下午05时18分10秒: Missing artifact
commons-codec:commons-codec:jar:1.3:compile
11-6-22 下午05时18分10秒: Missing artifact
org.hibernate:hibernate-entitymanager:jar:3.4.0.GA:runtime
11-6-22 下午05时18分10秒: Missing artifact
org.hibernate:hibernate-core:jar:3.3.0.SP1:compile
11-6-22 下午05时18分10秒: Missing artifact javax.transaction:jta:jar:1.1:compile
11-6-22 下午05时18分10秒: Missing artifact javassist:javassist:jar:3.4.GA:runtime
11-6-22 下午05时18分10秒: Missing artifact
org.slf4j:slf4j-log4j12:jar:1.5.3:runtime
11-6-22 下午05时18分10秒: Missing artifact org.slf4j:slf4j-api:jar:1.5.3:compile
11-6-22 下午05时18分10秒: Missing artifact
mysql:mysql-connector-java:jar:5.1.13:test
11-6-22 下午05时18分10秒: Missing artifact
postgresql:postgresql:jar:8.4-701.jdbc4:compile
11-6-22 下午05时18分10秒: Missing artifact
javax.servlet.jsp:jsp-api:jar:2.2:provided
11-6-22 下午05时18分38秒: Maven Builder: FULL_BUILD requireFullBuild
11-6-22 下午05时18分38秒: [WARN]
11-6-22 下午05时18分38秒: [WARN] Some problems were encountered while building
the effective model for ixsystems:ixsystems-registration:war:1.0-SNAPSHOT
11-6-22 下午05时18分38秒: [WARN] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 285,
column 21
11-6-22 下午05时18分38秒: [WARN] The expression ${artifactId} is deprecated.
Please use ${project.artifactId} instead.
11-6-22 下午05时18分38秒: [WARN] The expression ${artifactId} is deprecated.
Please use ${project.artifactId} instead.
11-6-22 下午05时18分38秒: [WARN]
11-6-22 下午05时18分38秒: [WARN] It is highly recommended to fix these problems
because they threaten the stability of your build.
11-6-22 下午05时18分38秒: [WARN]
11-6-22 下午05时18分38秒: [WARN] For this reason, future Maven versions might no
longer support building such malformed projects.
11-6-22 下午05时18分38秒: [WARN]
11-6-22 下午05时18分40秒: Build errors for ixsystems-registration;
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal on project ixsystems-registration: Could not resolve dependencies for
project ixsystems:ixsystems-registration:war:1.0-SNAPSHOT: Failed to collect
dependencies for [easyconf:easyconf:jar:0.9.0 (compile),
com.liferay:util-java:jar:5.2.EESP4 (provided),
com.liferay:util-bridges:jar:5.2.EESP4 (provided),
com.liferay:portal-kernel:jar:5.2.EESP4 (provided),
com.liferay:portal-impl:jar:5.2.EESP4 (provided),
portlet-api:portlet-api:jar:1.0 (provided), org.aspectj:aspectjrt:jar:1.6.6
(compile), javax.servlet:servlet-api:jar:2.5 (provided),
javax.portlet:portlet-api:jar:2.0 (provided), javax.servlet:jstl:jar:1.2
(compile), junit:junit:jar:4.7 (test),
org.springframework:spring-core:jar:3.0.2.RELEASE (compile),
org.springframework:spring-jdbc:jar:3.0.2.RELEASE (compile),
org.springframework:spring-test:jar:3.0.2.RELEASE (test),
org.springframework:spring-context:jar:3.0.2.RELEASE (compile),
org.springframework:spring-webmvc-portlet:jar:3.0.2.RELEASE (compile),
org.springframework:spring-aop:jar:3.0.2.RELEASE (compile),
org.springframework:spring-aspects:jar:3.0.2.RELEASE (compile),
org.springframework:spring-tx:jar:3.0.2.RELEASE (compile),
org.hsqldb:hsqldb:jar:1.8.0.10 (compile),
org.hibernate:hibernate-annotations:jar:3.3.1.GA (compile),
org.springframework:spring-orm:jar:3.0.2.RELEASE (compile),
javax.transaction:transaction-api:jar:1.1 (compile),
commons-dbcp:commons-dbcp:jar:1.2.2 (compile),
commons-logging:commons-logging:jar:1.1 (compile),
commons-io:commons-io:jar:1.3 (compile),
commons-fileupload:commons-fileupload:jar:1.2 (compile),
log4j:log4j:jar:1.2.14 (compile), javax.mail:mail:jar:1.4 (provided),
com.liferay:portal-service:jar:5.2.EESP4 (provided),
xdoclet:xdoclet:jar:1.2.3 (compile), xdoclet:xdoclet-web-module:jar:1.2.3
(compile), commons-codec:commons-codec:jar:1.3 (compile),
org.hibernate:hibernate-entitymanager:jar:3.4.0.GA (runtime),
org.slf4j:slf4j-log4j12:jar:1.5.3 (runtime), org.slf4j:slf4j-api:jar:1.5.3
(compile), mysql:mysql-connector-java:jar:5.1.13 (test),
postgresql:postgresql:jar:8.4-701.jdbc4 (compile),
javax.servlet.jsp:jsp-api:jar:2.2 (provided)]

Here is my pom.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<project 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>ixsystems</groupId>
     <artifactId>ixsystems-registration</artifactId>
     <name>iXSystems Portal Products and Services Registration</name>
     <description>Product registration portlet for registered
users</description>
     <version>1.0-SNAPSHOT</version>
     <packaging>war</packaging>
     <pluginRepositories>
         <pluginRepository>
             <id>com.springsource.repository.bundles.release</id>
             <name>SpringSource Enterprise Bundle Repository -
                 SpringSource Bundle Releases</name>

<url>http://repository.springsource.com/maven/bundles/release</url>
         </pluginRepository>
         <pluginRepository>
             <id>com.springsource.repository.bundles.external</id>
             <name>SpringSource Enterprise Bundle Repository - External
                 Bundle Releases</name>

<url>http://repository.springsource.com/maven/bundles/external</url>
         </pluginRepository>
         <pluginRepository>
             <id>com.springsource.repository.bundles.milestone</id>
             <name>SpringSource Enterprise Bundle Repository - External
                 Bundle Milestones</name>

<url>http://repository.springsource.com/maven/bundles/milestone</url>
         </pluginRepository>
     </pluginRepositories>
     <properties>
         <servlet-api.version>2.5</servlet-api.version>
         <portlet-api.version>2.0</portlet-api.version>
         <jstl.version>1.1.2</jstl.version>
         <spring.version>3.0.5.RELEASE</spring.version>
         <aspectj.version>1.6.6</aspectj.version>
         <commons-logging.version>1.1</commons-logging.version>
         <commons-io.version>1.3</commons-io.version>
         <commons-fileupload.version>1.2</commons-fileupload.version>
         <log4j.version>1.2.14</log4j.version>

<liferay.home>${env.HOME}/ixsystems/msp/workspace/bundles</liferay.home>
         <catalina.base>${liferay.home}/tomcat</catalina.base>
         <liferay.deploy.dir>${liferay.home}/deploy</liferay.deploy.dir>
     </properties>
     <dependencies>
         <dependency>
             <groupId>easyconf</groupId>
             <artifactId>easyconf</artifactId>
             <version>0.9.0</version>
             <exclusions>
                 <exclusion>
                     <groupId>xdoclet</groupId>
                     <artifactId>xdoclet</artifactId>
                 </exclusion>
                 <exclusion>
                     <groupId>xdoclet</groupId>
                     <artifactId>xdoclet-web-module</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
         <dependency>
             <groupId>com.liferay</groupId>
             <artifactId>util-java</artifactId>
             <version>5.2.EESP4</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>com.liferay</groupId>
             <artifactId>util-bridges</artifactId>
             <version>5.2.EESP4</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>com.liferay</groupId>
             <artifactId>portal-kernel</artifactId>
             <version>5.2.EESP4</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>com.liferay</groupId>
             <artifactId>portal-impl</artifactId>
             <version>5.2.EESP4</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>portlet-api</groupId>
             <artifactId>portlet-api</artifactId>
             <version>1.0</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>org.aspectj</groupId>
             <artifactId>aspectjrt</artifactId>
             <version>${aspectj.version}</version>
         </dependency>
         <dependency>
             <groupId>javax.servlet</groupId>
             <artifactId>servlet-api</artifactId>
             <version>${servlet-api.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>javax.portlet</groupId>
             <artifactId>portlet-api</artifactId>
             <version>${portlet-api.version}</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>javax.servlet</groupId>
             <artifactId>jstl</artifactId>
             <version>1.2</version>
         </dependency>
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
             <version>4.7</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-core</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-test</artifactId>
             <version>${spring.version}</version>
             <scope>test</scope>
         </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-context</artifactId>
             <version>${spring.version}</version>
         </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-webmvc-portlet</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.hsqldb</groupId>
             <artifactId>hsqldb</artifactId>
             <version>1.8.0.10</version>
         </dependency>
         <dependency>
             <groupId>org.hibernate</groupId>
             <artifactId>hibernate-annotations</artifactId>
             <version>3.3.1.GA</version>
         </dependency>
         <dependency>
             <groupId>org.springframework</groupId>
             <artifactId>spring-orm</artifactId>
             <version>${spring.version}</version>
         </dependency>
         <dependency>
             <groupId>javax.transaction</groupId>
             <artifactId>transaction-api</artifactId>
             <version>1.1</version>
         </dependency>
         <dependency>
             <groupId>commons-dbcp</groupId>
             <artifactId>commons-dbcp</artifactId>
             <version>1.2.2</version>
         </dependency>
         <dependency>
             <groupId>commons-logging</groupId>
             <artifactId>commons-logging</artifactId>
             <version>${commons-logging.version}</version>
         </dependency>
         <dependency>
             <groupId>commons-io</groupId>
             <artifactId>commons-io</artifactId>
             <version>${commons-io.version}</version>
         </dependency>
         <dependency>
             <groupId>commons-fileupload</groupId>
             <artifactId>commons-fileupload</artifactId>
             <version>${commons-fileupload.version}</version>
         </dependency>
         <dependency>
             <groupId>log4j</groupId>
             <artifactId>log4j</artifactId>
             <version>${log4j.version}</version>
         </dependency>
         <dependency>
             <groupId>javax.mail</groupId>
             <artifactId>mail</artifactId>
             <version>1.4</version>
             <type>jar</type>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>com.liferay</groupId>
             <artifactId>portal-service</artifactId>
             <version>5.2.EESP4</version>
             <type>jar</type>
             <scope>provided</scope>
         </dependency>
         <dependency>
             <groupId>xdoclet</groupId>
             <artifactId>xdoclet</artifactId>
             <version>1.2.3</version>
             <type>jar</type>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>xdoclet</groupId>
             <artifactId>xdoclet-web-module</artifactId>
             <version>1.2.3</version>
             <type>jar</type>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>commons-codec</groupId>
             <artifactId>commons-codec</artifactId>
             <version>1.3</version>
             <type>jar</type>
             <scope>compile</scope>
         </dependency>

         <dependency>
                <groupId>org.hibernate</groupId>
                <artifactId>hibernate-entitymanager</artifactId>
                <version>3.4.0.GA</version>
                <type>jar</type>
                <scope>runtime</scope>
         </dependency>
         <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-log4j12</artifactId>
                <version>1.5.3</version>
                <type>jar</type>
                <scope>runtime</scope>
         </dependency>
         <dependency>
                <groupId>org.slf4j</groupId>
                <artifactId>slf4j-api</artifactId>
                <version>1.5.3</version>
                <type>jar</type>
                <scope>compile</scope>
         </dependency>
         <dependency>
                <groupId>mysql</groupId>
                <artifactId>mysql-connector-java</artifactId>
                <version>5.1.13</version>
                <type>jar</type>
                <scope>test</scope>
         </dependency>
         <dependency>
                        <groupId>postgresql</groupId>
                        <artifactId>postgresql</artifactId>
                        <version>8.4-701.jdbc4</version>
                </dependency>
         <dependency>
                <groupId>javax.servlet.jsp</groupId>
                <artifactId>jsp-api</artifactId>
                <version>2.2</version>
                <type>jar</type>
                <scope>provided</scope>
         </dependency>
     </dependencies>
     <build>
         <finalName>${project.artifactId}</finalName>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <configuration>
                     <source>1.5</source>
                     <target>1.5</target>
                 </configuration>
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
                 <version>2.5</version>
                 <configuration>
                     <workingDirectory>src/main/webapp</workingDirectory>
                     <systemPropertyVariables>
                         <catalina.base>${catalina.base}</catalina.base>
                     </systemPropertyVariables>
                 </configuration>
             </plugin>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>aspectj-maven-plugin</artifactId>
                 <version>1.0</version>
                 <dependencies>
                     <dependency>
                         <groupId>org.aspectj</groupId>
                         <artifactId>aspectjrt</artifactId>
                         <version>${aspectj.version}</version>
                     </dependency>
                     <dependency>
                         <groupId>org.aspectj</groupId>
                         <artifactId>aspectjtools</artifactId>
                         <version>${aspectj.version}</version>
                     </dependency>
                 </dependencies>
                 <executions>
                     <execution>
                         <goals>
                             <goal>compile</goal>
                             <goal>test-compile</goal>
                         </goals>
                     </execution>
                 </executions>
                 <configuration>
                     <outxml>true</outxml>
                     <aspectLibraries>
                         <aspectLibrary>
                             <groupId>org.springframework</groupId>
                             <artifactId>spring-aspects</artifactId>
                         </aspectLibrary>
                     </aspectLibraries>
                     <source>1.6</source>
                     <target>1.6</target>
                 </configuration>
             </plugin>
             <plugin>
                 <artifactId>maven-antrun-plugin</artifactId>
                 <executions>
                     <execution>
                         <phase>package</phase>
                         <goals>
                             <goal>run</goal>
                         </goals>
                         <configuration>
                             <tasks>
                                 <copy

file="${project.build.directory}/${artifactId}.war"

tofile="${liferay.deploy.dir}/${artifactId}.war"></copy>
                             </tasks>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
         </plugins>
     </build>
     <reporting>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-report-plugin</artifactId>
                 <version>2.5</version>
             </plugin>
         </plugins>
     </reporting>
</project>



--
View this message in context: 
http://maven.40175.n5.nabble.com/Can-t-resolve-libraries-tp4513191p4513191.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to