-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ninja 5.1.0 Support for Rythm Template Engine
- Loading branch information
1 parent
a2899da
commit a08e940
Showing
13 changed files
with
345 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
<!-- Copyright (C) 2012 the original author or authors. Licensed under the | ||
Apache License, Version 2.0 (the "License"); you may not use this file except | ||
in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software distributed | ||
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES | ||
OR CONDITIONS OF ANY KIND, either express or implied. See the License for | ||
the specific language governing permissions and limitations under the License. --> | ||
|
||
<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/maven-v4_0_0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>ninja-rythm-demo</artifactId> | ||
<packaging>war</packaging> | ||
|
||
<name>Ninja demo application with Rythm</name> | ||
|
||
<parent> | ||
<groupId>org.ninjaframework</groupId> | ||
<artifactId>ninja-rythm</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
</parent> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<jettyVersion>9.0.5.v20130815</jettyVersion> | ||
<ninjaVersion>5.1.0</ninjaVersion> | ||
<ninjaRythmVersion>0.0.1-SNAPSHOT</ninjaRythmVersion> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.tomcat.maven</groupId> | ||
<artifactId>tomcat7-maven-plugin</artifactId> | ||
<version>2.1</version> | ||
<configuration> | ||
<path>/</path> | ||
<contextReloadable>true</contextReloadable> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.jetty</groupId> | ||
<artifactId>jetty-maven-plugin</artifactId> | ||
<version>${jettyVersion}</version> | ||
<configuration> | ||
<webApp> | ||
<contextPath>/</contextPath> | ||
</webApp> | ||
<stopKey>stop</stopKey> | ||
<stopPort>8889</stopPort> | ||
<scanIntervalSeconds>1</scanIntervalSeconds> | ||
<reload>automatic</reload> | ||
<classesDirectory> | ||
target/classes;../ninja-core/target/classes;../ninja-core-test/target/classes | ||
</classesDirectory> | ||
<scanTargets> | ||
<scanTarget>../ninja-core/target/classes</scanTarget> | ||
<scanTarget>../ninja-core-test/target/classes</scanTarget> | ||
</scanTargets> | ||
<scanTargetPatterns> | ||
<scanTargetPattern> | ||
<directory>target/classes</directory> | ||
<includes> | ||
<include>**/*</include> | ||
</includes> | ||
<excludes> | ||
<exclude>**/*.html</exclude> | ||
</excludes> | ||
</scanTargetPattern> | ||
</scanTargetPatterns> | ||
</configuration> | ||
</plugin> | ||
|
||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-deploy-plugin</artifactId> | ||
<configuration> | ||
<skip>true</skip> | ||
</configuration> | ||
</plugin> | ||
|
||
</plugins> | ||
|
||
<resources> | ||
<resource> | ||
<directory>src/main/java</directory> | ||
<includes> | ||
<include>**/*</include> | ||
</includes> | ||
<excludes> | ||
<exclude>**/*.java</exclude> | ||
</excludes> | ||
</resource> | ||
<resource> | ||
<directory>src/main/resources</directory> | ||
<includes> | ||
<include>**/*</include> | ||
</includes> | ||
</resource> | ||
</resources> | ||
|
||
</build> | ||
|
||
<dependencies> | ||
|
||
<dependency> | ||
<groupId>org.ninjaframework</groupId> | ||
<artifactId>ninja-core</artifactId> | ||
<version>${ninjaVersion}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.ninjaframework</groupId> | ||
<artifactId>ninja-servlet</artifactId> | ||
<version>${ninjaVersion}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.ninjaframework</groupId> | ||
<artifactId>ninja-rythm-module</artifactId> | ||
<version>${ninjaRythmVersion}</version> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>javax.servlet</groupId> | ||
<artifactId>javax.servlet-api</artifactId> | ||
<version>3.0.1</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>org.ninjaframework</groupId> | ||
<artifactId>ninja-test-utilities</artifactId> | ||
<version>${ninjaVersion}</version> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.