Integration of EE MVC

Jens Pelzetter 2020-09-13 16:50:49 +02:00
parent 402ea5614d
commit 8b06dc6cb2
6 changed files with 67 additions and 0 deletions

View File

@ -208,6 +208,22 @@
<include>assets/</include>
</includes>
</overlay>
<overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-core</artifactId>
<type>jar</type>
<includes>
<include>views/</include>
</includes>
</overlay>
<overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-core</artifactId>
<type>jar</type>
<includes>
<include>resources/</include>
</includes>
</overlay>
<overlay>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms</artifactId>
@ -250,6 +266,9 @@
<configuration>
<skip>false</skip>
<propertiesFile>${project.basedir}/wildfly.properties</propertiesFile>
<java-opts>
<java-opt>-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8787</java-opt>
</java-opts>
</configuration>
</plugin>

View File

@ -4,4 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
<application>
<resource-handler>org.libreccm.ui.CcmFaceletsResourceHandler</resource-handler>
</application>
</faces-config>

View File

@ -102,6 +102,21 @@
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax.mvc</groupId>
<artifactId>javax.mvc-api</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.krazo</groupId>
<artifactId>krazo-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.krazo.ext</groupId>
<artifactId>krazo-freemarker</artifactId>
<scope>provided</scope>
</dependency>
<!--
Flyway framework for database schema migrations
-->

View File

@ -42,6 +42,10 @@
<groupId>org.eclipse.krazo</groupId>
<artifactId>krazo-resteasy</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.krazo.ext</groupId>
<artifactId>krazo-freemarker</artifactId>
</dependency>
<dependency>
<groupId>junit</groupId>

View File

@ -0,0 +1,17 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.libreccm.wildfly;
/**
* Does nothing, only reuquired to get the Maven JAR working.
*
* To be removed when other classes are added to this module.
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
public class LibreCcmWildfly {
}

View File

@ -546,6 +546,15 @@
<artifactId>javax.mvc-api</artifactId>
<version>1.0.0</version>
</dependency>
<!--
Krazo core dependency. Should be used with the `provided` scope
if a module needs access to internals of Krazo
-->
<dependency>
<groupId>org.eclipse.krazo</groupId>
<artifactId>krazo-core</artifactId>
<version>1.1.0-M1</version>
</dependency>
<!-- Krazo for Glassfish/Papaya -->
<dependency>
<groupId>org.eclipse.krazo</groupId>