The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
portal-impl-5.2.8.jar.lastUpdated
portal-impl-5.2.8.pom.lastUpdated
_maven.repositories
portal-impl-5.2.8.jar.lastUpdated
portal-impl-5.2.8.pom
sam@sam-PC /cygdrive/c/ixsystems-registration
$ 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] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.399s
[INFO] Finished at: Tue Jun 28 16:01:43 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.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, com.liferay.portal:portal-service: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
Peter Johnson wrote:Looking at the error:
[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, com.liferay.portal:portal-service: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]
It looks like the listed artifacts are still not in either your local repository or in Nexus. Open your browser and loot at http://localhost:8081/nexus/content/groups/public/, then see if you can go to com/liferay/portal (final URL will be http://localhost:8081/nexus/content/groups/public/com/liferay/portal). You should have a directory for each artifact there.
By the way, in the future do not post these lengthy console outputs. Instead, redirect them to a file and attach the file. Right now this thread is pretty much unreadable. I edited the last post for you to do this, it would help if you did the same for the others.
Joel Salatin has signs on his property that say "Trespassers will be Impressed!" Impressive tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|