[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [m2e-users] How To SovleTwo Errors
|
According to the error message from your original email, your system
appears to be configured to resolve maven dependencies from
http://localhost:8081/nexus/content/groups/public . Check if you have
mirrorOf in your user settings.xml file.
--
Regards,
Igor
On 12-03-25 6:52 PM, Martin Wolff Alonso wrote:
Hi Igor,
Sorry I am a newbie in many things, one of them is maven and STS . I was
recommended to use this combination as I am experimenting with Spring, I
always used Netbeans and the embedded ant builder.
I have the following error in my pom.xml (at the top of the file in STS):
Multiple annotations found at this line:
- No plugin found for prefix 'war' in the current project and in the
plugin groups [] available from the repositories [local (C:
\Users\duodinamico\.m2\repository), central
(http://repo1.maven.org/maven2)]
- The repository system is offline but the artifact
org.apache.maven.plugins:maven-resources-plugin:pom:2.5 is not
available in the local repository.
Here is my first part of my pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.martinwa</groupId>
<artifactId>LabQ</artifactId>
<name>LabQ</name>
<packaging>war</packaging>
<version>1.0.0-BUILD-SNAPSHOT</version>
<properties>
<java-version>1.6</java-version>
<org.springframework-version>3.0.6.RELEASE</org.springframework-version>
<org.aspectj-version>1.6.9</org.aspectj-version>
<org.slf4j-version>1.5.10</org.slf4j-version>
</properties>
<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Maven Snapshot Repository</name>
<url>http://people.apache.org/repo/m2-snapshot-repository</url>
</repository>
</repositories>
<dependencies>
If needed I can attach the entire pom.xml?
Even though my project works, I really appreciate your help to
understand what's wrong,
Thanks,
Martin.
--------------------------------------------------
From: "Igor Fedorenko" <igor@xxxxxxxxxxxxxx>
Sent: Sunday, March 25, 2012 2:02 PM
To: "Maven Integration for Eclipse users mailing list"
<m2e-users@xxxxxxxxxxx>; <m2e-users@xxxxxxxxxxx>
Subject: Re: [m2e-users] How To SovleTwo Errors
m2e was not able to resolve maven war plugin from your local nexus,
but I can't tell much more from the info you provided.
--
Sent from my SGS
Martin Wolff Alonso <martin.wolff@xxxxxxxxxxxxx> wrote:
Hi everyone,
I do not see an answer to the message I am copying below from the
mailing list. I am having the same problem after a STS upgrade.
My project is working fine, but I have those errors in my pom.xml which
I do not understand, and do not know how to get rid of them.
After the upgrade I also had to delete all my local repository and
download all dependencies again, as the No class found exception was
poping up for all dependencies!!
Thank to all for the help you can give me.
Martin.
-----------------------------------------------------------------------------------------------------------------------
Vernon wrote:
The following error messages show up on my Eclipse(STS) when I open the
pom.xml file. They happen after Eclipse was upgraded. Why and how to
resolve them?
Multiple annotations found at this line:
- Failure to find
org.apache.maven.plugins:maven-war-plugin:pom:2.3.2 in
http://localhost:8081/nexus/content/groups/public was cached in
the
local repository, resolution will not be reattempted until the
update interval of nexus has elapsed or updates are forced
- No plugin found for prefix 'war' in the current project and in
the plugin groups [] available from the repositories [local
(C:\Documents and Settings
\mine\.m2\repository), nexus
(http://localhost:8081/nexus/content/groups/public)]
Thanks,
Vernon
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users