Hi Manjula,
After moving this feature out of IS product into features, I can see you
have put an entry in bin.xml file of Identity Service to copy
sso-idp-config.xml file from the feature-installed Carbon server created
inside the p2-profile-gen target.
<file>
<source>../../p2-profile-gen/service/target/wso2carbon-core-${wso2carbon.version}/repository/conf/sso-idp-config.xml</source>
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/</outputDirectory>
<fileMode>644</fileMode>
</file>
In order this to happen, you need to pack this file with the feature and
copy it to the installed directory by adding necessary config to the p2.inf
file inside the feature. But I do not see this configuration or this config
file inside the feature.
Because of this, Identity Service distribution build is failing. Please see
the log at
http://builder4.us1.wso2.org:8888/bamboo/browse/WSO2CARBON-IS-JOB1-8/log.
Thanks,
Thilina
On Tue, Mar 20, 2012 at 1:31 PM, <[email protected]> wrote:
> Author: manjular
> Date: Tue Mar 20 04:01:11 2012
> New Revision: 123090
> URL: http://wso2.org/svn/browse/wso2?view=rev&revision=123090
>
> Log:
> moving stratos.identity.saml2.sso.mgt bundle from IS service to stratos
> features to be used in manager and IS service
>
> Added:
> carbon/platform/trunk/features/stratos/sso-mgt/
> - copied from r122993,
> /carbon/platform/trunk/products/is/modules/features/service/stratos-sso-mgt/
> Modified:
> carbon/platform/trunk/features/stratos/pom.xml
>
> carbon/platform/trunk/features/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.feature/pom.xml
>
> carbon/platform/trunk/features/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.server.feature/pom.xml
>
> carbon/platform/trunk/features/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui.feature/pom.xml
> carbon/platform/trunk/features/stratos/sso-mgt/pom.xml
>
> Modified: carbon/platform/trunk/features/stratos/pom.xml
> URL:
> http://wso2.org/svn/browse/wso2/carbon/platform/trunk/features/stratos/pom.xml?rev=123090&r1=123089&r2=123090&view=diff
>
> ==============================================================================
> --- carbon/platform/trunk/features/stratos/pom.xml (original)
> +++ carbon/platform/trunk/features/stratos/pom.xml Tue Mar 20
> 04:01:11 2012
> @@ -44,6 +44,7 @@
> <module>billing</module>
> <module>deployment</module>
> <module>status-monitor</module>
> + <module>sso-mgt</module>
> </modules>
>
> <distributionManagement>
>
> Modified:
> carbon/platform/trunk/features/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.feature/pom.xml
> URL:
> http://wso2.org/svn/browse/wso2/carbon/platform/trunk/features/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.feature/pom.xml?rev=123090&r1=122993&r2=123090&view=diff
>
> ==============================================================================
> ---
> /carbon/platform/trunk/products/is/modules/features/service/stratos-sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.feature/pom.xml
> (original)
> +++
> carbon/platform/trunk/features/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.feature/pom.xml
> Tue Mar 20 04:01:11 2012
> @@ -19,7 +19,7 @@
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
>
> <parent>
> - <groupId>org.wso2.identity</groupId>
> + <groupId>org.wso2.carbon</groupId>
> <artifactId>stratos-sso-mgt-feature</artifactId>
> <version>1.1.0-SNAPSHOT</version>
> </parent>
> @@ -33,15 +33,15 @@
>
> <dependencies>
> <dependency>
> - <groupId>org.wso2.identity</groupId>
> + <groupId>org.wso2.carbon</groupId>
>
> <artifactId>org.wso2.stratos.identity.saml2.sso.mgt.server.feature</artifactId>
> - <version>${stratos.identity.version}</version>
> + <version>${stratos.version}</version>
> <type>zip</type>
> </dependency>
> <dependency>
> - <groupId>org.wso2.identity</groupId>
> + <groupId>org.wso2.carbon</groupId>
>
> <artifactId>org.wso2.stratos.identity.saml2.sso.mgt.ui.feature</artifactId>
> - <version>${stratos.identity.version}</version>
> + <version>${stratos.version}</version>
> <type>zip</type>
> </dependency>
> </dependencies>
> @@ -63,8 +63,8 @@
>
> <id>org.wso2.stratos.identity.saml2.sso.mgt</id>
>
> <propertiesFile>../../../feature.properties</propertiesFile>
> <includedFeatures>
> -
>
> <includedFeatureDef>org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.server.feature</includedFeatureDef>
> -
>
> <includedFeatureDef>org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.ui.feature</includedFeatureDef>
> +
>
> <includedFeatureDef>org.wso2.carbon:org.wso2.stratos.identity.saml2.sso.mgt.server.feature</includedFeatureDef>
> +
>
> <includedFeatureDef>org.wso2.carbon:org.wso2.stratos.identity.saml2.sso.mgt.ui.feature</includedFeatureDef>
> </includedFeatures>
> </configuration>
> </execution>
>
> Modified:
> carbon/platform/trunk/features/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.server.feature/pom.xml
> URL:
> http://wso2.org/svn/browse/wso2/carbon/platform/trunk/features/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.server.feature/pom.xml?rev=123090&r1=122993&r2=123090&view=diff
>
> ==============================================================================
> ---
> /carbon/platform/trunk/products/is/modules/features/service/stratos-sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.server.feature/pom.xml
> (original)
> +++
> carbon/platform/trunk/features/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.server.feature/pom.xml
> Tue Mar 20 04:01:11 2012
> @@ -19,7 +19,7 @@
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
>
> <parent>
> - <groupId>org.wso2.identity</groupId>
> + <groupId>org.wso2.carbon</groupId>
> <artifactId>stratos-sso-mgt-feature</artifactId>
> <version>1.1.0-SNAPSHOT</version>
> </parent>
> @@ -32,9 +32,9 @@
>
> <dependencies>
> <dependency>
> - <groupId>org.wso2.identity</groupId>
> + <groupId>org.wso2.carbon</groupId>
>
> <artifactId>org.wso2.stratos.identity.saml2.sso.mgt</artifactId>
> - <version>${stratos.identity.version}</version>
> + <version>${stratos.version}</version>
> </dependency>
> </dependencies>
>
> @@ -60,7 +60,7 @@
>
> </properties>
> </adviceFile>
> <bundles>
> -
> <bundleDef>org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt</bundleDef>
> +
> <bundleDef>org.wso2.carbon:org.wso2.stratos.identity.saml2.sso.mgt</bundleDef>
> </bundles>
> <importFeatures>
>
>
> <importFeatureDef>org.wso2.carbon.core.server:${carbon.version}</importFeatureDef>
>
> Modified:
> carbon/platform/trunk/features/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui.feature/pom.xml
> URL:
> http://wso2.org/svn/browse/wso2/carbon/platform/trunk/features/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui.feature/pom.xml?rev=123090&r1=122993&r2=123090&view=diff
>
> ==============================================================================
> ---
> /carbon/platform/trunk/products/is/modules/features/service/stratos-sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui.feature/pom.xml
> (original)
> +++
> carbon/platform/trunk/features/stratos/sso-mgt/org.wso2.stratos.identity.saml2.sso.mgt.ui.feature/pom.xml
> Tue Mar 20 04:01:11 2012
> @@ -19,7 +19,7 @@
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
>
> <parent>
> - <groupId>org.wso2.identity</groupId>
> + <groupId>org.wso2.carbon</groupId>
> <artifactId>stratos-sso-mgt-feature</artifactId>
> <version>1.1.0-SNAPSHOT</version>
> </parent>
> @@ -32,9 +32,9 @@
>
> <dependencies>
> <dependency>
> - <groupId>org.wso2.identity</groupId>
> + <groupId>org.wso2.carbon</groupId>
>
> <artifactId>org.wso2.stratos.identity.saml2.sso.mgt.ui</artifactId>
> - <version>${stratos.identity.version}</version>
> + <version>${stratos.version}</version>
> </dependency>
> </dependencies>
>
> @@ -60,7 +60,7 @@
>
> </properties>
> </adviceFile>
> <bundles>
> -
> <bundleDef>org.wso2.identity:org.wso2.stratos.identity.saml2.sso.mgt.ui</bundleDef>
> +
> <bundleDef>org.wso2.carbon:org.wso2.stratos.identity.saml2.sso.mgt.ui</bundleDef>
> </bundles>
> <importFeatures>
>
>
> <importFeatureDef>org.wso2.carbon.core.ui:${carbon.version}</importFeatureDef>
>
> Modified: carbon/platform/trunk/features/stratos/sso-mgt/pom.xml
> URL:
> http://wso2.org/svn/browse/wso2/carbon/platform/trunk/features/stratos/sso-mgt/pom.xml?rev=123090&r1=122993&r2=123090&view=diff
>
> ==============================================================================
> ---
> /carbon/platform/trunk/products/is/modules/features/service/stratos-sso-mgt/pom.xml
> (original)
> +++ carbon/platform/trunk/features/stratos/sso-mgt/pom.xml Tue Mar 20
> 04:01:11 2012
> @@ -19,9 +19,9 @@
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
>
> <parent>
> - <groupId>org.wso2.identity</groupId>
> - <artifactId>cloud-identity-features</artifactId>
> - <version>1.1.0-SNAPSHOT</version>
> + <groupId>org.wso2.carbon</groupId>
> + <artifactId>stratos-features</artifactId>
> + <version>1.1.0-SNAPSHOT</version>
> </parent>
>
> <modelVersion>4.0.0</modelVersion>
> _______________________________________________
> Carbon-commits mailing list
> [email protected]
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-commits
>
--
Thilina Buddhika
Associate Technical Lead
WSO2 Inc. ; http://wso2.com
lean . enterprise . middleware
phone : +94 77 44 88 727
blog : http://blog.thilinamb.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev