Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Minor pom updates #24

Merged
5 commits merged into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 17, 2011
Commits on Jan 27, 2011
  1. Resolved Maven 3.0 warnings.

    Scott Murphy authored
Commits on Feb 4, 2011
  1. Updated distribution urls to https.

    Scott Murphy authored
This page is out of date. Refresh to see the latest.
View
36 pom.xml
@@ -56,15 +56,21 @@
<repository>
<id>github-release</id>
<name>Sonatype GitHub Release Repository</name>
- <url>http://oss.sonatype.org/content/repositories/github-releases/</url>
+ <url>https://oss.sonatype.org/content/repositories/github-releases/</url>
</repository>
<snapshotRepository>
<id>github-snapshot</id>
<name>Sonatype GitHub Snapshot Repository</name>
- <url>http://oss.sonatype.org/content/repositories/github-snapshots/</url>
+ <url>https://oss.sonatype.org/content/repositories/github-snapshots/</url>
</snapshotRepository>
</distributionManagement>
+ <!-- Support for Google App Engine -->
+ <properties>
+ <gae.version>1.4.0</gae.version>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
<build>
<defaultGoal>install</defaultGoal>
@@ -73,6 +79,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
+ <version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
@@ -83,6 +90,24 @@
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
+ <version>7.2.2.v20101205</version>
+ </plugin>
+
+ <!-- Google App Engine plugin. Allows quick testing via: mvn package gae:run -->
+ <plugin>
+ <groupId>net.kindleit</groupId>
+ <artifactId>maven-gae-plugin</artifactId>
+ <version>0.8.1</version>
+ </plugin>
+
+ <!-- Tomcat plugin. Allows quick testing via: mvn tomcat:run -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tomcat-maven-plugin</artifactId>
+ <version>1.1</version>
+ <configuration>
+ <path>/</path>
+ </configuration>
</plugin>
</plugins>
@@ -93,25 +118,30 @@
<!-- Test results report -->
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
+ <version>2.7.2</version>
</plugin>
<!-- JXR source reference report -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jxr-maven-plugin</artifactId>
+ <version>2.0-beta-1</version>
</plugin>
<!-- Cobertura code coverage report -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
+ <version>2.4</version>
</plugin>
<!-- PMD/CPD report -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
+ <version>2.5</version>
<configuration>
<targetJdk>1.5</targetJdk>
</configuration>
@@ -121,7 +151,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
- <version>2.0.1</version>
+ <version>2.3.1</version>
</plugin>
</plugins>
View
15 sitemesh-examples-hellowebapp/README.txt
@@ -7,9 +7,22 @@ To build:
To test:
mvn jetty:run
- Goto http://localhost:8080/sitemesh-examples-hellowebapp/
+ Goto http://localhost:8080/
To test on a different port, use: mvn -Djetty.port=1234 jetty:run.
+or if you prefer tomcat:
+ mvn tomcat:run
+ Goto http://localhost:8080/
+
+or Google App Engine:
+ mvn package gae:run
+ Goto http://localhost:8080/
+
Alternatively, you can deploy the packaged war (target/sitemesh-examples-hellowebapp.war)
to another Servlet engine.
+
+
+Note:
+The file src/main/webapp/WEB-INF/appengine-web.xml is a file necessary for Google
+App Engine and is not needed in a normal web application.
View
12 sitemesh-examples-hellowebapp/src/main/webapp/WEB-INF/appengine-web.xml
@@ -0,0 +1,12 @@
+<!-- THIS FILE IS ONLY REQUIRED IF YOU WANT TO DEPLOY TO GOOGLE APP ENGINE. THIS IS NOT NEEDED FOR SITEMESH -->
+<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
+ <application>sitemesh-examples-hellowebapp</application>
+ <version>1</version>
+ <system-properties>
+ <property name="file.encoding" value="UTF-8"/>
+ </system-properties>
+ <precompilation-enabled>true</precompilation-enabled>
+ <static-files>
+ <exclude path="**.html" />
+ </static-files>
+</appengine-web-app>
View
3  sitemesh/pom.xml
@@ -42,6 +42,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
+ <version>2.1.2</version>
<executions>
<execution>
<id>attach-source</id>
@@ -56,6 +57,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
+ <version>2.3.1</version>
<configuration>
<archive>
<manifest>
@@ -69,6 +71,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
+ <version>2.7.2</version>
<configuration>
<includes>
<include>**/*Test.java</include>
Something went wrong with that request. Please try again.