maven2 build file
This commit is contained in:
parent
68c297603a
commit
f2f7bd91bb
1 changed files with 141 additions and 0 deletions
141
pom.xml
Normal file
141
pom.xml
Normal file
|
|
@ -0,0 +1,141 @@
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
|
||||||
|
http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>org.forkalsrud</groupId>
|
||||||
|
<artifactId>album</artifactId>
|
||||||
|
<packaging>war</packaging>
|
||||||
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
<name>Photo Album</name>
|
||||||
|
<url>http://forkalsrud.org</url>
|
||||||
|
<build>
|
||||||
|
<finalName>album</finalName>
|
||||||
|
<sourceDirectory>src</sourceDirectory>
|
||||||
|
<resources>
|
||||||
|
<resource><directory>etc</directory></resource>
|
||||||
|
</resources>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<source>1.5</source>
|
||||||
|
<target>1.5</target>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-war-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<warSourceDirectory>webapp</warSourceDirectory>
|
||||||
|
<webappDirectory>webapp</webappDirectory>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.mortbay.jetty</groupId>
|
||||||
|
<artifactId>maven-jetty-plugin</artifactId>
|
||||||
|
<version>6.1.14</version>
|
||||||
|
<configuration>
|
||||||
|
<webAppSourceDirectory>${basedir}/webapp</webAppSourceDirectory>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-eclipse-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<wtpversion>1.5</wtpversion>
|
||||||
|
<wtpContextName>album</wtpContextName>
|
||||||
|
<wtpdefaultserver>J2EE Preview</wtpdefaultserver>
|
||||||
|
<additionalProjectnatures>
|
||||||
|
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
|
||||||
|
<projectnature>org.eclipse.wst.common.project.facet.core.nature</projectnature>
|
||||||
|
<projectnature>org.eclipse.wst.common.modulecore.ModuleCoreNature</projectnature>
|
||||||
|
<projectnature>org.eclipse.jem.workbench.JavaEMFNature</projectnature>
|
||||||
|
<projectnature>org.eclipse.wst.jsdt.core.jsNature</projectnature>
|
||||||
|
</additionalProjectnatures>
|
||||||
|
<additionalBuildcommands>
|
||||||
|
<buildCommand><name>org.springframework.ide.eclipse.core.springbuilder</name></buildCommand>
|
||||||
|
<buildCommand><name>org.eclipse.wst.jsdt.core.javascriptValidator</name></buildCommand>
|
||||||
|
<buildCommand><name>org.eclipse.wst.common.project.facet.core.builder</name></buildCommand>
|
||||||
|
<buildCommand><name>org.eclipse.wst.validation.validationbuilder</name></buildCommand>
|
||||||
|
</additionalBuildcommands>
|
||||||
|
<additionalProjectFacets>
|
||||||
|
<jst.java>5.0</jst.java>
|
||||||
|
<jst.web>2.5</jst.web>
|
||||||
|
<wst.jsdt.web>1.0</wst.jsdt.web>
|
||||||
|
</additionalProjectFacets>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>junit</groupId>
|
||||||
|
<artifactId>junit</artifactId>
|
||||||
|
<version>4.4</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-core</artifactId>
|
||||||
|
<version>2.5.6</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-logging</groupId>
|
||||||
|
<artifactId>commons-logging</artifactId>
|
||||||
|
<version>1.0.4</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-digester</groupId>
|
||||||
|
<artifactId>commons-digester</artifactId>
|
||||||
|
<version>1.7</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-collections</groupId>
|
||||||
|
<artifactId>commons-collections</artifactId>
|
||||||
|
<version>3.1</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-lang</groupId>
|
||||||
|
<artifactId>commons-lang</artifactId>
|
||||||
|
<version>2.0</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>postgresql</groupId>
|
||||||
|
<artifactId>postgresql</artifactId>
|
||||||
|
<version>8.1-408.jdbc3</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>velocity</groupId>
|
||||||
|
<artifactId>velocity</artifactId>
|
||||||
|
<version>1.5</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>velocity-tools</groupId>
|
||||||
|
<artifactId>velocity-tools-view</artifactId>
|
||||||
|
<version>1.3</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.drew</groupId>
|
||||||
|
<artifactId>metadata-extractor</artifactId>
|
||||||
|
<version>2.3.1</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>javax.servlet</groupId>
|
||||||
|
<artifactId>servlet-api</artifactId>
|
||||||
|
<version>2.4</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
<repositories>
|
||||||
|
<repository>
|
||||||
|
<id>forkalsrud</id>
|
||||||
|
<name>forkalsrud.org maven proxy</name>
|
||||||
|
<releases><enabled>true</enabled></releases>
|
||||||
|
<snapshots><enabled>false</enabled></snapshots>
|
||||||
|
<url>http://www.forkalsrud.org/maven-proxy/repository</url>
|
||||||
|
<layout>legacy</layout>
|
||||||
|
</repository>
|
||||||
|
</repositories>
|
||||||
|
</project>
|
||||||
Loading…
Add table
Reference in a new issue