Idea ID: 2870226

Add dependencies for CPs created via OOSHA

Status : Waiting for Votes

Hello colleagues,

We are planning to start use OOSHA tool, but we observed, that CP which is created in OOSHA is without dependencies.

<?xml version="1.0" encoding="UTF-8"?>

<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <modelVersion>4.0.0</modelVersion>

  <groupId>DEFAULT</groupId>

  <artifactId>Test_Deps</artifactId>

  <version>1.0.0</version>

  <dependencies>

    <dependency>

      <groupId>DEFAULT</groupId>

      <artifactId>Base</artifactId>

      <version>[1.16.0,)</version>

    </dependency>

  </dependencies>

</project>

 

When CP generated with OOSHA for the same project using command “createCP --projectFolder c:\Temp\oosha-2021.02.0\Test_Deps --version 1.0.0” (https://docs.microfocus.com/itom/Operations_Orchestration:2021.02/OOSHAPackaging) pom.xml looks like this:

 

<?xml version="1.0" encoding="UTF-8"?>

<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"

    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <modelVersion>4.0.0</modelVersion>

  <groupId>DEFAULT</groupId>

  <artifactId>Test_Deps</artifactId>

  <version>1.0.0</version>

</project>

This issue has been reported in case 01696398.

Thank you,

Peter

Labels:

OO - Platform
OO-Content
  • in Desktop Studio the dependencies are resolved by manual user intervention. There is an automatic process that assists you while in Studio but it is always at user control to decide whether interval should be set for the dependency, or a specific version or a specific dependency. 

    Will such user controlled approach be beneficial? (something similar to: createCP --projectFolder <> --version <> --dependencies <list of dependencies>)