Integrated wildfly-jar-maven-plugin
parent
26a62c9d19
commit
ce5f4809a2
|
|
@ -1,210 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-bundle-devel</artifactId>
|
||||
<relativePath>../ccm-bundle-devel</relativePath>
|
||||
<version>7.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-bundle-devel-thorntail</artifactId>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<name>LibreCCM Devel Bundle for Thorntail</name>
|
||||
<url>http://www.libreccm.org</url>
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>libreccm-site</id>
|
||||
<name>LibreCCM</name>
|
||||
<url>http://www.libreccm.org/project-sites/</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
<organization>
|
||||
<name>LibreCCM Foundation</name>
|
||||
</organization>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>LGPLv2 or newer</name>
|
||||
<url>http://www.gnu.org/licenses/lgpl-2.0.html</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<properties>
|
||||
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||||
</properties>
|
||||
|
||||
<!-- <dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>bom</artifactId>
|
||||
<version>2.4.0.Final</version>
|
||||
<scope>import</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>-->
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>cdi</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>datasources</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>ejb</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>hibernate-search</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>jaxrs</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- <dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>jaxrs-cdi</artifactId>
|
||||
</dependency>-->
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>jaxrs-jsonp</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>jpa</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>jsf</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>jsonp</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>logging</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>mail</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>undertow</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-wildfly</artifactId>
|
||||
<version>7.0.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
<version>42.2.5.jre7</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.webjars</groupId>
|
||||
<artifactId>font-awesome</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.webjars</groupId>
|
||||
<artifactId>requirejs</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.webjars</groupId>
|
||||
<artifactId>requirejs-domready</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<finalName>ccm-bundle-devel-wildfly</finalName>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.thorntail</groupId>
|
||||
<artifactId>thorntail-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>package</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<configuration>
|
||||
<overlays>
|
||||
<overlay>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-editor</artifactId>
|
||||
<type>jar</type>
|
||||
</overlay>
|
||||
<overlay>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-theme-foundry</artifactId>
|
||||
<type>jar</type>
|
||||
</overlay>
|
||||
<overlay>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-core</artifactId>
|
||||
<type>jar</type>
|
||||
<includes>
|
||||
<include>assets/</include>
|
||||
</includes>
|
||||
</overlay>
|
||||
<overlay>
|
||||
<groupId>org.librecms</groupId>
|
||||
<artifactId>ccm-cms</artifactId>
|
||||
<type>jar</type>
|
||||
<includes>
|
||||
<include>templates/</include>
|
||||
</includes>
|
||||
</overlay>
|
||||
</overlays>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
@ -1,215 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<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/xsd/maven-4.0.0.xsd">
|
||||
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<!--<parent>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>libreccm-parent</artifactId>
|
||||
<version>7.0.0-SNAPSHOT</version>
|
||||
</parent>-->
|
||||
|
||||
<parent>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-bundle-devel</artifactId>
|
||||
<relativePath>../ccm-bundle-devel</relativePath>
|
||||
<version>7.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-bundle-devel-wildfly-swarm</artifactId>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<name>LibreCCM Devel Bundle for Wildfly Swarm</name>
|
||||
<url>http://www.libreccm.org</url>
|
||||
<distributionManagement>
|
||||
<site>
|
||||
<id>libreccm-site</id>
|
||||
<name>LibreCCM</name>
|
||||
<url>http://www.libreccm.org/project-sites/</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
||||
<organization>
|
||||
<name>LibreCCM Foundation</name>
|
||||
</organization>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>LGPLv2 or newer</name>
|
||||
<url>http://www.gnu.org/licenses/lgpl-2.0.html</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<properties>
|
||||
<failOnMissingWebXml>false</failOnMissingWebXml>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>bom-all</artifactId>
|
||||
<version>2017.11.0</version>
|
||||
<scope>import</scope>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>cdi</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>container</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>datasources</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>ejb</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>hibernate-search</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>jaxrs</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>jaxrs-cdi</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>jpa</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>jsf</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>logging</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>mail</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>undertow</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
<version>42.1.4.jre7</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.webjars</groupId>
|
||||
<artifactId>font-awesome</artifactId>
|
||||
<version>4.7.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.webjars</groupId>
|
||||
<artifactId>requirejs</artifactId>
|
||||
<version>2.3.5</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.webjars</groupId>
|
||||
<artifactId>requirejs-domready</artifactId>
|
||||
<version>2.0.1-2</version>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<finalName>ccm-bundle-devel-wildfly</finalName>
|
||||
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.wildfly.swarm</groupId>
|
||||
<artifactId>wildfly-swarm-plugin</artifactId>
|
||||
<!--<configuration>
|
||||
<mainClass>org.libreccm.CcmBundleDevel</mainClass>
|
||||
</configuration>-->
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>package</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<configuration>
|
||||
<overlays>
|
||||
<overlay>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-editor</artifactId>
|
||||
<type>jar</type>
|
||||
</overlay>
|
||||
<overlay>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-theme-foundry</artifactId>
|
||||
<type>jar</type>
|
||||
</overlay>
|
||||
<overlay>
|
||||
<groupId>org.libreccm</groupId>
|
||||
<artifactId>ccm-core</artifactId>
|
||||
<type>jar</type>
|
||||
<includes>
|
||||
<include>assets/</include>
|
||||
<include>VAADIN/</include>
|
||||
</includes>
|
||||
</overlay>
|
||||
<overlay>
|
||||
<groupId>org.librecms</groupId>
|
||||
<artifactId>ccm-cms</artifactId>
|
||||
<type>jar</type>
|
||||
<includes>
|
||||
<include>templates/</include>
|
||||
</includes>
|
||||
</overlay>
|
||||
</overlays>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
package org.libreccm;
|
||||
|
||||
import org.wildfly.swarm.Swarm;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
|
||||
*/
|
||||
public class CcmBundleDevel {
|
||||
|
||||
public static void main(final String[] args) throws Exception {
|
||||
|
||||
final Swarm swarm = new Swarm();
|
||||
|
||||
swarm.start();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
package org.libreccm;
|
||||
|
||||
import org.wildfly.swarm.Swarm;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
|
||||
*/
|
||||
public class CcmBundleDevel {
|
||||
|
||||
public static void main(final String[] args) throws Exception {
|
||||
|
||||
final Swarm swarm = new Swarm();
|
||||
|
||||
swarm.start();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -1,102 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Configuration status="WARN">
|
||||
<Appenders>
|
||||
<Console name="Console" target="SYSTEM_OUT">
|
||||
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
|
||||
</Console>
|
||||
</Appenders>
|
||||
<Loggers>
|
||||
<Root level="warn">
|
||||
<AppenderRef ref="Console"/>
|
||||
</Root>
|
||||
|
||||
<!--<Logger name="org.hibernate"
|
||||
level="info">
|
||||
</Logger>
|
||||
<Logger name="org.hibernate.SQL"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="org.hibernate.type"
|
||||
level="trace">
|
||||
</Logger>
|
||||
<Logger name="org.hibernate.type.descriptor.sql"
|
||||
level="trace">
|
||||
</Logger>-->
|
||||
|
||||
<!--<Logger name="com.arsdigita.bebop.util.Traversal"
|
||||
level="debug">
|
||||
</Logger>-->
|
||||
|
||||
<Logger name="com.arsdigita.cms.ui.assets.AssetFolderBrowserController"
|
||||
level="debug">
|
||||
|
||||
</Logger>
|
||||
<Logger name="com.arsdigita.cms.ui.folder.FolderBrowserTableModelBuilder"
|
||||
level="debug">
|
||||
</Logger>
|
||||
|
||||
<Logger name="com.arsdigita.ui.admin.AdminServlet"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="com.arsdigita.ui.admin.configuration.ConfigurationTable"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="com.arsdigita.ui.admin.usersgroupsroles.UsersTable"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="com.arsdigita.cms.ui.assets.AssetPane"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="com.arsdigita.ui.login.UserLoginForm"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="com.arsdigita.packaging.Config"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="com.arsdigita.templating.PatternStylesheetResolver"
|
||||
level="info">
|
||||
</Logger>
|
||||
<Logger name="com.arsdigita.templating.SimpleURIResolver"
|
||||
level="warn">
|
||||
</Logger>
|
||||
<Logger name="com.arsdigita.web.CCMDispatcherServlet"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="org.libreccm.core.AbstractEntityRepository"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="org.libreccm.modules.CcmIntegrator"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="org.libreccm.pagemodel.PageModelManager"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="org.libreccm.security.OneTimeAuthTokenCleaner"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="org.libreccm.security.PermissionManager"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="org.libreccm.security.Shiro"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="org.libreccm.ui.admin.usersgroupsroles.RolesController"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="org.librecms.contentsection.AssetRepository"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="org.librecms.contentsection.ContentSectionSetup"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="org.librecms.contentsection.ContentSectionServlet"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="org.librecms.contentsection.rs.Images"
|
||||
level="debug">
|
||||
</Logger>
|
||||
<Logger name="com.arsdigita.web.DefaultApplicationFileResolver"
|
||||
level="debug">
|
||||
</Logger>
|
||||
</Loggers>
|
||||
</Configuration>
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
swarm:
|
||||
deployment:
|
||||
ccm-bundle-devel-wildfly.war:
|
||||
jaxrs:
|
||||
application-path: /jaxrs
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
[main]
|
||||
|
||||
filterChainResolver = org.apache.shiro.web.filter.mgt.PathMatchingFilterChainResolver
|
||||
|
||||
passwordMatcher = org.apache.shiro.authc.credential.PasswordMatcher
|
||||
passwordService = org.apache.shiro.authc.credential.DefaultPasswordService
|
||||
passwordMatcher.passwordService = $passwordService
|
||||
|
||||
ccmRealm = org.libreccm.security.CcmShiroRealm
|
||||
ccmRealm.credentialsMatcher = $passwordMatcher
|
||||
|
||||
securityManager.realms = $ccmRealm
|
||||
securityManager.rememberMeManager.cipherKey = p5h/Aphy0gfV+XThbEPqSG4iQNh2fTNH9ZEkSBAt/Ok=
|
||||
|
||||
cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
|
||||
securityManager.cacheManager = $cacheManager
|
||||
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
# -*- text -*-
|
||||
# This file locates stylesheets, if you are using the
|
||||
# "PatternStylesheetResolver". Please read the Javadoc for that file for
|
||||
# the full story.
|
||||
|
||||
# Currently the "resource" part is actually "short-circuited", see
|
||||
# Templating#transformURL(url). As long as we store and synchronize all theme
|
||||
# files in each server's local file system, we use the direct file apprach to
|
||||
# avoid unnecessary http request and traffic between client (user) and server!
|
||||
# Additionally all modules are installed into one webapp context, so the
|
||||
# webapp tag is redundant, but sort of required by some part of the code.
|
||||
|
||||
|
||||
# Theme with single entry point (e.g Mandalay) managed by themedirector
|
||||
#http://::host::/resource/::webapp::/themes/::themedir::/::theme::/start.xsl
|
||||
http://::host::/::webapp::/themes/::themedir::/::theme::/start.xsl
|
||||
|
||||
# Theme with single entry point (e.g Mandalay) unmanaged default
|
||||
#http://::host::/resource/::webapp::/themes/mandalay/start.xsl
|
||||
#http://::host::/::webapp::/themes/mandalay/start.xsl
|
||||
|
||||
# Theme with single entry point (e.g Mandalay) unmanaged default
|
||||
#http://::host::/resource/::webapp::/themes/mandalay/start.xsl
|
||||
http://::host::/::webapp::/themes/libreccm-default/start.xsl
|
||||
|
||||
|
||||
|
||||
|
||||
# ==============================================================================
|
||||
# The following is for multi-entry themes, not used in ScientificCMS
|
||||
# ==============================================================================
|
||||
|
||||
# Output type is for things such as text/javascript
|
||||
# NOT used by ScientificCMS, uses Mandalay only!
|
||||
#http://::host::/resource/::webapp::/themes/heirloom/apps/::application::/xsl/::url::-::outputtype::-::locale::.xsl
|
||||
#http://::host::/resource/::webapp::/themes/heirloom/apps/::application::/xsl/::url::-::outputtype::.xsl
|
||||
|
||||
# Grabs custom item xsl for CMS
|
||||
# NOT used by ScientificCMS, uses Mandalay only!
|
||||
#http://::host::/themes/servlet/content-item/index.xsl?oid=::item_template_oid::&delegated=::item_delegated_url::
|
||||
|
||||
# Theme, with optional locale & prefix
|
||||
# NOT used by ScientificCMS, uses Mandalay only!
|
||||
#http://::host::/resource/::webapp::/themes/::themedir::/::theme::/::application::-::url::-::prefix::-::locale::.xsl
|
||||
#http://::host::/resource/::webapp::/themes/::themedir::/::theme::/::application::-::url::-::prefix::.xsl
|
||||
|
||||
# Theme, with optional locale
|
||||
# NOT used by ScientificCMS, uses Mandalay only!
|
||||
#http://::host::/resource/::webapp::/themes/::themedir::/::theme::/::application::-::url::-::locale::.xsl
|
||||
#http://::host::/resource/::webapp::/themes/::themedir::/::theme::/::application::-::url::.xsl
|
||||
|
||||
# APLAWS generic default, with locale and prefix
|
||||
# XXX change ROOT -> ccm-ldn-aplaws
|
||||
# http://::host::/resource/ROOT/themes/static/aplaws-generic/::application::-::url::-::prefix::-::locale::.xsl
|
||||
# http://::host::/resource/ROOT/themes/static/aplaws-generic/::application::-::url::-::prefix::.xsl
|
||||
|
||||
# APLAWS generic default, with locale
|
||||
# XXX change ROOT -> ccm-ldn-aplaws
|
||||
# http://::host::/resource/ROOT/themes/static/aplaws-generic/::application::-::url::-::locale::.xsl
|
||||
# http://::host::/resource/ROOT/themes/static/aplaws-generic/::application::-::url::.xsl
|
||||
|
||||
# Global default, from application's own web app
|
||||
# NOT used by ScientificCMS
|
||||
#http://::host::/resource/::webapp::/themes/heirloom/apps/::application::/xsl/::url::-::locale::.xsl
|
||||
#http://::host::/resource/::webapp::/themes/heirloom/apps/::application::/xsl/::url::.xsl
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
version = 7.0.0-SNAPSHOT
|
||||
appname = LibreCCM
|
||||
apphomepage = http://www.libreccm.org
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
||||
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/beans_1_1.xsd"
|
||||
bean-discovery-mode="all">
|
||||
</beans>
|
||||
|
|
@ -1,54 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
author: Jens Pelzetter
|
||||
-->
|
||||
|
||||
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
|
||||
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
|
||||
version="2.1">
|
||||
|
||||
<persistence-unit name="LibreCCM" transaction-type="JTA">
|
||||
|
||||
<!--
|
||||
Enforce JPA provider
|
||||
Not really necessary here because we don't use any Hibernate
|
||||
specific features, but makes it easier to manage to database
|
||||
creation scripts.
|
||||
-->
|
||||
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
|
||||
|
||||
<jta-data-source>java:jboss/datasources/LibreCCM</jta-data-source>
|
||||
|
||||
<!--<jta-data-source>java:/comp/env/jdbc/libreccm/db</jta-data-source>-->
|
||||
|
||||
<jar-file>lib/ccm-core-7.0.0-SNAPSHOT.jar</jar-file>
|
||||
<jar-file>lib/ccm-cms-7.0.0-SNAPSHOT.jar</jar-file>
|
||||
<jar-file>lib/ccm-shortcuts-7.0.0-SNAPSHOT.jar</jar-file>
|
||||
|
||||
|
||||
<properties>
|
||||
<!-- Properties for Hibernate -->
|
||||
<property name="hibernate.hbm2ddl.auto" value="validate" />
|
||||
<property name="hibernate.connection.autocommit" value="false" />
|
||||
<property name="hibernate.id.new_generator_mappings" value="true" />
|
||||
<property name="wildfly.jpa.hibernate.search.module"
|
||||
value="org.hibernate.search.orm:main" />
|
||||
|
||||
<!--<property name="hibernate.show_sql" value="true" />
|
||||
<property name="format_sql" value="true" />
|
||||
<property name="use_sql_comments" value="true" />-->
|
||||
|
||||
<!--
|
||||
Properties for Hibernate Envers
|
||||
We are using the ValidityAuditStrategy here because it is faster
|
||||
when querying data than the DefaultStrategy
|
||||
-->
|
||||
<property name="org.hibernate.envers.audit_strategy"
|
||||
value="org.hibernate.envers.strategy.ValidityAuditStrategy"/>
|
||||
</properties>
|
||||
|
||||
</persistence-unit>
|
||||
|
||||
</persistence>
|
||||
|
|
@ -1 +0,0 @@
|
|||
waf.config.packages=ccm-core
|
||||
|
|
@ -1,83 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
|
||||
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
|
||||
version="3.0">
|
||||
|
||||
<display-name>LibreCCM Devel Bundle for Wildfly</display-name>
|
||||
|
||||
<context-param>
|
||||
<param-name>ccm.develmode</param-name>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>ccm.distribution</param-name>
|
||||
<param-value>libreccm</param-value>
|
||||
</context-param>
|
||||
|
||||
<!-- No JSESSIONID!!! -->
|
||||
<session-config>
|
||||
<tracking-mode>COOKIE</tracking-mode>
|
||||
<!--<tracking-mode>URL</tracking-mode>-->
|
||||
</session-config>
|
||||
|
||||
<filter>
|
||||
<filter-name>ShiroFilter</filter-name>
|
||||
<filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class>
|
||||
</filter>
|
||||
|
||||
<filter-mapping>
|
||||
<filter-name>ShiroFilter</filter-name>
|
||||
<url-pattern>/*</url-pattern>
|
||||
</filter-mapping>
|
||||
|
||||
<listener>
|
||||
<listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
|
||||
</listener>
|
||||
|
||||
<!-- JAX-RS -->
|
||||
<!--<servlet>
|
||||
<servlet-name>javax.ws.rs.core.Application</servlet-name>
|
||||
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>javax.ws.rs.core.Application</servlet-name>
|
||||
<url-pattern>/content-sections/*</url-pattern>
|
||||
</servlet-mapping>-->
|
||||
|
||||
<servlet>
|
||||
<servlet-name>Faces Servlet</servlet-name>
|
||||
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
|
||||
<load-on-startup>1</load-on-startup>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>Faces Servlet</servlet-name>
|
||||
<url-pattern>*.xhtml</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<context-param>
|
||||
<param-name>javax.faces.PROJECT_STAGE</param-name>
|
||||
<param-value>Development</param-value>
|
||||
</context-param>
|
||||
<context-param>
|
||||
<param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
|
||||
<param-value>true</param-value>
|
||||
</context-param>
|
||||
|
||||
<servlet>
|
||||
<servlet-name>vaadin-servlet</servlet-name>
|
||||
<servlet-class>com.vaadin.cdi.server.VaadinCDIServlet</servlet-class>
|
||||
</servlet>
|
||||
|
||||
<servlet-mapping>
|
||||
<servlet-name>vaadin-servlet</servlet-name>
|
||||
<url-pattern>/vaadin/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>vaadin-servlet</servlet-name>
|
||||
<url-pattern>/VAADIN/*</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
</web-app>
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
requirejs(["./ccm-editor",
|
||||
"./ccm-cms-editor",
|
||||
"../webjars/requirejs-domready/2.0.1/domReady!"],
|
||||
function(editor, cmseditor, doc) {
|
||||
|
||||
editor.addEditor(".editor-textarea", {
|
||||
"commandGroups": [
|
||||
{
|
||||
"name": "blocks",
|
||||
"title": "Format blocks",
|
||||
"commands": [
|
||||
editor.FormatBlockCommand
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "format-text",
|
||||
"title": "Format text",
|
||||
"commands": [
|
||||
editor.MakeBoldCommand,
|
||||
editor.MakeItalicCommand,
|
||||
editor.MakeUnderlineCommand,
|
||||
editor.StrikeThroughCommand,
|
||||
editor.SubscriptCommand,
|
||||
editor.SuperscriptCommand,
|
||||
editor.RemoveFormatCommand,
|
||||
editor.InsertExternalLinkCommand,
|
||||
cmseditor.InsertInternalLinkCommand,
|
||||
cmseditor.InsertMediaAssetCommand
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "insert-list",
|
||||
"title": "Insert list",
|
||||
"commands": [
|
||||
editor.InsertUnorderedListCommand,
|
||||
editor.InsertOrderedListCommand
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "html",
|
||||
"title": "HTML",
|
||||
"commands": [editor.ToggleHtmlCommand]
|
||||
}
|
||||
],
|
||||
"settings": {
|
||||
"ccm-editor-css.path": "/libreccm/ccm-editor/ccm-editor.css",
|
||||
"font-awesome.path": "/libreccm/webjars/font-awesome/4.7.0/css/font-awesome.min.css",
|
||||
"formatBlock.blocks": [
|
||||
{
|
||||
"element": "h3",
|
||||
"title": "Heading 3"
|
||||
},
|
||||
{
|
||||
"element": "h4",
|
||||
"title": "Heading 4"
|
||||
},
|
||||
{
|
||||
"element": "h5",
|
||||
"title": "Heading 5"
|
||||
},
|
||||
{
|
||||
"element": "h6",
|
||||
"title": "Heading 6"
|
||||
},
|
||||
{
|
||||
"element": "p",
|
||||
"title": "Paragraph"
|
||||
}
|
||||
]
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
datasource.properties
|
||||
runtime.properties
|
||||
wildfly.properties
|
||||
|
|
|
|||
|
|
@ -284,6 +284,27 @@
|
|||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>properties-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>read-runtime-properties</id>
|
||||
<phase>initialize</phase>
|
||||
<goals>
|
||||
<goal>read-project-properties</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<files>
|
||||
<file>${project.basedir}/runtime.example.properties</file>
|
||||
<file>${project.basedir}/runtime.properties</file>
|
||||
</files>
|
||||
<quiet>true</quiet>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.wildfly.plugins</groupId>
|
||||
<artifactId>wildfly-maven-plugin</artifactId>
|
||||
|
|
@ -296,6 +317,58 @@
|
|||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.wildfly.plugins</groupId>
|
||||
<artifactId>wildfly-jar-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<jvmArguments>
|
||||
<arg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=${libreccm.debug.suspend},address=${libreccm.debug.port}</arg>
|
||||
</jvmArguments>
|
||||
<arguments>
|
||||
-Dorg.wildfly.datasources.postgresql.database=${libreccm.database.name}
|
||||
-Dorg.wildfly.datasources.postgresql.host=${libreccm.database.host}
|
||||
-Dorg.wildfly.datasources.postgresql.jndi-name=java:/comp/env/jdbc/libreccm/db
|
||||
-Dorg.wildfly.datasources.postgresql.password=${libreccm.database.password}
|
||||
-Dorg.wildfly.datasources.postgresql.port=${libreccm.database.port}
|
||||
-Dorg.wildfly.datasources.postgresql.user-name=${libreccm.database.user}
|
||||
</arguments>
|
||||
<feature-packs>
|
||||
<feature-pack>
|
||||
<location>wildfly@maven(org.jboss.universe:community-universe)#24.0.1.Final</location>
|
||||
</feature-pack>
|
||||
<feature-pack>
|
||||
<groupId>org.wildfly</groupId>
|
||||
<artifactId>wildfly-datasources-galleon-pack</artifactId>
|
||||
<version>2.0.2.Final</version>
|
||||
</feature-pack>
|
||||
</feature-packs>
|
||||
<layers>
|
||||
<layer>cdi</layer>
|
||||
<layer>datasources</layer>
|
||||
<layer>ejb</layer>
|
||||
<layer>jaxrs</layer>
|
||||
<layer>jpa</layer>
|
||||
<layer>jsf</layer>
|
||||
<layer>jsonp</layer>
|
||||
<layer>logging</layer>
|
||||
<layer>mail</layer>
|
||||
<layer>management</layer>
|
||||
<layer>postgresql-datasource</layer>
|
||||
</layers>
|
||||
<!-- <excluded-layers>
|
||||
<layer>deployment-scanner</layer>
|
||||
</excluded-layers>-->
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>package</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
libreccm.http.port=8080
|
||||
libreccm.https.port=8180
|
||||
libreccm.debug.port=8787
|
||||
libreccm.debug.suspend=n
|
||||
|
||||
libreccm.database.host=localhost
|
||||
libreccm.database.port=5432
|
||||
libreccm.database.name=libreccm-devel
|
||||
libreccm.database.user=libreccm
|
||||
libreccm.database.password=libreccm
|
||||
|
|
@ -25,7 +25,6 @@
|
|||
<jar-file>lib/ccm-cms-7.0.0-SNAPSHOT.jar</jar-file>
|
||||
<jar-file>lib/ccm-shortcuts-7.0.0-SNAPSHOT.jar</jar-file>
|
||||
|
||||
|
||||
<properties>
|
||||
<!-- Properties for Hibernate -->
|
||||
<property name="hibernate.hbm2ddl.auto" value="validate" />
|
||||
|
|
|
|||
13
pom.xml
13
pom.xml
|
|
@ -88,15 +88,14 @@
|
|||
<!-- Bundle modules -->
|
||||
<module>ccm-bundle-devel</module>
|
||||
<module>ccm-bundle-devel-wildfly</module>
|
||||
<module>ccm-bundle-devel-thorntail</module>
|
||||
|
||||
<!-- Archetypes -->
|
||||
<module>ccm-archetype-module</module>
|
||||
<module>ccm-cms-archetype-contenttype</module>
|
||||
|
||||
<!--<module>ccm-cms-js</module>-->
|
||||
<module>ccm-wildfly</module>
|
||||
</modules>
|
||||
<module>ccm-wildfly</module>
|
||||
</modules>
|
||||
|
||||
<reporting>
|
||||
<excludeDefaults>true</excludeDefaults>
|
||||
|
|
@ -343,6 +342,14 @@
|
|||
<version>24.0.1.Final</version>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.wildfly.plugins</groupId>
|
||||
<artifactId>wildfly-jar-maven-plugin</artifactId>
|
||||
<version>3.0.2.Final</version>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue