2019-12-01 11:29:04 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-05-09 10:39:43 -04:00
|
|
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2020-03-21 21:54:38 -04:00
|
|
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
2019-12-01 11:29:04 -05:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2022-01-10 11:35:47 -05:00
|
|
|
<artifactId>ninja</artifactId>
|
2019-12-01 11:29:04 -05:00
|
|
|
<version>1.0.0</version>
|
2022-01-10 11:35:47 -05:00
|
|
|
<packaging>jar</packaging>
|
2019-12-01 11:29:04 -05:00
|
|
|
<url>http://www.ninjaframework.org</url>
|
|
|
|
|
2022-10-19 14:47:05 -04:00
|
|
|
<parent>
|
|
|
|
<groupId>com.baeldung</groupId>
|
|
|
|
<artifactId>web-modules</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
</parent>
|
|
|
|
|
2020-03-21 21:54:38 -04:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
<artifactId>bootstrap</artifactId>
|
|
|
|
<version>${bootstrap.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.webjars</groupId>
|
|
|
|
<artifactId>jquery</artifactId>
|
|
|
|
<version>${jquery.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.h2database</groupId>
|
|
|
|
<artifactId>h2</artifactId>
|
|
|
|
<version>${h2.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ninjaframework</groupId>
|
|
|
|
<artifactId>ninja-standalone</artifactId>
|
|
|
|
<version>${ninja.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.ninjaframework</groupId>
|
|
|
|
<artifactId>ninja-test-utilities</artifactId>
|
|
|
|
<version>${ninja.version}</version>
|
|
|
|
<scope>test</scope>
|
2021-10-29 00:07:04 -04:00
|
|
|
<exclusions>
|
|
|
|
<!-- junit4 dependency is excluded as it should to be resolved from junit-vintage-engine. -->
|
|
|
|
<exclusion>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter</artifactId>
|
|
|
|
<version>${junit-jupiter.version}</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.vintage</groupId>
|
|
|
|
<artifactId>junit-vintage-engine</artifactId>
|
|
|
|
<version>${junit-jupiter.version}</version>
|
|
|
|
<scope>test</scope>
|
2020-03-21 21:54:38 -04:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2019-12-01 11:29:04 -05:00
|
|
|
|
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${compiler.plugin.version}</version>
|
2019-12-01 11:29:04 -05:00
|
|
|
<configuration>
|
2020-01-27 15:05:31 -05:00
|
|
|
<source>${source.version}</source>
|
|
|
|
<target>${target.version}</target>
|
2019-12-01 11:29:04 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${enforcer.plugin.version}</version>
|
2019-12-01 11:29:04 -05:00
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>enforce-banned-dependencies</id>
|
|
|
|
<goals>
|
|
|
|
<goal>enforce</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<rules>
|
|
|
|
<bannedDependencies>
|
|
|
|
<excludes>
|
|
|
|
<exclude>commons-logging</exclude>
|
|
|
|
</excludes>
|
|
|
|
</bannedDependencies>
|
|
|
|
</rules>
|
|
|
|
<fail>true</fail>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-maven-plugin</artifactId>
|
|
|
|
<version>${jetty.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<webApp>
|
|
|
|
<contextPath>/</contextPath>
|
|
|
|
</webApp>
|
|
|
|
<stopKey>stop</stopKey>
|
|
|
|
<stopPort>8889</stopPort>
|
|
|
|
<scanIntervalSeconds>1</scanIntervalSeconds>
|
|
|
|
<reload>automatic</reload>
|
|
|
|
<scanTargetPatterns>
|
|
|
|
<scanTargetPattern>
|
|
|
|
<directory>target/classes</directory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*</include>
|
|
|
|
</includes>
|
|
|
|
<excludes>
|
|
|
|
<exclude>**/*.ftl.html</exclude>
|
|
|
|
<exclude>assets/**</exclude>
|
|
|
|
</excludes>
|
|
|
|
</scanTargetPattern>
|
|
|
|
</scanTargetPatterns>
|
|
|
|
<systemProperties>
|
|
|
|
<systemProperty>
|
|
|
|
<name>ninja.mode</name>
|
|
|
|
<value>dev</value>
|
|
|
|
</systemProperty>
|
|
|
|
</systemProperties>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<!-- Allows you to run Ninja via the SuperDevMode. -->
|
|
|
|
<!-- run "mvn ninja:run" on the command line for the best -->
|
|
|
|
<!-- development experience. -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.ninjaframework</groupId>
|
|
|
|
<artifactId>ninja-maven-plugin</artifactId>
|
|
|
|
<version>${ninja.version}</version>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${deploy.plugin.version}</version>
|
2019-12-01 11:29:04 -05:00
|
|
|
<configuration>
|
|
|
|
<skip>true</skip>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-shade-plugin</artifactId>
|
2020-01-27 15:05:31 -05:00
|
|
|
<version>${shade.plugin.version}</version>
|
2019-12-01 11:29:04 -05:00
|
|
|
<configuration>
|
|
|
|
<createDependencyReducedPom>true</createDependencyReducedPom>
|
|
|
|
<filters>
|
|
|
|
<filter>
|
|
|
|
<artifact>*:*</artifact>
|
|
|
|
<excludes>
|
|
|
|
<exclude>META-INF/*.SF</exclude>
|
|
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
|
|
</excludes>
|
|
|
|
</filter>
|
|
|
|
</filters>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>shade</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<transformers>
|
2021-05-09 10:39:43 -04:00
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
|
|
|
|
<transformer
|
|
|
|
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
2019-12-01 11:29:04 -05:00
|
|
|
<mainClass>ninja.standalone.NinjaJetty</mainClass>
|
|
|
|
</transformer>
|
|
|
|
</transformers>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</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>
|
2020-03-21 21:54:38 -04:00
|
|
|
|
|
|
|
<properties>
|
|
|
|
<ninja.version>6.5.0</ninja.version>
|
|
|
|
<jetty.version>9.4.18.v20190429</jetty.version>
|
|
|
|
<bootstrap.version>3.3.4</bootstrap.version>
|
|
|
|
<jquery.version>2.1.3</jquery.version>
|
|
|
|
<compiler.plugin.version>3.2</compiler.plugin.version>
|
|
|
|
<source.version>1.8</source.version>
|
|
|
|
<target.version>1.8</target.version>
|
|
|
|
<enforcer.plugin.version>1.3.1</enforcer.plugin.version>
|
|
|
|
<deploy.plugin.version>2.8.2</deploy.plugin.version>
|
|
|
|
<shade.plugin.version>2.2</shade.plugin.version>
|
2021-10-29 00:07:04 -04:00
|
|
|
<junit-jupiter.version>5.8.1</junit-jupiter.version>
|
2020-03-21 21:54:38 -04:00
|
|
|
</properties>
|
|
|
|
|
2019-12-01 11:29:04 -05:00
|
|
|
</project>
|