if you run mvn -X and post the log somewhere I can take a look. Also, check if you are using different maven versions.
On 2/13/07, John E. Conlon <[EMAIL PROTECTED]> wrote:
Stuart McCulloch wrote: > I saw something similar on a colleague's machine (WinXP, using Maven > inside cygwin) - he was unable to build Spring-OSGi even after > removing repository, clean settings.xml, etc. while the same checkout > built fine on my machine (Linux) These repos can be set in several places. One of the overlooked places is in the pom.xml of the failing project. So suggestion (#4) is to look into the pom.xml of the Maven OSGi Plugin project that is failing. Try commenting out the <pluginRepositories> of that pom.xml. Those are the repos it is trying in the out > > Eventually I zipped up the Maven plugin folder from my repo and copied > it into his, at which point the build worked! That is cheating! But if you don't mind cheating you can try just manually downloading and installing the maven-resources-plugin in your repo. > > My guess is it's snapshot related - possibly a problem when you mix > snapshots and releases from the same plugin repository? > > On 13/02/07, Richard S. Hall <[EMAIL PROTECTED]> wrote: >> >> Strange. Especially since I deleted my maven repo to test it. Any >> suggestions, anyone? >> >> -> richard >> >> -----Original Message----- >> >> From: Tim Moloney <[EMAIL PROTECTED]> >> Subj: Re: Building the Felix trunk >> Date: Tue 13. Feb 2007 7:36 >> Size: 1K >> To: felix-dev@incubator.apache.org >> >> Not for me, unfortunately. >> >> Building Maven OSGi Plugin >> [...] >> Reason: Error getting POM for >> 'org.apache.maven.plugins:maven-resource-plugin' from the repository: >> Failed to resolve artifact, possibly due to a repository list that is >> not appropriately equipped for this artifact's metadata. >> org.apache.maven.plugins:maven-resources-plugin:pom:2.3-SNAPSHOT >> from the specified remote repositories: >> apache.snapshots >> (http://people.apache.org/repo/m2-snapshot-repository), >> snapshots (http://snapshots.maven.codehaus.org/maven2) >> central (http://repo1.maven.org/maven2) >> >> After getting a fresh checkout, I ran 'ant' in the trunk directory. I >> tried again after deleting ~/.m2/repository but got the same results. >> >> Tim >> >> >> Richard S. Hall wrote: >> > Steven E. Harris wrote: >> >> "Steven E. Harris" <[EMAIL PROTECTED]> writes: >> >> >> >> >> >>> This may be related to the "repository" elements not specifying >> >>> whether each repository offers snapshots or releases (I just tried >> >>> adding these specifications, but the problem persists) >> >>> >> >> >> >> Adding the following elements to the pluginRepository elements fixes >> >> the problem: >> >> >> >> <releases> >> >> <enabled>false</enabled> >> >> </releases> >> >> <snapshots> >> >> <enabled>true</enabled> >> >> </snapshots> >> >> >> >> The point being: Don't look for released plugins in the Apache >> >> snapshot repository. >> >> >> > >> > Ok, cool. I have made this mod to the pom file...hopefully this >> > updated version will now work for everyone...it worked for me. >> > >> > Thanks. >> > >> > -> richard >> > >> >> >> > >
-- I could give you my word as a Spaniard. No good. I've known too many Spaniards. -- The Princess Bride