rschmitt opened a new issue, #11606:
URL: https://github.com/apache/maven/issues/11606

   ### Affected version
   
   4.0.0-rc-5
   
   ### Bug description
   
   I ran `mvnup apply --model-version 4.1.0` on 
https://github.com/apache/httpcomponents-client/commit/ee6ebee1896f3ef00460182faccc6e96b1243b35
 and it added the following to the root `pom.xml` for no clear reason:
   
   ```diff
      <build>
        <defaultGoal>clean verify</defaultGoal>
   +
   +    <pluginManagement>
   +      <plugins>
   +        <plugin>
   +          <groupId>org.apache.maven.plugins</groupId>
   +          <artifactId>maven-remote-resources-plugin</artifactId>
   +          <version>3.0.0</version>
   +        </plugin>
   +      
   +        <plugin>
   +          <groupId>org.apache.maven.plugins</groupId>
   +          <artifactId>maven-shade-plugin</artifactId>
   +          <version>3.5.0</version>
   +        </plugin>
   +      </plugins>
   +    </pluginManagement>
        <plugins>
          <plugin>
   ```
   
   The resulting build seems to just hang forever. Deleting the quoted section 
(or, more specifically, the `maven-remote-resources-plugin`) causes it to 
succeed.
   
   Incidentally, I'm not a fan of the trailing whitespace inserted by the tool. 
Other than that, I can't really complain.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to