Skip to content

Commit

Permalink
Bundle registration engine as a feature
Browse files Browse the repository at this point in the history
  • Loading branch information
pamodaaw committed Mar 3, 2025
1 parent cf35e76 commit 4bacbdd
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
<artifactId>org.wso2.carbon.identity.user.registration.mgt.server.feature</artifactId>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>org.wso2.carbon.identity.user.registration.engine.server.feature</artifactId>
<type>zip</type>
</dependency>
</dependencies>

<build>
Expand All @@ -59,6 +64,8 @@
<includedFeatures>
<includedFeatureDef>org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.registration.mgt.server.feature
</includedFeatureDef>
<includedFeatureDef>org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.registration.engine.server.feature
</includedFeatureDef>
</includedFeatures>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com) All Rights Reserved.
~
~ WSO2 LLC. licenses this file to you under the Apache License,
~ Version 2.0 (the "License"); you may not use this file except
~ in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<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/maven-v4_0_0.xsd">

<parent>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>registration-framework-feature</artifactId>
<version>7.8.35-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.carbon.identity.user.registration.engine.server.feature</artifactId>
<packaging>pom</packaging>
<name>User Registration Flow Engine Feature</name>
<url>https://wso2.com</url>
<description>This feature contains the core bundles required to run the registration flow engine.</description>

<dependencies>
<dependency>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>org.wso2.carbon.identity.user.registration.engine</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.wso2.maven</groupId>
<artifactId>carbon-p2-plugin</artifactId>
<version>${carbon.p2.plugin.version}</version>
<executions>
<execution>
<id>4-p2-feature-generation</id>
<phase>package</phase>
<goals>
<goal>p2-feature-gen</goal>
</goals>
<configuration>
<id>org.wso2.carbon.identity.user.registration.engine.server</id>
<propertiesFile>../../etc/feature.properties</propertiesFile>
<adviceFile>
<properties>
<propertyDef>org.wso2.carbon.p2.category.type:server</propertyDef>
</properties>
</adviceFile>
<bundles>
<bundleDef>
org.wso2.carbon.identity.framework:org.wso2.carbon.identity.user.registration.engine
</bundleDef>
</bundles>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
1 change: 1 addition & 0 deletions features/registration-framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<modules>
<module>org.wso2.carbon.identity.user.registration.mgt.server.feature</module>
<module>org.wso2.carbon.identity.registration.framework.feature</module>
<module>org.wso2.carbon.identity.user.registration.engine.server.feature</module>
</modules>

</project>
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,12 @@
<type>zip</type>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>org.wso2.carbon.identity.user.registration.engine.server.feature</artifactId>
<type>zip</type>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.api-client</groupId>
<artifactId>google-api-client</artifactId>
Expand Down Expand Up @@ -1790,6 +1796,11 @@
<artifactId>org.wso2.carbon.identity.user.registration.mgt</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>org.wso2.carbon.identity.user.registration.engine</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon.identity.framework</groupId>
<artifactId>org.wso2.carbon.identity.servlet.mgt</artifactId>
Expand Down

0 comments on commit 4bacbdd

Please sign in to comment.