<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>maven-plugin &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/maven-plugin/</link>
	<description>Feed of posts on WordPress.com tagged "maven-plugin"</description>
	<pubDate>Tue, 14 Oct 2008 09:04:18 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Maven + Eclipse + Spring]]></title>
<link>http://ahoehma.wordpress.com/?p=16</link>
<pubDate>Wed, 16 Apr 2008 10:34:02 +0000</pubDate>
<dc:creator>Andreas Höhmann</dc:creator>
<guid>http://ahoehma.de.wordpress.com/2008/04/16/maven-eclipse-spring/</guid>
<description><![CDATA[Today i show how you can easily develop a Mavenproject with Spring-Beans
in your Eclipse-IDE. You ha]]></description>
<content:encoded><![CDATA[<p>Today i show how you can easily develop a Mavenproject with Spring-Beans<br />
in your Eclipse-IDE. You have to add a new plugin to your pom's<br />
plugins-section:</p>
<p>[sourcecode language='xml']</p>
<p>...</p>
<p><build></p>
<plugins>
<plugin>
        <artifactId>maven-eclipse-plugin</artifactId><br />
        <version>2.5.1</version><br />
        <configuration></p>
<projectNameTemplate>[artifactId]</projectNameTemplate>
          <downloadSources>true</downloadSources><br />
          <downloadJavadocs>true</downloadJavadocs><br />
          <wtpmanifest>true</wtpmanifest><br />
          <wtpapplicationxml>true</wtpapplicationxml><br />
          <wtpversion>2.0</wtpversion><br />
          <manifest>${basedir}/src/main/resources/META-INF/MANIFEST.MF</manifest><br />
          <additionalProjectnatures></p>
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
          </additionalProjectnatures><br />
          <additionalBuildcommands><br />
            <buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand><br />
          </additionalBuildcommands><br />
          <additionalConfig><br />
            <file><br />
              <name>.springBeans</name><br />
              <content><br />
                <![CDATA[<?xml version="1.0" encoding="UTF-8"?><br />
<beansProjectDescription><br />
  <configExtensions><br />
    <configExtension>xml</configExtension><br />
  </configExtensions><br />
  <configs><br />
    <config>src/main/resource/services.xml</config><br />
    <config>src/main/resource/datasource.xml</config><br />
  </configs><br />
  <configSets><br />
    <configSet><br />
      <name>core</name><br />
      <allowBeanDefinitionOverriding>true</allowBeanDefinitionOverriding><br />
      <incomplete>false</incomplete><br />
      <configs><br />
       <config>src/main/resource/services.xml</config><br />
       <config>src/main/resource/datasource.xml</config><br />
      </configs><br />
    </configSet><br />
  </configSets><br />
</beansProjectDescription>]]><br />
              </content><br />
            </file><br />
            <file><br />
              <name>.settings/org.springframework.ide.eclipse.core.prefs</name><br />
              <content><br />
                <![CDATA[<?xml version="1.0" encoding="UTF-8"?><br />
eclipse.preferences.version=1<br />
org.springframework.ide.eclipse.core.builders.enable.aopreferencemodelbuilder=true<br />
org.springframework.ide.eclipse.core.enable.project.preferences=true<br />
org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.enable.org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanAlias-org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanClass-org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanConstructorArgument-org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinition-org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanDefinitionHolder-org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanFactory-org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanInitDestroyMethod-org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.beanReference-org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.methodOverride-org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.parsingProblems-org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.beans.core.requiredProperty-org.springframework.ide.eclipse.beans.core.beansvalidator=true<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.action-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.actionstate-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attribute-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.attributemapper-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.beanaction-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationaction-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.evaluationresult-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.exceptionhandler-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.import-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.inputattribute-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.mapping-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.outputattribute-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.set-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.state-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.subflowstate-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.transition-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.variable-org.springframework.ide.eclipse.webflow.core.validator=false<br />
org.springframework.ide.eclipse.core.validator.rule.enable.org.springframework.ide.eclipse.webflow.core.validation.webflowstate-org.springframework.ide.eclipse.webflow.core.validator=false<br />
]]><br />
              </content><br />
            </file><br />
          </additionalConfig><br />
        </configuration>
      </plugin>
    </plugins>
  </build><br />
...<br />
[/sourcecode]</p>
<p>Then you can run <strong>mvn eclipse:clean eclipse:eclipse</strong> (eclipse:clean is not required).  The eclipse-plugin will create/change the <em>.springBean</em> and the <em>.settings/org.springframework.ide.eclipse.core.prefs. </em> Then you can refresh the eclipse-project (F5) from now the project contains a Spring-Builder  which will handle the defined spring-configuration-files services.xml and datasource.xml.  If you have more Springfiles you have to change the plugin-configuration.</p>
]]></content:encoded>
</item>

</channel>
</rss>
