Integration of EE MVC

Former-commit-id: 8b06dc6cb2
pull/6/head
Jens Pelzetter 2020-09-13 16:50:49 +02:00
parent a21a31f76e
commit e6240e458c
6 changed files with 67 additions and 0 deletions

View File

@ -208,6 +208,22 @@
<include>assets/</include> <include>assets/</include>
</includes> </includes>
</overlay> </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> <overlay>
<groupId>org.librecms</groupId> <groupId>org.librecms</groupId>
<artifactId>ccm-cms</artifactId> <artifactId>ccm-cms</artifactId>
@ -250,6 +266,9 @@
<configuration> <configuration>
<skip>false</skip> <skip>false</skip>
<propertiesFile>${project.basedir}/wildfly.properties</propertiesFile> <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> </configuration>
</plugin> </plugin>

View File

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

View File

@ -102,6 +102,21 @@
<scope>provided</scope> <scope>provided</scope>
</dependency> </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 Flyway framework for database schema migrations
--> -->

View File

@ -42,6 +42,10 @@
<groupId>org.eclipse.krazo</groupId> <groupId>org.eclipse.krazo</groupId>
<artifactId>krazo-resteasy</artifactId> <artifactId>krazo-resteasy</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.eclipse.krazo.ext</groupId>
<artifactId>krazo-freemarker</artifactId>
</dependency>
<dependency> <dependency>
<groupId>junit</groupId> <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> <artifactId>javax.mvc-api</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
</dependency> </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 --> <!-- Krazo for Glassfish/Papaya -->
<dependency> <dependency>
<groupId>org.eclipse.krazo</groupId> <groupId>org.eclipse.krazo</groupId>