1.
use: mvn archetype:generate
then select quick start or 106
2.
convert the package into eclipse project.
3.
create a /src/main/resources folder - the maven will put this data to classes
4. pom.xml
4.8.2
20040902.021138
1.1.1
20040616
2.2
1.1
1.0.1
1.2.0_rc2-dev
3.6.4.Final
3.0.5.RELEASE
2.1.2
1.3.1
1.0.0.GA
20030825.184428
20030825.183949
4.1.0.Beta1
JBoss Repo
https://repository.jboss.org/nexus/content/repositories/releases
JBoss Repo
junit
${junit.version}
test
org.hibernate
${hibernate.version}
org.hibernate
${hibernate.version}
org.springframework
${spring.version}
org.springframework
${spring.version}
org.springframework
${spring.version}
org.springframework
${spring.version}
org.springframework
${spring.version}
org.springframework
${spring.version}
org.apache.sling
org.apache.sling.commons.log ${org.apache.sling.commons.log.version}
org.hsqldb
2.0.0
test
org.aspectj
${aspectjrt.version}
javax.validation
${validation-api.version}
commons-dbcp
${commons-dbcp.version}
org.springframework
${spring.version}
commons-pool
${commons-pool.version}
org.hibernate
hibernate-validator-annotation-processor ${hibernate-validator-annotation-processor.version}
org.codehaus.mojo
${org.codehaus.mojo.version}
compile
test-compile
1.6
UTF-8
org.springframework
org.apache.maven.plugins
2.1-beta-1
org.apache.maven.plugins
2.1
1.6
1.6
org.apache.maven.plugins
2.4.2
UTF-8
org.apache.maven.plugins
2.2-beta-5
jar-with-dependencies
org.apache.maven.plugins
2.5
org.codehaus.mojo
1.0
org.apache.maven.plugins
2.3.1
**/persistence.xml
**/applicationContext.xml
**/database.properties
**/log4j.properties
run
org.apache.maven.plugins
2.6
dynobjx_checks.xml
org.apache.maven.plugins
2.5
true
ISO-8859-1
30
1.6
applicationContext.xml
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/aop
http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/jee
http://www.springframework.org/schema/jee/spring-jee-3.0.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
persistence.xml
org.hibernate.ejb.HibernatePersistence
value="com.informatics.GenericEntityPersistEventListener"/>
value="com.informatics.GenericEntityMergeEventListener"/>