pom.xml file of Business Central project overwrites tags like "exclusion", "optional" and "scope" in the "dependencies" section after building the project
Issue
- It has been observed that the
pom.xml
file from theBusiness Central
project overwrites tags likeexclusion
,optional
andscope
in thedependencies
section after userBuild & Deploy
the project. e.g.
Before building the project.
...
<groupId>org.kie.example</groupId>
<artifactId>project1</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>kjar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.2.6.redhat-3</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
...
After building the project.
...
<groupId>org.kie.example</groupId>
<artifactId>project1</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>kjar</packaging>
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.2.6.redhat-3</version>
</dependency>
</dependencies>
...
- When clicking
Build and Deploy
, the following promptAlso save possible changes to project?
overwrites thepom.xml
file's extra tags and replaces them with the simple G.A.Vs when clickingYes
. If users clickNo
to also save the project, thepom.xml
additional tags are preserved.
Environment
- Red Hat JBoss BPM Suite (BPMS)
- 6.0.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.