attaching POM file used to install key manager features.

On Thu, Sep 10, 2015 at 10:56 AM, Krishantha Samaraweera <
[email protected]> wrote:

> Hi Malintha,
>
> Shall we try to installed the feature using osgi console. You can refer
> [1]. Automation of this approach would be bit tricky as we need to maintain
> another script to do all these command execution.
>
> [1] http://wiki.eclipse.org/Equinox_p2_Console_Users_Guide
>
> Thanks,
> Krishantha.
>
> On Wed, Sep 9, 2015 at 10:46 PM, Malintha Adikari <[email protected]>
> wrote:
>
>> Thank you Lasitha for infomation
>>
>> On Wed, Sep 9, 2015 at 10:26 PM, Malintha Adikari <[email protected]>
>> wrote:
>>
>>> Adding Krishantha
>>> On Sep 9, 2015 6:30 PM, "Lasitha Wattaladeniya" <[email protected]>
>>> wrote:
>>>
>>>> Hi Malintha,
>>>>
>>>> Apparently there's a bug, it's reported in this jira [1].
>>>>
>>>> [1]. https://wso2.org/jira/browse/CARBON-15195
>>>>
>>>> On Wed, Sep 9, 2015 at 3:59 PM, Malintha Adikari <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am installing keymanager feature to IS 5.0.0 pack using pom file. I
>>>>> am getting version conflicts for some features.
>>>>> When I try to install
>>>>>
>>>>> Ex:
>>>>> <feature>
>>>>>    <id>org.wso2.carbon.registry.contentsearch.server.feature.group</id>
>>>>>    <version>4.2.2</version>
>>>>> </feature>
>>>>>
>>>>> I am getting following error
>>>>>
>>>>> Installing org.wso2.carbon.xfer.feature.group 4.2.0.
>>>>> Installing org.wso2.carbon.stratos.deployment.feature.group 2.2.1.
>>>>> Installing org.wso2.carbon.system.statistics.feature.group 4.2.2.
>>>>> Installation failed.
>>>>> Cannot complete the install because of a conflicting dependency.
>>>>>  Software being installed: WSO2 Carbon - Registry Content Search
>>>>> Server Feature 4.2.2
>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.2)
>>>>>  Software currently installed: WSO2 Carbon - Registry Content Search
>>>>> Feature 4.2.1 (org.wso2.carbon.registry.contentsearch.feature.group 4.2.1)
>>>>>  Only one of the following can be installed at once:
>>>>>   WSO2 Carbon - Registry Content Search Server Feature 4.2.2
>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.jar 4.2.2)
>>>>>   WSO2 Carbon - Registry Content Search Server Feature 4.2.1
>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.jar 4.2.1)
>>>>>  Cannot satisfy dependency:
>>>>>   From: WSO2 Carbon - Registry Content Search Feature 4.2.1
>>>>> (org.wso2.carbon.registry.contentsearch.feature.group 4.2.1)
>>>>>   To: org.wso2.carbon.registry.contentsearch.server.feature.group
>>>>> [4.2.1]
>>>>>  Cannot satisfy dependency:
>>>>>   From: WSO2 Carbon - Registry Content Search Server Feature 4.2.1
>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.1)
>>>>>   To: org.wso2.carbon.registry.contentsearch.server.feature.jar [4.2.1]
>>>>>  Cannot satisfy dependency:
>>>>>   From: WSO2 Carbon - Registry Content Search Server Feature 4.2.2
>>>>> (org.wso2.carbon.registry.contentsearch.server.feature.group 4.2.2)
>>>>>   To: org.wso2.carbon.registry.contentsearch.server.feature.jar [4.2.2]
>>>>> Application failed, log file location:
>>>>> /root/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1441793612480.log
>>>>>
>>>>> Seems there is a conflict between existing feature in the carbon pack
>>>>> and the new feature to be installed. How can I upgrade a feature ?.
>>>>> Appreciate your help on this.
>>>>>
>>>>> Regards,
>>>>> Malintha
>>>>>
>>>>> --
>>>>> *Malintha Adikari*
>>>>> Software Engineer
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> Mobile: +94 71 2312958
>>>>> Blog:    http://malinthas.blogspot.com
>>>>> Page:   http://about.me/malintha
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Lasitha Wattaladeniya
>>>> Software Engineer
>>>> WSO2, Inc. | http://wso2.com
>>>> lean. enterprise. middleware
>>>>
>>>> Mobile : +94719397528
>>>> Blog : techreadme.blogspot.com
>>>>
>>>
>>
>>
>> --
>> *Malintha Adikari*
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> Mobile: +94 71 2312958
>> Blog:    http://malinthas.blogspot.com
>> Page:   http://about.me/malintha
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middleware.
>



-- 
*Malintha Adikari*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

Mobile: +94 71 2312958
Blog:    http://malinthas.blogspot.com
Page:   http://about.me/malintha
<?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/maven-v4_0_0.xsd";>
   <modelVersion>4.0.0</modelVersion>
   <groupId>org.wso2.QAA</groupId>
   <artifactId>Key-Manager-feature-installation</artifactId>
   <version>1.0.0</version>
   <packaging>pom</packaging>
   <name>Creating Key Manager feature installed distribution</name>
   <url>http://wso2.org</url>
   <build>
      <plugins>
         <plugin>
            <groupId>org.wso2.maven</groupId>
            <artifactId>carbon-p2-plugin</artifactId>
            <version>1.5.3</version>
            <executions>
               <execution>
                  <id>feature-install</id>
                  <phase>package</phase>
                  <goals>
                     <goal>p2-profile-gen</goal>
                  </goals>
                  <configuration>
                     <profile>default</profile>
                     <metadataRepository>file:p2-repo</metadataRepository>
                     <artifactRepository>file:p2-repo</artifactRepository>
                     <destination>wso2is-5.0.0/repository/components</destination>
                     <deleteOldProfileFiles>true</deleteOldProfileFiles>
                     <features>
                        <feature>
                           <id>org.wso2.carbon.logging.mgt.feature.group</id>
                           <version>4.2.2</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.security.mgt.feature.group</id>
                           <version>4.2.5</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.identity.sts.mgt.feature.group</id>
                           <version>4.2.6</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.event.common.feature.group</id>
                           <version>4.2.0</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.identity.core.feature.group</id>
                           <version>4.2.6</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.deployment.synchronizer.feature.group</id>
                           <version>4.2.5</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.bam.service.agent.feature.group</id>
                           <version>4.2.3</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.jaxws.webapp.mgt.feature.group</id>
                           <version>4.2.0</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.service.mgt.server.feature.group</id>
                           <version>4.2.1</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.sts.feature.group</id>
                           <version>4.2.2</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.application.mgt.server.feature.group</id>
                           <version>4.2.0</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.apimgt.core.feature.group</id>
                           <version>1.2.4</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.registry.extensions.feature.group</id>
                           <version>4.2.1</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.um.ws.service.server.feature.group</id>
                           <version>4.2.2</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.identity.application.authentication.framework.server.feature.group</id>
                           <version>4.2.6</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.idp.mgt.feature.group</id>
                           <version>4.2.6</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.identity.oauth.feature.group</id>
                           <version>4.2.6</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.identity.self.registration.server.feature.group</id>
                           <version>4.2.2</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.identity.relying.party.server.feature.group</id>
                           <version>4.2.6</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.stratos.common.feature.group</id>
                           <version>2.3.0</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.datasource.server.feature.group</id>
                           <version>4.2.1</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.bam.message.tracer.handler.feature.group</id>
                           <version>4.2.3</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.webapp.mgt.server.feature.group</id>
                           <version>4.2.2</version>
                        </feature>
                        <feature>
                           <id>org.apache.synapse.wso2.feature.group</id>
                           <version>2.1.2.wso2v7</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.identity.provider.server.feature.group</id>
                           <version>4.2.6</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.mex.feature.group</id>
                           <version>4.2.0</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.security.mgt.server.feature.group</id>
                           <version>4.2.5</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.governance.metadata.server.feature.group</id>
                           <version>4.2.2</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.module.mgt.server.feature.group</id>
                           <version>4.2.0</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.registry.contentsearch.server.feature.group</id>
                           <version>4.2.2</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.xfer.feature.group</id>
                           <version>4.2.0</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.stratos.deployment.feature.group</id>
                           <version>2.2.1</version>
                        </feature>
                        <feature>
                           <id>org.wso2.carbon.system.statistics.feature.group</id>
                           <version>4.2.2</version>
                        </feature>
                     </features>
                  </configuration>
               </execution>
            </executions>
         </plugin>
         <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-antrun-plugin</artifactId>
            <version>1.1</version>
            <executions>
               <execution>
                  <phase>package</phase>
                  <configuration>
                     <tasks>
                        <replace token="false" value="true" dir="wso2is-5.0.0/repository/components/default/configuration/org.eclipse.equinox.simpleconfigurator">
                           <include name="**/bundles.info" />
                        </replace>
                     </tasks>
                  </configuration>
                  <goals>
                     <goal>run</goal>
                  </goals>
               </execution>
            </executions>
         </plugin>
      </plugins>
   </build>
   <repositories>
      <repository>
         <id>wso2-nexus</id>
         <name>WSO2 internal Repository</name>
         <url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
         <releases>
            <enabled>true</enabled>
            <updatePolicy>daily</updatePolicy>
            <checksumPolicy>ignore</checksumPolicy>
         </releases>
      </repository>
      <repository>
         <id>wso2.releases</id>
         <name>WSO2 internal Repository</name>
         <url>http://maven.wso2.org/nexus/content/repositories/releases/</url>
         <releases>
            <enabled>true</enabled>
            <updatePolicy>daily</updatePolicy>
            <checksumPolicy>ignore</checksumPolicy>
         </releases>
      </repository>
      </repository>
   </repositories>
   <pluginRepositories>
      <pluginRepository>
         <id>wso2-maven2-repository</id>
         <url>http://dist.wso2.org/maven2</url>
      </pluginRepository>
      <pluginRepository>
         <id>wso2-maven2-snapshot-repository</id>
         <url>http://dist.wso2.org/snapshots/maven2</url>
      </pluginRepository>
   </pluginRepositories>
</project>

_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to