IntentArchitect / Support

A repository dedicated to handling issues and support queries
3 stars 0 forks source link

JavaDependency - Type requirement #60

Closed leonAtRain closed 9 months ago

leonAtRain commented 11 months ago

What happened?

Adding JavaDependency in a Template requires sometimes that the type be specified as sell, for example:

<dependency>
  <groupId>com.google.protobuf</groupId>
  <artifactId>protoc</artifactId>
  <version>${protoc.version}</version>
  **<type>pom</type>**
</dependency>

I only see the "Optional" tag that can be set - would it be possible to add the type as well. There are other options that might be useful later as well, but I've not came across them all yet, although I do have use for "scope" and "exclusions" - never used any of the others. image

What version of Intent Architect are you using?

4

Additional information

No response

dandrejvv commented 11 months ago

Hi @leonAtRain We can certainly look at these capabilities. Will add it in our backlog to assess and will inform you of any updates.

JonathanLydall commented 11 months ago

Hi @leonAtRain,

We've now added properties and constructor parameters for exclusions, scope and type on the JavaDependency type.

To have access to these additional properties in your module source code, you will need to ensure you are using at least version 3.4.5-pre.1 of the Intent.Modules.Common.Java NuGet package and your Intent Architect application will require at least version 3.3.11-pre.1 of the Intent.Java.Maven module to be installed.

Please give it a try and let us know if you have questions.