Permalink
Browse files

cleanup

  • Loading branch information...
jamesward committed May 8, 2012
1 parent da5fcc2 commit e31338d5ccd24b7e42907be8e47382029ff67f9c
Showing with 89 additions and 91 deletions.
  1. +2 −2 README.md
  2. +86 −86 pom.xml
  3. +1 −1 src/main/resources/applicationContext.xml
  4. +0 −2 src/main/webapp/META-INF/MANIFEST.MF
View
@@ -6,9 +6,9 @@ This is a template for a web application that uses Spring MVC and Hibernate. The
First build with:
- $mvn clean install
+ $ mvn clean install
Then run it with:
- $java -jar target/dependency/webapp-runner.jar target/*.war
+ $ java -jar target/dependency/webapp-runner.jar target/*.war
View
172 pom.xml
@@ -1,92 +1,92 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
- <modelVersion>4.0.0</modelVersion>
- <groupId>com.example</groupId>
- <artifactId>spring-hibernate-template</artifactId>
- <packaging>war</packaging>
- <version>0.0.1-SNAPSHOT</version>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>com.example</groupId>
+ <artifactId>spring-hibernate-template</artifactId>
+ <packaging>war</packaging>
+ <version>0.0.1-SNAPSHOT</version>
- <properties>
- <org.springframework.version>3.1.1.RELEASE</org.springframework.version>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
+ <properties>
+ <org.springframework.version>3.1.1.RELEASE</org.springframework.version>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
- <dependencies>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- <version>3.0.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.springframework</groupId>
- <artifactId>spring-webmvc</artifactId>
- <version>${org.springframework.version}</version>
- </dependency>
- <dependency>
- <groupId>org.springframework.data</groupId>
- <artifactId>spring-data-neo4j-rest</artifactId>
- <version>2.0.1.RELEASE</version>
- </dependency>
- <dependency>
- <groupId>org.hibernate</groupId>
- <artifactId>hibernate-validator</artifactId>
- <version>4.2.0.Final</version>
- </dependency>
- <dependency>
- <groupId>taglibs</groupId>
- <artifactId>standard</artifactId>
- <version>1.1.2</version>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>jstl</artifactId>
- <version>1.2</version>
- </dependency>
- <dependency>
- <groupId>com.github.jsimone</groupId>
- <artifactId>webapp-runner</artifactId>
- <version>7.0.22.3</version>
- <!--<scope>provided</scope>-->
- </dependency>
- </dependencies>
+ <dependencies>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>javax.servlet-api</artifactId>
+ <version>3.0.1</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring-webmvc</artifactId>
+ <version>${org.springframework.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.data</groupId>
+ <artifactId>spring-data-neo4j-rest</artifactId>
+ <version>2.0.1.RELEASE</version>
+ </dependency>
+ <dependency>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <version>4.2.0.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>taglibs</groupId>
+ <artifactId>standard</artifactId>
+ <version>1.1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>com.github.jsimone</groupId>
+ <artifactId>webapp-runner</artifactId>
+ <version>7.0.22.3</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-war-plugin</artifactId>
- <version>2.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.4</version>
- <executions>
- <execution>
- <phase>package</phase>
- <goals>
- <goal>copy</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>com.github.jsimone</groupId>
- <artifactId>webapp-runner</artifactId>
- <version>7.0.22.3</version>
- <destFileName>webapp-runner.jar</destFileName>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.4</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>com.github.jsimone</groupId>
+ <artifactId>webapp-runner</artifactId>
+ <version>7.0.22.3</version>
+ <destFileName>webapp-runner.jar</destFileName>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
@@ -12,8 +12,8 @@
http://www.springframework.org/schema/data/neo4j http://www.springframework.org/schema/data/neo4j/spring-neo4j-2.0.xsd">
<context:annotation-config />
- <context:component-scan base-package="com.example" />
<context:spring-configured />
+ <context:component-scan base-package="com.example" />
<neo4j:repositories base-package="com.example.service"/>
@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-

0 comments on commit e31338d

Please sign in to comment.