Skip to content

Conversation

@petrberan
Copy link
Member

@petrberan petrberan requested a review from xstefank November 10, 2023 16:09
Copy link
Member

@xstefank xstefank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an enormous duplication. Maybe in future we could generate these files.

<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-compiler-javac</artifactId>
<version>${version.org.codehaus.plexus.compiler.javac}</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't it be better to keep it version.package.of.dependency?

<dependency>
<groupId>org.jboss.shrinkwrap</groupId>
<artifactId>shrinkwrap-bom</artifactId>
<version>${version.org.jboss.shrinkwrap}</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably keep like this

@petrberan
Copy link
Member Author

Wrong commit, will resolve tomorrow

@petrberan
Copy link
Member Author

Fixed

Copy link
Member

@xstefank xstefank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find it hard to believe you need to have a separate version for every artifact. Align what you can.

<groupId>org.gradle</groupId>
<artifactId>gradle-tooling-api</artifactId>
<version>${version.gradle-tooling-api}</version>
<version>${version.org.gradle.gradle-tooling-api}</version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still think you should go with package, not package.artifact. If we will have some automation in the future we should align this with what you will have in main pom.xml

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Having problem understanding what is the desired outcome for this comment. Can you provide expected version property for - for example - arquillian-spacelift-api?

<format>html</format>
<format>xml</format>
</formats>
<check/>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check tag is required by the plugin config, in this case it doesn't do anything. This tag makes IDEA not consider it an error anymore

<version.org.codehaus.plexus.plexus-classworlds>2.7.0</version.org.codehaus.plexus.plexus-classworlds>
<version.org.codehaus.plexus.plexus-compiler-javac>2.7</version.org.codehaus.plexus.plexus-compiler-javac>
<version.org.codehaus.plexus.plexus-component-annotations>2.1.0</version.org.codehaus.plexus.plexus-component-annotations>
<version.org.codehaus.plexus.plexus-sec-dispatcher>2.0</version.org.codehaus.plexus.plexus-sec-dispatcher>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to align versions where you can from the same projects.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goal of this issue is to clean up the poms, updating versions will be part of the future development

Copy link
Member

@xstefank xstefank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After @petrberan explained to me that he plans to finish remaining comments in a followup issue. I'm merging this.

@petrberan petrberan merged commit c7360e5 into shrinkwrap:master Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants