Skip to content

Commit

Permalink
Adding Modules
Browse files Browse the repository at this point in the history
  • Loading branch information
cuioss committed Jul 28, 2023
1 parent cb9be2c commit 9dea77e
Show file tree
Hide file tree
Showing 438 changed files with 36,888 additions and 17 deletions.
55 changes: 54 additions & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
Expand All @@ -10,4 +11,56 @@
<name>portal ui bom</name>
<description>Defines all portal-ui modules</description>
<packaging>pom</packaging>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>portal-ui-api</artifactId>
<version>${project.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>portal-ui-runtime</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>portal-ui-default-navigation</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>portal-ui-oauth</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>portal-ui-errorpages</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>portal-ui-form-based-login</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>portal-ui-bootstrap-page-templates</artifactId>
<version>${project.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>portal-ui-unit-testing</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
</project>
17 changes: 17 additions & 0 deletions configuration/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>cui-portal-ui</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>configuration</artifactId>
<packaging>pom</packaging>
<name>Portal Configuration</name>
<description>Aggregates the the configuration specific artifacts</description>
<modules>
<module>portal-ui-default-navigation</module>
</modules>
</project>
10 changes: 10 additions & 0 deletions configuration/portal-ui-default-navigation/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>configuration</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>portal-ui-default-navigation</artifactId>
<description>Wraps a faces-config containing the default navigation for the excluding 'home'. Usually only needed for mock/test-deployments</description>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<faces-config version="2.3" 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/web-facesconfig_2_3.xsd">
<name>CuiossPortalDefaultNavigation</name>
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>error</from-outcome>
<to-view-id>/faces/guest/error.xhtml</to-view-id>
<redirect />
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>preferences</from-outcome>
<to-view-id>/faces/pages/account/preferences.xhtml</to-view-id>
<redirect />
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>account</from-outcome>
<to-view-id>/faces/pages/account/account.xhtml</to-view-id>
<redirect />
</navigation-case>
</navigation-rule>
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>about</from-outcome>
<to-view-id>/faces/pages/account/about.xhtml</to-view-id>
<redirect />
</navigation-case>
</navigation-rule>
</faces-config>
168 changes: 158 additions & 10 deletions modules/pom.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,159 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>cui-portal-ui</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>modules</artifactId>
<packaging>pom</packaging>
<name>portal ui modules</name>
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>cui-portal-ui</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>modules</artifactId>
<packaging>pom</packaging>
<name>portal ui modules</name>
<properties>
<version.cui.jsf.components>1.0.0-SNAPSHOT</version.cui.jsf.components>
<version.cui.parent>0.2.7</version.cui.parent>
<version.cui.portal.core>1.0.0-SNAPSHOT</version.cui.portal.core>
<version.cui.test.jsf.basic>1.1.0-SNAPSHOT</version.cui.test.jsf.basic>
</properties>
<modules>
<module>portal-ui-api</module>
<module>portal-ui-runtime</module>

<module>portal-ui-oauth</module>
<module>portal-ui-errorpages</module>
<module>portal-ui-form-based-login</module>
<module>portal-ui-unit-testing</module>
<module>portal-ui-bootstrap-page-templates</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>de.cuioss.test</groupId>
<artifactId>cui-jsf-test-basic</artifactId>
<version>${version.cui.test.jsf.basic}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>bom</artifactId>
<version>${project.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Incoming-->
<dependency>
<groupId>de.cuioss</groupId>
<artifactId>java-ee-8-bom</artifactId>
<version>${version.cui.parent}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>de.cuioss</groupId>
<artifactId>java-ee-orthogonal</artifactId>
<version>${version.cui.parent}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>de.cuioss.jsf</groupId>
<artifactId>bom</artifactId>
<version>${version.cui.jsf.components}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>de.cuioss.portal</groupId>
<artifactId>bom</artifactId>
<version>${version.cui.portal.core}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Provided -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<!-- needed for unit testing-->
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
</dependency>
<!-- jakarta ee-->
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.websocket</groupId>
<artifactId>jakarta.websocket-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.el</groupId>
<artifactId>jakarta.el-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.enterprise</groupId>
<artifactId>jakarta.enterprise.cdi-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.microprofile.config</groupId>
<artifactId>microprofile-config-api</artifactId>
</dependency>
<!-- Portal-->

<!-- cuioss-->
<dependency>
<groupId>de.cuioss</groupId>
<artifactId>cui-java-tools</artifactId>
</dependency>

<!-- Test related -->
<dependency>
<groupId>de.cuioss.portal.test</groupId>
<artifactId>portal-core-unit-testing</artifactId>
</dependency>
<dependency>
<groupId>de.cuioss.test</groupId>
<artifactId>cui-jsf-test-basic</artifactId>
</dependency>
<dependency>
<groupId>de.cuioss.test</groupId>
<artifactId>cui-test-juli-logger</artifactId>
</dependency>
<dependency>
<groupId>de.cuioss.test</groupId>
<artifactId>cui-test-value-objects</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
</dependency>
<dependency>
<groupId>de.cuioss.portal.configuration</groupId>
<artifactId>portal-configuration-impl</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.weld</groupId>
<artifactId>weld-junit5</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
33 changes: 33 additions & 0 deletions modules/portal-ui-api/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.cuioss.portal.ui</groupId>
<artifactId>modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<artifactId>portal-ui-api</artifactId>
<name>Portal UI API</name>
<description>Defines the api for cui-portal</description>
<dependencies>
<!-- JSF -->
<dependency>
<groupId>de.cuioss.jsf</groupId>
<artifactId>cui-jsf-api</artifactId>
</dependency>
<!-- Portal Core -->
<dependency>
<groupId>de.cuioss.portal.configuration</groupId>
<artifactId>portal-configuration-api</artifactId>
</dependency>
<dependency>
<groupId>de.cuioss.portal.authentication</groupId>
<artifactId>portal-authentication-api</artifactId>
</dependency>
<dependency>
<groupId>de.cuioss.portal.core</groupId>
<artifactId>portal-core</artifactId>
</dependency>
</dependencies>
</project>
Loading

0 comments on commit 9dea77e

Please sign in to comment.