On Mon, 29 Aug 2005, Kahn, Peter wrote: Replace 'releases' with 'snapshots' and 'false' with 'true'.. :)
-- Kenney > Thanks for the information. I realize that I'm requesting a snapshot, I > do not know why it is that I am as I do not see anything in my > settings.xml or my local repository that would indicate this dependency. > > In addition, it looks like according to the xsd that the use of the > element releases is not allowed: > http://maven.apache.org/maven-v4_0_0.xsd > > m2 gives me this error > [INFO] > ------------------------------------------------------------------------ > ---- > [INFO] Reason: Failed to parse model from file > 'c:\sandbox\BaseCamp\m2mhttp\Ftp\pom.xml'. > Error: 'parser must be on START_TAG or TEXT to read text > (position: START_TAG seen ...</url>\n<releases><enabled>... @59:20) ' > > -----Original Message----- > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > Sent: Monday, August 29, 2005 4:42 PM > To: Maven Users List > Subject: Re: m2, scm:update & subversion > > maven-scm-plugin doesn't exist in ibiblio because it's a snapshot. > > If you want to use it, you need to use our snapshot plugins > repositories. Add this in your pom : > > <pluginRepositories> > <pluginRepository> > <id>snapshots-plugins</id> > <name>Maven Snapshot Plugins Development Repository</name> > <url>http://snapshots.maven.codehaus.org/maven2/plugins</url> > <releases> > <enabled>false</enabled> > </releases> > </pluginRepository> > </pluginRepositories> > > > Emmanuel > > Kahn, Peter wrote: > > I have a simple project that I'm trying to get build under continuum, > > but I seem to have and issue with scm:update which is stopping me. > > > > I have the following in my pom.xml > > <scm> > > > > <connection>scm:svn:http://svn/svn/basecamp/SplitTop/m2main/Ftp</conne > > ct > > ion> > > <url>http://svn/svn/basecamp/SplitTop/m2main/Ftp</url> > > </scm> > > > > > > When I ask for the scm:update goal to be attained, I get the following > > response: > > [WARNING] Unable to get resource from repository > > http://www.ibiblio.org/maven2/plugins/ > > Downloading: > > http://repo1.maven.org/maven2/plugins/org/apache/maven/plugins/maven-s > > cm > > -plugin/1.0-alpha-2-SNAPSHOT/maven-scm-plugin-1.0-alpha-2-SNAPSHOT.jar > > [WARNING] Unable to get resource from repository > > http://repo1.maven.org/maven2/plugins > > FATAL ERROR: Error executing Maven for a project > > > > > > I added in ibiblio a repository, and now I get an additional error: > > [INFO] maven-scm-plugin: resolved to version 1.0-alpha-2-SNAPSHOT from > > > local repository > > Downloading: > > http://www.ibiblio.org/maven2/plugins//org/apache/maven/plugins/maven- > > sc > > m-plugin/1.0-alpha-2-SNAPSHOT/maven-scm-plugin-1.0-alpha-2-SNAPSHOT.ja > > r > > > > > > > > I have searched my local repository and it lacks the jar files for the > > > 1.0-alpha-2-SNAPSHOT. I gather people have been using m2 with scms, > > so has any one run into this problem or does any one have any > > suggestions on how to investigate or remedy the problem? > > > > Thanks for the help. > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
