<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Maven FAQ and code snippets for beginners</title>
	<atom:link href="http://www.vineetmanohar.com/2009/07/maven-faq-and-code-snippets-for-beginners/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vineetmanohar.com/2009/07/maven-faq-and-code-snippets-for-beginners/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=maven-faq-and-code-snippets-for-beginners</link>
	<description>Java, Web 2.0 and other Tech topics</description>
	<lastBuildDate>Thu, 09 Feb 2012 08:01:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ashok</title>
		<link>http://www.vineetmanohar.com/2009/07/maven-faq-and-code-snippets-for-beginners/comment-page-1/#comment-85213</link>
		<dc:creator>Ashok</dc:creator>
		<pubDate>Thu, 09 Feb 2012 08:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.vineetmanohar.com/?p=207#comment-85213</guid>
		<description>Hi Vineet,

My requirement is to use Maven repository for the Enterprise Software ( What I mention on enterprise software @
http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/) .

Can i use Nexus Open source for this purpose?

I have followed the steps in your blog, but  the build get failed with the below output when using Nexus maven repository.

no revision recorded for https://BPSW00138316.apac.net.intra/svn/SPOCRepo/trunk/TestMavenRep in the previous build
[SimpleTest] $ C:\DevTools\MavenAnt\IC\maven\bin\mvn.bat -f C:\workspace\TestMavenRep\pom.xml clean install -B sonar:sonar
[INFO] Scanning for projects...
Downloading: http://localhost:8081/nexus/content/groups/public/org/apache/maven/plugins/maven-site-plugin/2.0.1/maven-site-plugin-2.0.1.pom
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:2.0.1: Plugin org.apache.maven.plugins:maven-site-plugin:2.0.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:2.0.1

The setting.xml information is given below..


	
		
			true
			http
			*****
			*****
			******
			******
			localhost &#124; 127.0.0.1
		
	
	
		
			nexus
			deployment
			deployment
		
		
			nexus-snapshots
			deployment
			deployment
		
	
	C:/DevTools/MavenAnt/IC/maven/conf/nexusrepository
	
		
			nexus-public-snapshots
			public-snapshots-bnpp
			 http://localhost:8081/nexus/content/groups/public-snapshots
		
		
			&lt;!--This sends everything else to /public --&gt;
			nexus
			*
			http://localhost:8081/nexus/content/groups/public
		
	
	
		
			nexus
			&lt;!--Enable snapshots for the built in central repo to direct --&gt;
			&lt;!--all requests to nexus via the mirror --&gt;
			
				
					central
					http://localhost:8081/nexus/content/groups/publicl
					
						true
					
					
						true
					
				
			
			
				
					central
					http://localhost:8081/nexus/content/groups/public
					
						true
					
					
						true
					
				
			
		
		
			public-snapshots
			
				
					public-snapshots-bnpp
					http://localhost:8081/nexus/content/groups/public-snapshots
					
						false
					
					
						true
						always
					
				
			
			
				
					public-snapshots-bnpp
					http://localhost:8081/nexus/content/groups/public-snapshots
					
						false
					
					
						true
						always
					
				
			
		
	
	
		&lt;!--make the profile active all the time --&gt;
		nexus
	


Any recommandation on this? FYI.. The build is successfull by using the local repository.

Regards,
Ashok</description>
		<content:encoded><![CDATA[<p>Hi Vineet,</p>
<p>My requirement is to use Maven repository for the Enterprise Software ( What I mention on enterprise software @<br />
<a href="http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/" rel="nofollow">http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/</a>) .</p>
<p>Can i use Nexus Open source for this purpose?</p>
<p>I have followed the steps in your blog, but  the build get failed with the below output when using Nexus maven repository.</p>
<p>no revision recorded for <a href="https://BPSW00138316.apac.net.intra/svn/SPOCRepo/trunk/TestMavenRep" rel="nofollow">https://BPSW00138316.apac.net.intra/svn/SPOCRepo/trunk/TestMavenRep</a> in the previous build<br />
[SimpleTest] $ C:\DevTools\MavenAnt\IC\maven\bin\mvn.bat -f C:\workspace\TestMavenRep\pom.xml clean install -B sonar:sonar<br />
[INFO] Scanning for projects&#8230;<br />
Downloading: <a href="http://localhost:8081/nexus/content/groups/public/org/apache/maven/plugins/maven-site-plugin/2.0.1/maven-site-plugin-2.0.1.pom" rel="nofollow">http://localhost:8081/nexus/content/groups/public/org/apache/maven/plugins/maven-site-plugin/2.0.1/maven-site-plugin-2.0.1.pom</a><br />
[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:maven-site-plugin:2.0.1: Plugin org.apache.maven.plugins:maven-site-plugin:2.0.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-site-plugin:jar:2.0.1</p>
<p>The setting.xml information is given below..</p>
<p>			true<br />
			http<br />
			*****<br />
			*****<br />
			******<br />
			******<br />
			localhost | 127.0.0.1</p>
<p>			nexus<br />
			deployment<br />
			deployment</p>
<p>			nexus-snapshots<br />
			deployment<br />
			deployment</p>
<p>	C:/DevTools/MavenAnt/IC/maven/conf/nexusrepository</p>
<p>			nexus-public-snapshots<br />
			public-snapshots-bnpp<br />
			 <a href="http://localhost:8081/nexus/content/groups/public-snapshots" rel="nofollow">http://localhost:8081/nexus/content/groups/public-snapshots</a></p>
<p>			<!--This sends everything else to /public --><br />
			nexus<br />
			*<br />
			<a href="http://localhost:8081/nexus/content/groups/public" rel="nofollow">http://localhost:8081/nexus/content/groups/public</a></p>
<p>			nexus<br />
			<!--Enable snapshots for the built in central repo to direct --><br />
			<!--all requests to nexus via the mirror --></p>
<p>					central<br />
					<a href="http://localhost:8081/nexus/content/groups/publicl" rel="nofollow">http://localhost:8081/nexus/content/groups/publicl</a></p>
<p>						true</p>
<p>						true</p>
<p>					central<br />
					<a href="http://localhost:8081/nexus/content/groups/public" rel="nofollow">http://localhost:8081/nexus/content/groups/public</a></p>
<p>						true</p>
<p>						true</p>
<p>			public-snapshots</p>
<p>					public-snapshots-bnpp<br />
					<a href="http://localhost:8081/nexus/content/groups/public-snapshots" rel="nofollow">http://localhost:8081/nexus/content/groups/public-snapshots</a></p>
<p>						false</p>
<p>						true<br />
						always</p>
<p>					public-snapshots-bnpp<br />
					<a href="http://localhost:8081/nexus/content/groups/public-snapshots" rel="nofollow">http://localhost:8081/nexus/content/groups/public-snapshots</a></p>
<p>						false</p>
<p>						true<br />
						always</p>
<p>		<!--make the profile active all the time --><br />
		nexus</p>
<p>Any recommandation on this? FYI.. The build is successfull by using the local repository.</p>
<p>Regards,<br />
Ashok</p>
]]></content:encoded>
	</item>
</channel>
</rss>

