Bug 1326909 - Can't change group and version of projects that has a parent declaration
Summary: Can't change group and version of projects that has a parent declaration
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: manstis
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-13 18:16 UTC by William Antônio
Modified: 2020-03-27 19:02 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 19:02:11 UTC
Type: Bug


Attachments (Terms of Use)
Project editor of a pom.xml with a parent pom (61.87 KB, image/png)
2016-04-13 18:16 UTC, William Antônio
no flags Details

Description William Antônio 2016-04-13 18:16:16 UTC
Created attachment 1146925 [details]
Project editor of a pom.xml with a parent pom

Description of problem:

When a pom.xml of a business central project has a parent declaration, we can't modify the project group and version.

Version-Release number of selected component (if applicable):

n/a

How reproducible:
always

Steps to Reproduce:
1.Create a new project, edit the pom.xml and add a parent:

<?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">
      <parent>
    <groupId>com.mycompany.app</groupId>
    <artifactId>my-app</artifactId>
    <version>1</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.kie.example</groupId>
  <artifactId>project1</artifactId>
  <version>1.0.0-SNAPSHOT</version>
  <build>
    <plugins>
      <plugin>
        <groupId>org.kie</groupId>
        <artifactId>kie-maven-plugin</artifactId>
        <version>6.3.0.Final-redhat-5</version>
        <extensions>true</extensions>
      </plugin>
    </plugins>
  </build>
</project>

2. save and go to project editor
Actual results:
The fields group and version are disabled (see attached screenshot)

Expected results:
Users should be able to modify the group and version of the project

Additional info:

Workaround is edit the pom.xml source directly.


Note You need to log in before you can comment on or make changes to this bug.