<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/java/tags/maven2</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 02 Dec 2008 02:42:31 GMT</pubDate>
<item>
<title>(Java) spring-runbean standalone app setup: pom.xml, beans.xml, assembly.xml - thebugslayer</title>
<link>http://snipplr.com/view/3810/springrunbean-standalone-app-setup-pomxml-beansxml-assemblyxml/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 01 Oct 2007 08:50:04 GMT</pubDate>
<guid>http://snipplr.com/view/3810/springrunbean-standalone-app-setup-pomxml-beansxml-assemblyxml/</guid>
</item>
<item>
<title>(Java) Using a internal maven2 repository settings.xml - thebugslayer</title>
<link>http://snipplr.com/view/3787/using-a-internal-maven2-repository-settingsxml/</link>
<description><![CDATA[ <p>Setup artifactory application in a internal network that act as proxy. Then in your $HOME/.m2 directory, add the following file.

For deploying to repos, add this to pom.xml
...
        
		
			cnx.release.repo
			Connextions Repository for Maven2
			http://firebird:8081/artifactory/cnx-releases
		
		
			cnx.snapshots.repo
			Connextions Repository for Maven2
			http://firebird:8081/artifactory/cnx-snapshots
		
	
...
run: maven deploy -DrepositoryId=cnx.snapshots.repo</p> ]]></description>
<pubDate>Wed, 26 Sep 2007 07:07:07 GMT</pubDate>
<guid>http://snipplr.com/view/3787/using-a-internal-maven2-repository-settingsxml/</guid>
</item>
<item>
<title>(Java) Maven2 pom.xml for a webapp that works in Eclipse Europa+m2eclipse - thebugslayer</title>
<link>http://snipplr.com/view/3774/maven2-pomxml-for-a-webapp-that-works-in-eclipse-europam2eclipse/</link>
<description><![CDATA[ <p>1. mvn archetype:create -DgroupId=deng -DartifactId=mywebapp -DarchetypeArtifactId=maven-archetype-webapp
2. Replace web.xml with http://snipplr.com/view/3800/minimal-webxml-webapp-descriptor-version-24
3. Replace pom.xml in this snipplet.
4. mvn eclipse:m2eclipse -Dwtpversion=1.5
5. Import project into Eclipse
6. In project properties > Java Build Path. Add a "Server Runtime" Library ( with Tomcat6)
7. In project properties > J2EE Module Dependencies. Check Maven2Dependencies
8. Project > Clean

If you re-importing a project back into Eclipse, be sure to:
1. Delete your existing project in eclipse
2. mvn clean eclipse:clean
3. Repeat steps 4-8 above.</p> ]]></description>
<pubDate>Mon, 24 Sep 2007 15:07:34 GMT</pubDate>
<guid>http://snipplr.com/view/3774/maven2-pomxml-for-a-webapp-that-works-in-eclipse-europam2eclipse/</guid>
</item>
<item>
<title>(Java) Maven2 pom.xml for HibernateJPA+Mysql+HibernateTools - thebugslayer</title>
<link>http://snipplr.com/view/3767/maven2-pomxml-for-hibernatejpamysqlhibernatetools/</link>
<description><![CDATA[ <p>Make sure you compile before rnning hibernate3:hbm2ddl!

mvn compile hibernate3:hbm2ddl</p> ]]></description>
<pubDate>Sun, 23 Sep 2007 20:11:22 GMT</pubDate>
<guid>http://snipplr.com/view/3767/maven2-pomxml-for-hibernatejpamysqlhibernatetools/</guid>
</item>
<item>
<title>(Java) Basic Manev2 pom.xml - thebugslayer</title>
<link>http://snipplr.com/view/3766/basic-manev2-pomxml/</link>
<description><![CDATA[ <p>mvn archetype:create -DgroupId=deng -DartifactId=mysimpleapp
mvn eclipse:m2eclipse</p> ]]></description>
<pubDate>Sun, 23 Sep 2007 17:44:38 GMT</pubDate>
<guid>http://snipplr.com/view/3766/basic-manev2-pomxml/</guid>
</item>
</channel>
</rss>