-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch the build to using Maven 4 and the 4.1.0 model #1175
base: master
Are you sure you want to change the base?
Conversation
BOM GA's changed, this PR will now fail with beta-5 unless updated |
agent/pom.xml
Outdated
@@ -16,14 +16,10 @@ | |||
limitations under the License. | |||
|
|||
--> | |||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |||
<project xmlns="http://maven.apache.org/POM/4.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.1.0 http://maven.apache.org/maven-v4_1_0.xsd"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the correct location for the XSD is https://maven.apache.org/xsd/maven-4.1.0-beta-4.xsd. The current URL gives a HTML page with "Not found".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's right, it needs to be fixed.
However, I think we did set up a redirection and https://maven.apache.org/xsd/maven-4.1.0.xsd
will redirect to latest beta. I can't find out where this redirect source is...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So http://maven.apache.org/maven-v4_0_0.xsd
also redirects to https://maven.apache.org/xsd/maven-4.0.0.xsd
...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agent/pom.xml
Outdated
<artifactId>mvnd</artifactId> | ||
<version>2.0.0-beta-2-SNAPSHOT</version> | ||
</parent> | ||
<modelVersion>4.1.0</modelVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be inferred from the XSD, so we could drop it.
build-plugin/pom.xml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as agent/pom.xml.
client/pom.xml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as agent/pom.xml.
common/pom.xml
Outdated
@@ -55,11 +51,6 @@ | |||
<artifactId>junit-jupiter</artifactId> | |||
<scope>test</scope> | |||
</dependency> | |||
<dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this dependency not necessary anymore? The change seems unrelated to me...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as agent/pom.xml.
<version>${project.version}</version> | ||
<groupId>org.assertj</groupId> | ||
<artifactId>assertj-core</artifactId> | ||
<version>${assertj.version}</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add <scope>test</scope>
here?
b878f40
to
f9c52f1
Compare
f9c52f1
to
97e9cde
Compare
This PR obviously needs a CI change to build with 4.0.0-beta-5, but it serves as a testing for apache/maven#1818