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.xmlfile from theBusiness Centralproject overwrites tags likeexclusion,optionalandscopein thedependenciessection after userBuild & Deploythe 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.xmlfile's extra tags and replaces them with the simple G.A.Vs when clickingYes. If users clickNoto also save the project, thepom.xmladditional 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
