You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by samwun <le...@gmail.com> on 2011/06/22 09:24:36 UTC

Can't resolve libraries.

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Can't resolve libraries.

Posted by Martin Gainty <mg...@hotmail.com>.
please read this brief description of mirrors:
<!-- mirrors
   | This is a list of mirrors to be used in downloading artifacts from remote repositories.
   | It works like this: a POM may declare a repository to use in resolving certain artifacts.
   | However, this repository may have problems with heavy traffic at times, so people have mirrored
   | it to several places.
   |
   | That repository definition will have a unique id, so we can create a mirror reference for that
   | repository, to be used as an alternate download site. The mirror site will be the preferred 
   | server for that repository.
   |-->
  <mirrors>
    <!-- mirror
     | Specifies a repository mirror site to use instead of a given repository. The repository that
     | this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
     | for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
     |
    -->
  </mirror>

Martin --


 


> Date: Wed, 22 Jun 2011 20:48:35 +0930
> Subject: Re: Can't resolve libraries.
> From: baerrach@gmail.com
> To: users@maven.apache.org
> 
> On Wed, Jun 22, 2011 at 8:20 PM, samwun <le...@gmail.com> wrote:
> > Thank you very much for othe suggestion
> > I have removed the error in $MAVEN_HOME/conf/settings.xml.
> > Here is the error:
> >
> >
> >
> >> $ mvn compile war:war
> >> [WARNING]
> >> [WARNING] Some problems were encountered while building the effective
> >> settings
> >> [WARNING] 'mirrors.mirror.id' must not be 'local', this identifier is
> >> reserved for the local repository, using it for other repositories will
> >> corrupt your repository metadata. @ C:\Users\sam\.m2\settings.xml
> 
> What about this error?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
 		 	   		  

Re: Can't resolve libraries.

Posted by Wayne Fay <wa...@gmail.com>.
> http://localhost:8081/nexus/content/groups/public/ was cached in the local
> repository, resolution will not be reattempted until the update interval of
> central has elapsed or updates are forced -> [Help 1]

Try mvn -U to force Maven to check for updates in your repo.

Wayne

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


Re: Can't resolve libraries.

Posted by samsam9988 <sa...@ixsystems.com.au>.
Hello,

I have uploaded liferay portal jar files to Sonatype using Artifacts Upload.
When I execute command "mvn compile war:war", it stiill can't find the
liferay files I uploaded.
Here is the error:

[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.063s
[INFO] Finished at: Fri Jun 24 14:17:44 EST 2011
[INFO] Final Memory: 5M/88M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ixsystems-registration: Could not
resolve dependencies for project
ixsystems:ixsystems-registration:war:1.0-SNAPSHOT: The following artifacts
could not be resolved: com.liferay.portal:util-java:jar:5.2.8,
com.liferay.portal:util-bridges:jar:5.2.8,
com.liferay.portal:portal-kernel:jar:5.2.8,
com.liferay.portal:portal-impl:jar:5.2.8: Failure to find
com.liferay.portal:util-java:jar:5.2.8 in
http://localhost:8081/nexus/content/groups/public/ was cached in the local
repository, resolution will not be reattempted until the update interval of
central has elapsed or updates are forced -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException


I also attached a snapshot image of the uploaded file index structure from
Nexus.

Thanks
Sam
http://maven.40175.n5.nabble.com/file/n4519902/nexus-sonatype.png
nexus-sonatype.png 

--
View this message in context: http://maven.40175.n5.nabble.com/Can-t-resolve-libraries-tp4513191p4519902.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


Re: Can't resolve libraries.

Posted by Wayne Fay <wa...@gmail.com>.
> Thank you for the suggestion.
> Do you know where I can find a tutorial for uploading third party libraries
> to Sonatype/Nexus?

These are all great questions for the Nexus Users list. Please ask them there.

Since it appears you are using Nabble, here is that link:
http://maven.40175.n5.nabble.com/Nexus-Maven-Repository-Manager-Users-List-f127899.html

Wayne

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


Re: Can't resolve libraries.

Posted by samwun <le...@gmail.com>.
Thank you for the suggestion.
Do you know where I can find a tutorial for uploading third party libraries
to Sonatype/Nexus?
The problems now are:
1. I don't know exactly how to configure Sonatype/Nexus for upload
third-party libraries to the local repositories. I login as admin /
admin123, so I assumed I have permission to upload file to NExus/Sonatype,
but I don't see any option allow me to do that.

2. How to setup/configure settings.xml to use the third-party libraries
which are hosted in local Nexus.

Thanks & best regards
Sam

--
View this message in context: http://maven.40175.n5.nabble.com/Can-t-resolve-libraries-tp4513191p4517476.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


Re: Can't resolve libraries.

Posted by samwun <le...@gmail.com>.
Hi, thank you for your patient for answering my question.

I tried to use 6.0.6 because I found that Maven central has liferay 6.0.6
libraries, I want to make sure my path to the repositories is right, so I
want to try out 6.0.6, and it mostly works by changing the com.liferay to
com.liferay.portal. But there still 2 jar files are missing there:

11-6-23 上午08时52分43秒: Refreshing [/ixsystems-registration/pom.xml]
11-6-23 上午08时52分50秒: Downloading
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-java/6.0.6/util-java-6.0.6.pom
11-6-23 上午08时52分50秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-java/6.0.6/util-java-6.0.6.pom
11-6-23 上午08时52分52秒: Downloading
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-bridges/6.0.6/util-bridges-6.0.6.pom
11-6-23 上午08时52分52秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-bridges/6.0.6/util-bridges-6.0.6.pom
11-6-23 上午08时53分03秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-kernel/6.0.6/portal-kernel-6.0.6.pom
11-6-23 上午08时53分03秒: [WARN] The POM for
com.liferay.portal:portal-kernel:jar:6.0.6 is missing, no dependency
information available
11-6-23 上午08时53分04秒: Downloading
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-impl/6.0.6/portal-impl-6.0.6.pom
11-6-23 上午08时53分04秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-impl/6.0.6/portal-impl-6.0.6.pom
11-6-23 上午08时53分09秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-kernel/6.0.6/portal-kernel-6.0.6.jar
11-6-23 上午08时53分19秒: Downloading
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-bridges/6.0.6/util-bridges-6.0.6.jar
11-6-23 上午08时53分19秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-bridges/6.0.6/util-bridges-6.0.6.jar
11-6-23 上午08时54分04秒: Downloading
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-java/6.0.6/util-java-6.0.6.jar
11-6-23 上午08时54分04秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-java/6.0.6/util-java-6.0.6.jar
11-6-23 上午08时54分06秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-impl/6.0.6/portal-impl-6.0.6.jar
11-6-23 上午08时54分07秒: Missing artifact
com.liferay.portal:portal-kernel:jar:6.0.6:provided
11-6-23 上午08时54分07秒: Missing artifact
com.liferay.portal:portal-impl:jar:6.0.6:provided

liferay 5.2.8 is not in Maven Central. 5.2.8 is liferay EE version, Perhaps
Maven Central doesn't haven EE version of libraries. The 6.0.6 is only for
Community version of liferay.

When I change back to 5.2.8, I got the same error:


11-6-23 上午08时55分14秒: Refreshing [/ixsystems-registration/pom.xml]
11-6-23 上午08时55分25秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-java/5.2.8/util-java-5.2.8.pom
11-6-23 上午08时55分25秒: [WARN] The POM for
com.liferay.portal:util-java:jar:5.2.8 is missing, no dependency information
available
11-6-23 上午08时55分29秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-bridges/5.2.8/util-bridges-5.2.8.pom
11-6-23 上午08时55分29秒: [WARN] The POM for
com.liferay.portal:util-bridges:jar:5.2.8 is missing, no dependency
information available
11-6-23 上午08时55分32秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-kernel/5.2.8/portal-kernel-5.2.8.pom
11-6-23 上午08时55分32秒: [WARN] The POM for
com.liferay.portal:portal-kernel:jar:5.2.8 is missing, no dependency
information available
11-6-23 上午08时55分35秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-impl/5.2.8/portal-impl-5.2.8.pom
11-6-23 上午08时55分35秒: [WARN] The POM for
com.liferay.portal:portal-impl:jar:5.2.8 is missing, no dependency
information available
11-6-23 上午08时55分37秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-java/5.2.8/util-java-5.2.8.jar
11-6-23 上午08时55分38秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-impl/5.2.8/portal-impl-5.2.8.jar
11-6-23 上午08时55分41秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/util-bridges/5.2.8/util-bridges-5.2.8.jar
11-6-23 上午08时55分41秒: Downloaded
http://localhost:8081/nexus/content/groups/public/com/liferay/portal/portal-kernel/5.2.8/portal-kernel-5.2.8.jar
11-6-23 上午08时55分41秒: Missing artifact
com.liferay.portal:util-java:jar:5.2.8:provided
11-6-23 上午08时55分41秒: Missing artifact
com.liferay.portal:util-bridges:jar:5.2.8:provided
11-6-23 上午08时55分41秒: Missing artifact
com.liferay.portal:portal-kernel:jar:5.2.8:provided
11-6-23 上午08时55分41秒: Missing artifact
com.liferay.portal:portal-impl:jar:5.2.8:provided
11-6-23 上午08时55分42秒: Maven Builder: AUTO_BUILD 


Thanks
Sam

--
View this message in context: http://maven.40175.n5.nabble.com/Can-t-resolve-libraries-tp4513191p4515796.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


Re: Can't resolve libraries.

Posted by Barrie Treloar <ba...@gmail.com>.
On Thu, Jun 23, 2011 at 8:34 AM, samwun <le...@gmail.com> wrote:
> However, I have my local liferay libraries files for 5.2.8, how can I
> "deploy" to Nexus local repositories?
>
> eg. here is the path of 5.2.8 portal-kernel I have created in my local nexus
> server:
>
> C:\Nexus\sonatype-work\nexus\storage\liferay-ee-sp4\com\liferay\portal-kernel\5.2.8
>
> How to make this path valid to be used by pom.xml?

If you have purchased the EE versions of liferay then you can manually
install them into your nexus repository.

Central will only contain Open Source (or free) libraries.

Talk to you Nexus administrator or read up on the docs.
Installing individual jars is as easy as uploading them to the Nexus
repository - you should have a separate repository location for third
party jars
You will need
* Deployment rights to upload the file
* The correct groupId, artifactId, version for each file (I would
follow the 6.0.6 example of
groupId = com.liferay.portal
artifactId = from the jar
version = 5.2.8

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


Re: Can't resolve libraries.

Posted by samwun <le...@gmail.com>.
However, I have my local liferay libraries files for 5.2.8, how can I
"deploy" to Nexus local repositories?

eg. here is the path of 5.2.8 portal-kernel I have created in my local nexus
server:

C:\Nexus\sonatype-work\nexus\storage\liferay-ee-sp4\com\liferay\portal-kernel\5.2.8

How to make this path valid to be used by pom.xml? 

Thanks
Sam

--
View this message in context: http://maven.40175.n5.nabble.com/Can-t-resolve-libraries-tp4513191p4515805.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


Re: Can't resolve libraries.

Posted by Barrie Treloar <ba...@gmail.com>.
On Thu, Jun 23, 2011 at 12:09 AM, Larry Shatzer, Jr. <la...@gmail.com> wrote:
[del]
>>> could not be resolved: com.liferay:util-java:jar:6.0.6,
>>> com.liferay:util-bridges:jar:6.0.6, com.liferay:portal-kernel:jar:6.0.6,
>>> com.liferay:portal-impl:jar:6.0.6: Failure to find
>>> com.liferay:util-java:jar:6.0.6 in
>
> The groupId is still wrong. com.liferay.portal not just com.liferay
>
> http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.liferay.portal%22

I assume that liferay 5.2.8 is your local instance version so you want
to stick with that unless you plan to upgrade everything...
So have you thought about why you are now using version 6.0.6?

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


Re: Can't resolve libraries.

Posted by "Larry Shatzer, Jr." <la...@gmail.com>.
On Wed, Jun 22, 2011 at 8:09 AM, samwun <le...@gmail.com> wrote:
> Thank you for the suggestion.
>
> I have removed my own liferay repositories definition in the pom.xml file,
> and changed liferay.version to 6.0.6.
>
> But it still cant find liferay 6.0.6
> Here is the error:
>
>
>> could not be resolved: com.liferay:util-java:jar:6.0.6,
>> com.liferay:util-bridges:jar:6.0.6, com.liferay:portal-kernel:jar:6.0.6,
>> com.liferay:portal-impl:jar:6.0.6: Failure to find
>> com.liferay:util-java:jar:6.0.6 in

The groupId is still wrong. com.liferay.portal not just com.liferay

http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.liferay.portal%22

-- Larry

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


Re: Can't resolve libraries.

Posted by samwun <le...@gmail.com>.
Thank you for the suggestion.

I have removed my own liferay repositories definition in the pom.xml file,
and changed liferay.version to 6.0.6.

But it still cant find liferay 6.0.6
Here is the error:


> $ mvn compile war:war
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective
> model for ixsystems:ixsystems-registration:war:1.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 286,
> column 21
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING] 
> [INFO]                                                                         
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building iXSystems Portal Products and Services Registration
> 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for com.liferay:util-java:jar:6.0.6 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:util-bridges:jar:6.0.6 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:portal-kernel:jar:6.0.6 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:portal-impl:jar:6.0.6 is missing, no
> dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1.318s
> [INFO] Finished at: Thu Jun 23 00:05:54 EST 2011
> [INFO] Final Memory: 5M/88M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project ixsystems-registration: Could
> not resolve dependencies for project
> ixsystems:ixsystems-registration:war:1.0-SNAPSHOT: The following artifacts
> could not be resolved: com.liferay:util-java:jar:6.0.6,
> com.liferay:util-bridges:jar:6.0.6, com.liferay:portal-kernel:jar:6.0.6,
> com.liferay:portal-impl:jar:6.0.6: Failure to find
> com.liferay:util-java:jar:6.0.6 in
> http://localhost:8081/nexus/content/groups/public/ was cached in the local
> repository, resolution will not be reattempted until the update interval
> of central has elapsed or updates are forced -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>  

Nexus thrown some exceptions as well:



> jvm 1    | 2011-06-22 23:29:25 INFO  [pool-1-thread-2] -
> org.sonatype.nexus.feeds.DefaultFeedRecorder - Updating repository group
> index "Liferay EE SP4 Local" from path null and below. : Process started
> on Wed Jun 22 23:29:21 EST 2011, finished successfully on Wed Jun 22
> 23:29:25 EST 2011
> jvm 1    | 2011-06-23 00:03:29 ERROR [tp-512243268-45] -
> org.sonatype.nexus.proxy.maven.maven2.M2Repository - Got Storage Exception
> while storing remote artifact, will attempt next mirror, cause:
> org.sonatype.nexus.proxy.RemoteStorageException: The method execution
> returned result code 502. [repositoryId="google",
> requestPath="/com/liferay/util-bridges/6.0.6/util-bridges-6.0.6.pom",
> remoteUrl="http://google-maven-repository.googlecode.com/svn/repository/com/liferay/util-bridges/6.0.6/util-bridges-6.0.6.pom"]
> jvm 1    | 2011-06-23 00:03:47 ERROR [tp-512243268-45] -
> org.sonatype.nexus.proxy.maven.maven2.M2Repository - Got Storage Exception
> while storing remote artifact, will attempt next mirror, cause:
> org.sonatype.nexus.proxy.RemoteStorageException: The method execution
> returned result code 502. [repositoryId="google",
> requestPath="/com/liferay/portal-kernel/6.0.6/portal-kernel-6.0.6.pom",
> remoteUrl="http://google-maven-repository.googlecode.com/svn/repository/com/liferay/portal-kernel/6.0.6/portal-kernel-6.0.6.pom"]
> jvm 1    | 2011-06-23 00:04:01 ERROR [tp-512243268-45] -
> org.sonatype.nexus.proxy.maven.maven2.M2Repository - Got Storage Exception
> while storing remote artifact, will attempt next mirror, cause:
> org.sonatype.nexus.proxy.RemoteStorageException: The method execution
> returned result code 502. [repositoryId="google",
> requestPath="/com/liferay/portal-kernel/6.0.6/portal-kernel-6.0.6.pom",
> remoteUrl="http://google-maven-repository.googlecode.com/svn/repository/com/liferay/portal-kernel/6.0.6/portal-kernel-6.0.6.pom"]
> 
> 

Thanks
Sam

--
View this message in context: http://maven.40175.n5.nabble.com/Can-t-resolve-libraries-tp4513191p4514189.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


Re: Can't resolve libraries.

Posted by Barrie Treloar <ba...@gmail.com>.
On Wed, Jun 22, 2011 at 9:17 PM, samwun <le...@gmail.com> wrote:
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project ixsystems-registration: Could
>> not resolve dependencies for project
>> ixsystems:ixsystems-registration:war:1.0-SNAPSHOT: The following artifacts
>> could not be resolved: com.liferay:util-java:jar:5.2.8,
>> com.liferay:util-bridges:jar:5.2.8, com.liferay:portal-kernel:jar:5.2.8,
>> com.liferay:portal-impl:jar:5.2.8: Failure to find
>> com.liferay:util-java:jar:5.2.8 in

How did you work out the groupId:artifactId:versionId?

You can't just make these up.

Did you search for it?
http://search.maven.org/#search|ga|1|liferay
e.g.
com.liferay.portal	portal-impl	6.0.6  more (5)

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


Re: Can't resolve libraries.

Posted by samwun <le...@gmail.com>.
Thank you for another suggestion.
I have also remove "local" definition in the settings.xml and  now it has
downloaded some more files before hitting another errors.



> $ mvn compile war:war
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective
> model for ixsystems:ixsystems-registration:war:1.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 293,
> column 21
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING] 
> ....
> ...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 13.474s
> [INFO] Finished at: Wed Jun 22 21:38:41 EST 2011
> [INFO] Final Memory: 5M/87M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project ixsystems-registration: Could
> not resolve dependencies for project
> ixsystems:ixsystems-registration:war:1.0-SNAPSHOT: The following artifacts
> could not be resolved: com.liferay:util-java:jar:5.2.8,
> com.liferay:util-bridges:jar:5.2.8, com.liferay:portal-kernel:jar:5.2.8,
> com.liferay:portal-impl:jar:5.2.8: Failure to find
> com.liferay:util-java:jar:5.2.8 in
> http://localhost:8081/nexus/content/groups/public/ was cached in the local
> repository, resolution will not be reattempted until the update interval
> of central has elapsed or updates are forced -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> 
> 

I guess there i s no liferay 5.2.8 files in the remote repositories.

Thanks.
Sam 

--
View this message in context: http://maven.40175.n5.nabble.com/Can-t-resolve-libraries-tp4513191p4513753.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


Re: Can't resolve libraries.

Posted by Barrie Treloar <ba...@gmail.com>.
On Wed, Jun 22, 2011 at 8:20 PM, samwun <le...@gmail.com> wrote:
> Thank you very much for othe suggestion
> I have removed the error in $MAVEN_HOME/conf/settings.xml.
> Here is the error:
>
>
>
>> $ mvn compile war:war
>> [WARNING]
>> [WARNING] Some problems were encountered while building the effective
>> settings
>> [WARNING] 'mirrors.mirror.id' must not be 'local', this identifier is
>> reserved for the local repository, using it for other repositories will
>> corrupt your repository metadata. @ C:\Users\sam\.m2\settings.xml

What about this error?

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


Re: Can't resolve libraries.

Posted by samwun <le...@gmail.com>.
Thank you very much for othe suggestion
I have removed the error in $MAVEN_HOME/conf/settings.xml.
Here is the error:



> $ mvn compile war:war
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective
> settings
> [WARNING] 'mirrors.mirror.id' must not be 'local', this identifier is
> reserved for the local repository, using it for other repositories will
> corrupt your repository metadata. @ C:\Users\sam\.m2\settings.xml
> [WARNING] 
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective
> model for ixsystems:ixsystems-registration:war:1.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 293,
> column 21
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING] 
> [INFO]                                                                         
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building iXSystems Portal Products and Services Registration
> 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for com.liferay:util-java:jar:5.2.8 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:util-bridges:jar:5.2.8 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:portal-kernel:jar:5.2.8 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:portal-impl:jar:5.2.8 is missing, no
> dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 5.426s
> [INFO] Finished at: Wed Jun 22 20:48:16 EST 2011
> [INFO] Final Memory: 5M/88M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project ixsystems-registration: Could
> not resolve dependencies for project
> ixsystems:ixsystems-registration:war:1.0-SNAPSHOT: The following artifacts
> could not be resolved: com.liferay:util-java:jar:5.2.8,
> com.liferay:util-bridges:jar:5.2.8, com.liferay:portal-kernel:jar:5.2.8,
> com.liferay:portal-impl:jar:5.2.8: Failure to find
> com.liferay:util-java:jar:5.2.8 in
> http://localhost:8081/nexus/content/groups/public was cached in the local
> repository, resolution will not be reattempted until the update interval
> of local has elapsed or updates are forced -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> 
> 

Thanks
Sam

--
View this message in context: http://maven.40175.n5.nabble.com/Can-t-resolve-libraries-tp4513191p4513627.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


Re: Can't resolve libraries.

Posted by Barrie Treloar <ba...@gmail.com>.
On Wed, Jun 22, 2011 at 7:35 PM, samwun <le...@gmail.com> wrote:
> Hi,
>
> Thank you very much for your suggestion.
> Now I somehow manage to reduce the the errors to 5 jar files.
> The error is:
>
>
>
>> sam@sam-PC /cygdrive/c/ixsystems-registration
>> $ mvn compile war:war
>> [WARNING]
>> [WARNING] Some problems were encountered while building the effective
>> settings
>> [WARNING] Unrecognised tag: 'repositories' (position: START_TAG seen
>> ...</profile>\r\n    -->\r\n\t\r\n\t<repositories>... @248:16)  @
>> C:\apache-maven-3.0.3\conf\settings.xml, line 248, column 16
>> [WARNING] 'mirrors.mirror.id' must not be 'local', this identifier is
>> reserved for the local repository, using it for other repositories will
>> corrupt your repository metadata. @ C:\Users\sam\.m2\settings.xml
>> [WARNING]
>> [INFO] Scanning for projects...

Did you fix the errors listed above in c$MAVEN_HOME/conf/settings.xml?
p.s you should not be touching this file

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


Re: Can't resolve libraries.

Posted by samwun <le...@gmail.com>.
Hi,

Thank you very much for your suggestion.
Now I somehow manage to reduce the the errors to 5 jar files.
The error is:



> sam@sam-PC /cygdrive/c/ixsystems-registration
> $ mvn compile war:war
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective
> settings
> [WARNING] Unrecognised tag: 'repositories' (position: START_TAG seen
> ...</profile>\r\n    -->\r\n\t\r\n\t<repositories>... @248:16)  @
> C:\apache-maven-3.0.3\conf\settings.xml, line 248, column 16
> [WARNING] 'mirrors.mirror.id' must not be 'local', this identifier is
> reserved for the local repository, using it for other repositories will
> corrupt your repository metadata. @ C:\Users\sam\.m2\settings.xml
> [WARNING] 
> [INFO] Scanning for projects...
> [WARNING] 
> [WARNING] Some problems were encountered while building the effective
> model for ixsystems:ixsystems-registration:war:1.0-SNAPSHOT
> [WARNING] 'build.plugins.plugin.version' for
> org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 293,
> column 21
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] The expression ${artifactId} is deprecated. Please use
> ${project.artifactId} instead.
> [WARNING] 
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING] 
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING] 
> [INFO]                                                                         
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building iXSystems Portal Products and Services Registration
> 1.0-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] The POM for com.liferay:util-java:jar:5.2.8 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:util-bridges:jar:5.2.8 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:portal-kernel:jar:5.2.8 is missing, no
> dependency information available
> [WARNING] The POM for com.liferay:portal-impl:jar:5.2.8 is missing, no
> dependency information available
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1.559s
> [INFO] Finished at: Wed Jun 22 19:50:35 EST 2011
> [INFO] Final Memory: 4M/55M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project ixsystems-registration: Could
> not resolve dependencies for project
> ixsystems:ixsystems-registration:war:1.0-SNAPSHOT: The following artifacts
> could not be resolved: com.liferay:util-java:jar:5.2.8,
> com.liferay:util-bridges:jar:5.2.8, com.liferay:portal-kernel:jar:5.2.8,
> com.liferay:portal-impl:jar:5.2.8: Failure to find
> com.liferay:util-java:jar:5.2.8 in
> http://localhost:8081/nexus/content/groups/public was cached in the local
> repository, resolution will not be reattempted until the update interval
> of local has elapsed or updates are forced -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
> 
> 

I have created Remote URL: http://oss.sonatype.org/content/groups/public/ in
Nexus.
I don't understand why mvn/nexus doesn't fetch the jar files from Remote
URL: http://oss.sonatype.org/content/groups/public/

Here  is my nexus.xml configuration file:



> <?xml version="1.0" encoding="UTF-8"?>
> <nexusConfiguration>
>   <version>1.4.5</version>
>   <globalConnectionSettings>
>     <connectionTimeout>20000</connectionTimeout>
>     <retrievalRetryCount>3</retrievalRetryCount>
>     <queryString></queryString>
>   </globalConnectionSettings>
>   <restApi>
>     <uiTimeout>60000</uiTimeout>
>   </restApi>
>   <httpProxy>
>     <enabled>true</enabled>
>     <port>8082</port>
>     <proxyPolicy>strict</proxyPolicy>
>   </httpProxy>
>   <routing>
>     <resolveLinks>true</resolveLinks>
>   </routing>
>   <repositories>
>     <repository>
>       <id>central</id>
>       <name>Maven Central</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>READ_ONLY</writePolicy>
>       <indexable>true</indexable>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <remoteStorage>
>         <provider>apacheHttpClient3x</provider>
>         <url>http://repo1.maven.org/maven2/</url>
>       </remoteStorage>
>       <externalConfiguration>
>         <proxyMode>ALLOW</proxyMode>
>         <artifactMaxAge>-1</artifactMaxAge>
>         <itemMaxAge>1440</itemMaxAge>
>         <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
>         <downloadRemoteIndex>true</downloadRemoteIndex>
>         <checksumPolicy>WARN</checksumPolicy>
>         <repositoryPolicy>RELEASE</repositoryPolicy>
>         <autoBlockActive>true</autoBlockActive>
>         <fileTypeValidation>false</fileTypeValidation>
>         <metadataMaxAge>1440</metadataMaxAge>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>google</id>
>       <name>Google Code</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>READ_ONLY</writePolicy>
>       <indexable>true</indexable>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <remoteStorage>
>         <provider>apacheHttpClient3x</provider>
>        
> <url>http://google-maven-repository.googlecode.com/svn/repository/</url>
>       </remoteStorage>
>       <externalConfiguration>
>         <proxyMode>ALLOW</proxyMode>
>         <artifactMaxAge>-1</artifactMaxAge>
>         <itemMaxAge>1440</itemMaxAge>
>         <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
>         <downloadRemoteIndex>true</downloadRemoteIndex>
>         <checksumPolicy>WARN</checksumPolicy>
>         <repositoryPolicy>RELEASE</repositoryPolicy>
>         <autoBlockActive>true</autoBlockActive>
>         <fileTypeValidation>false</fileTypeValidation>
>         <metadataMaxAge>1440</metadataMaxAge>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>java.net-m2</id>
>       <name>java.net - Maven 2</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>READ_ONLY</writePolicy>
>       <indexable>true</indexable>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <remoteStorage>
>         <provider>apacheHttpClient3x</provider>
>         <url>http://download.java.net/maven/2/</url>
>       </remoteStorage>
>       <externalConfiguration>
>         <proxyMode>ALLOW</proxyMode>
>         <artifactMaxAge>-1</artifactMaxAge>
>         <itemMaxAge>1440</itemMaxAge>
>         <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
>         <downloadRemoteIndex>true</downloadRemoteIndex>
>         <checksumPolicy>WARN</checksumPolicy>
>         <repositoryPolicy>RELEASE</repositoryPolicy>
>         <autoBlockActive>true</autoBlockActive>
>         <fileTypeValidation>false</fileTypeValidation>
>         <metadataMaxAge>1440</metadataMaxAge>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>java.net-m1</id>
>       <name>java.net-m1</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven1</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>READ_ONLY</writePolicy>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <remoteStorage>
>         <provider>apacheHttpClient3x</provider>
>         <url>http://download.java.net/maven/1/</url>
>       </remoteStorage>
>       <externalConfiguration>
>         <repositoryPolicy>RELEASE</repositoryPolicy>
>         <checksumPolicy>WARN</checksumPolicy>
>         <downloadRemoteIndex>true</downloadRemoteIndex>
>         <artifactMaxAge>-1</artifactMaxAge>
>         <metadataMaxAge>1440</metadataMaxAge>
>         <autoBlockActive>true</autoBlockActive>
>         <fileTypeValidation>false</fileTypeValidation>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>apache-snapshots</id>
>       <name>Apache Snapshots</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>READ_ONLY</writePolicy>
>       <indexable>true</indexable>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <remoteStorage>
>         <provider>apacheHttpClient3x</provider>
>         <url>http://repository.apache.org/snapshots/</url>
>       </remoteStorage>
>       <externalConfiguration>
>         <proxyMode>ALLOW</proxyMode>
>         <artifactMaxAge>1440</artifactMaxAge>
>         <itemMaxAge>1440</itemMaxAge>
>         <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
>         <downloadRemoteIndex>true</downloadRemoteIndex>
>         <checksumPolicy>WARN</checksumPolicy>
>         <repositoryPolicy>SNAPSHOT</repositoryPolicy>
>         <autoBlockActive>true</autoBlockActive>
>         <fileTypeValidation>false</fileTypeValidation>
>         <metadataMaxAge>1440</metadataMaxAge>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>codehaus-snapshots</id>
>       <name>Codehaus Snapshots</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>READ_ONLY</writePolicy>
>       <indexable>true</indexable>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <remoteStorage>
>         <provider>apacheHttpClient3x</provider>
>         <url>http://nexus.codehaus.org/snapshots/</url>
>       </remoteStorage>
>       <externalConfiguration>
>         <proxyMode>ALLOW</proxyMode>
>         <artifactMaxAge>1440</artifactMaxAge>
>         <itemMaxAge>1440</itemMaxAge>
>         <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
>         <downloadRemoteIndex>true</downloadRemoteIndex>
>         <checksumPolicy>WARN</checksumPolicy>
>         <repositoryPolicy>SNAPSHOT</repositoryPolicy>
>         <autoBlockActive>true</autoBlockActive>
>         <fileTypeValidation>false</fileTypeValidation>
>         <metadataMaxAge>1440</metadataMaxAge>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>releases</id>
>       <name>Releases</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>ALLOW_WRITE_ONCE</writePolicy>
>       <indexable>true</indexable>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <externalConfiguration>
>         <proxyMode>ALLOW</proxyMode>
>         <artifactMaxAge>-1</artifactMaxAge>
>         <itemMaxAge>1440</itemMaxAge>
>         <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
>         <downloadRemoteIndex>false</downloadRemoteIndex>
>         <checksumPolicy>WARN</checksumPolicy>
>         <repositoryPolicy>RELEASE</repositoryPolicy>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>snapshots</id>
>       <name>Snapshots</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>ALLOW_WRITE</writePolicy>
>       <indexable>true</indexable>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <externalConfiguration>
>         <proxyMode>ALLOW</proxyMode>
>         <artifactMaxAge>1440</artifactMaxAge>
>         <itemMaxAge>1440</itemMaxAge>
>         <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
>         <downloadRemoteIndex>false</downloadRemoteIndex>
>         <checksumPolicy>WARN</checksumPolicy>
>         <repositoryPolicy>SNAPSHOT</repositoryPolicy>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>thirdparty</id>
>       <name>3rd party</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>ALLOW_WRITE_ONCE</writePolicy>
>       <indexable>true</indexable>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <externalConfiguration>
>         <proxyMode>ALLOW</proxyMode>
>         <artifactMaxAge>-1</artifactMaxAge>
>         <itemMaxAge>1440</itemMaxAge>
>         <cleanseRepositoryMetadata>false</cleanseRepositoryMetadata>
>         <downloadRemoteIndex>false</downloadRemoteIndex>
>         <checksumPolicy>WARN</checksumPolicy>
>         <repositoryPolicy>RELEASE</repositoryPolicy>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>central-m1</id>
>       <name>Central M1 shadow</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.ShadowRepository</providerRole>
>       <providerHint>m2-m1-shadow</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheTTL>15</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>READ_ONLY</writePolicy>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <externalConfiguration>
>         <masterRepositoryId>central</masterRepositoryId>
>         <syncAtStartup>false</syncAtStartup>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>java.net-m1-m2</id>
>       <name>java.net-m1 M2 shadow</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.ShadowRepository</providerRole>
>       <providerHint>m1-m2-shadow</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>15</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>READ_ONLY</writePolicy>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <externalConfiguration>
>         <masterRepositoryId>java.net-m1</masterRepositoryId>
>         <synchronizeAtStartup>false</synchronizeAtStartup>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>public</id>
>       <name>Public Repositories</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.GroupRepository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>15</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>READ_ONLY</writePolicy>
>       <indexable>true</indexable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <externalConfiguration>
>         <mergeMetadata>true</mergeMetadata>
>         <memberRepositories>
>           <memberRepository>releases</memberRepository>
>           <memberRepository>snapshots</memberRepository>
>           <memberRepository>thirdparty</memberRepository>
>           <memberRepository>central</memberRepository>
>           <memberRepository>java.net-m2</memberRepository>
>           <memberRepository>java.net-m1-m2</memberRepository>
>           <memberRepository>google</memberRepository>
>           <memberRepository>apache-snapshots</memberRepository>
>           <memberRepository>codehaus-snapshots</memberRepository>
>         </memberRepositories>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>SunMavenRepo</id>
>       <name>Sun Maven Repository</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>READ_ONLY</writePolicy>
>       <indexable>true</indexable>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <remoteStorage>
>         <provider>apacheHttpClient3x</provider>
>         <url>http://download.java.net/maven/2/</url>
>       </remoteStorage>
>       <externalConfiguration>
>         <repositoryPolicy>RELEASE</repositoryPolicy>
>         <checksumPolicy>WARN</checksumPolicy>
>         <fileTypeValidation>false</fileTypeValidation>
>         <downloadRemoteIndex>true</downloadRemoteIndex>
>         <artifactMaxAge>-1</artifactMaxAge>
>         <metadataMaxAge>1440</metadataMaxAge>
>         <autoBlockActive>true</autoBlockActive>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>liferay-ce-releases</id>
>       <name>Liferay CE Release Repository</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>ALLOW_WRITE_ONCE</writePolicy>
>       <indexable>true</indexable>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <externalConfiguration>
>         <repositoryPolicy>RELEASE</repositoryPolicy>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>liferay-ce-snapshots</id>
>       <name>Liferay CE Snapshot Repository</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>ALLOW_WRITE</writePolicy>
>       <indexable>true</indexable>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <externalConfiguration>
>         <repositoryPolicy>SNAPSHOT</repositoryPolicy>
>       </externalConfiguration>
>     </repository>
>     <repository>
>       <id>liferay-ee-repository</id>
>       <name>Liferay EE repository</name>
>      
> <providerRole>org.sonatype.nexus.proxy.repository.Repository</providerRole>
>       <providerHint>maven2</providerHint>
>       <localStatus>IN_SERVICE</localStatus>
>       <notFoundCacheActive>true</notFoundCacheActive>
>       <notFoundCacheTTL>1440</notFoundCacheTTL>
>       <userManaged>true</userManaged>
>       <exposed>true</exposed>
>       <browseable>true</browseable>
>       <writePolicy>READ_ONLY</writePolicy>
>       <indexable>true</indexable>
>       <searchable>true</searchable>
>       <localStorage>
>         <provider>file</provider>
>       </localStorage>
>       <remoteStorage>
>         <provider>apacheHttpClient3x</provider>
>         <url>http://oss.sonatype.org/content/groups/public/</url>
>       </remoteStorage>
>       <externalConfiguration>
>         <repositoryPolicy>RELEASE</repositoryPolicy>
>         <checksumPolicy>WARN</checksumPolicy>
>         <fileTypeValidation>false</fileTypeValidation>
>         <downloadRemoteIndex>true</downloadRemoteIndex>
>         <artifactMaxAge>-1</artifactMaxAge>
>         <metadataMaxAge>1440</metadataMaxAge>
>         <autoBlockActive>true</autoBlockActive>
>       </externalConfiguration>
>     </repository>
>   </repositories>
>   <repositoryGrouping>
>     <pathMappings>
>       <pathMapping>
>         <id>inhouse-stuff</id>
>         <groupId>*</groupId>
>         <routeType>inclusive</routeType>
>         <routePatterns>
>           <routePattern>.*/(com|org)/somecompany/.*</routePattern>
>         </routePatterns>
>         <repositories>
>           <repository>snapshots</repository>
>           <repository>releases</repository>
>         </repositories>
>       </pathMapping>
>       <pathMapping>
>         <id>apache-stuff</id>
>         <groupId>*</groupId>
>         <routeType>exclusive</routeType>
>         <routePatterns>
>           <routePattern>.*/org/some-oss/.*</routePattern>
>         </routePatterns>
>         <repositories>
>           <repository>releases</repository>
>           <repository>snapshots</repository>
>         </repositories>
>       </pathMapping>
>     </pathMappings>
>   </repositoryGrouping>
>   <repositoryTargets>
>     <repositoryTarget>
>       <id>1</id>
>       <name>All (Maven2)</name>
>       <contentClass>maven2</contentClass>
>       <patterns>
>         <pattern>.*</pattern>
>       </patterns>
>     </repositoryTarget>
>     <repositoryTarget>
>       <id>2</id>
>       <name>All (Maven1)</name>
>       <contentClass>maven1</contentClass>
>       <patterns>
>         <pattern>.*</pattern>
>       </patterns>
>     </repositoryTarget>
>     <repositoryTarget>
>       <id>3</id>
>       <name>All but sources (Maven2)</name>
>       <contentClass>maven2</contentClass>
>       <patterns>
>         <pattern>(?!.*-sources.*).*</pattern>
>       </patterns>
>     </repositoryTarget>
>     <repositoryTarget>
>       <id>4</id>
>       <name>All Metadata (Maven2)</name>
>       <contentClass>maven2</contentClass>
>       <patterns>
>         <pattern>.*maven-metadata\.xml.*</pattern>
>       </patterns>
>     </repositoryTarget>
>     <repositoryTarget>
>       <id>any</id>
>       <name>All (Any Repository)</name>
>       <contentClass>any</contentClass>
>       <patterns>
>         <pattern>.*</pattern>
>       </patterns>
>     </repositoryTarget>
>   </repositoryTargets>
>   <smtpConfiguration>
>     <hostname>smtp-host</hostname>
>     <port>25</port>
>     <username>smtp-username</username>
>     <password>{Q/piHxo66oUH44N215KTc1Ca4Sg5dq+z0C/yLREqM24=}</password>
>     <systemEmailAddress>system@nexus.org</systemEmailAddress>
>   </smtpConfiguration>
>   <errorReporting>
>     <jiraUrl>https://issues.sonatype.org</jiraUrl>
>     <jiraProject>PR</jiraProject>
>   </errorReporting>
>   <notification />
> </nexusConfiguration>
> 
> 


--
View this message in context: http://maven.40175.n5.nabble.com/Can-t-resolve-libraries-tp4513191p4513541.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


Re: Can't resolve libraries.

Posted by Guillaume Polet <gu...@gmail.com>.
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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


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