Skip to content

Commit 0fa7444

Browse files
committed
adjust checkUploadedArtifacts to newly generated POM
because now that we use the `java-library` plugin Gradle seems to add some extra commentary to generated POMs informing about the backing richer domain model. Since the comments contain some needle that we probably want to keep / assert (`published-with-gradle-metadata`), I have simply adjusted the POMs to contain these comments verbatim. I hope this will be robust for a while, but on the other hand I think we want to be informed about any way the generated POM files change. Signed-off-by: Peter Gafert <[email protected]>
1 parent b79220f commit 0fa7444

File tree

6 files changed

+30
-0
lines changed

6 files changed

+30
-0
lines changed

build-steps/release/expected/archunit-junit4.pom

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<!-- This module was also published with a richer model, Gradle metadata, -->
5+
<!-- which should be used instead. Do not delete the following line which -->
6+
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
7+
<!-- that they should prefer consuming it instead. -->
8+
<!-- do_not_remove: published-with-gradle-metadata -->
49
<modelVersion>4.0.0</modelVersion>
510
<groupId>com.tngtech.archunit</groupId>
611
<artifactId>archunit-junit4</artifactId>

build-steps/release/expected/archunit-junit5-api.pom

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<!-- This module was also published with a richer model, Gradle metadata, -->
5+
<!-- which should be used instead. Do not delete the following line which -->
6+
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
7+
<!-- that they should prefer consuming it instead. -->
8+
<!-- do_not_remove: published-with-gradle-metadata -->
49
<modelVersion>4.0.0</modelVersion>
510
<groupId>com.tngtech.archunit</groupId>
611
<artifactId>archunit-junit5-api</artifactId>

build-steps/release/expected/archunit-junit5-engine-api.pom

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<!-- This module was also published with a richer model, Gradle metadata, -->
5+
<!-- which should be used instead. Do not delete the following line which -->
6+
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
7+
<!-- that they should prefer consuming it instead. -->
8+
<!-- do_not_remove: published-with-gradle-metadata -->
49
<modelVersion>4.0.0</modelVersion>
510
<groupId>com.tngtech.archunit</groupId>
611
<artifactId>archunit-junit5-engine-api</artifactId>

build-steps/release/expected/archunit-junit5-engine.pom

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<!-- This module was also published with a richer model, Gradle metadata, -->
5+
<!-- which should be used instead. Do not delete the following line which -->
6+
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
7+
<!-- that they should prefer consuming it instead. -->
8+
<!-- do_not_remove: published-with-gradle-metadata -->
49
<modelVersion>4.0.0</modelVersion>
510
<groupId>com.tngtech.archunit</groupId>
611
<artifactId>archunit-junit5-engine</artifactId>

build-steps/release/expected/archunit-junit5.pom

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns="http://maven.apache.org/POM/4.0.0"
44
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5+
<!-- This module was also published with a richer model, Gradle metadata, -->
6+
<!-- which should be used instead. Do not delete the following line which -->
7+
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
8+
<!-- that they should prefer consuming it instead. -->
9+
<!-- do_not_remove: published-with-gradle-metadata -->
510
<modelVersion>4.0.0</modelVersion>
611
<groupId>com.tngtech.archunit</groupId>
712
<artifactId>archunit-junit5</artifactId>

build-steps/release/expected/archunit.pom

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4+
<!-- This module was also published with a richer model, Gradle metadata, -->
5+
<!-- which should be used instead. Do not delete the following line which -->
6+
<!-- is to indicate to Gradle or any Gradle module metadata file consumer -->
7+
<!-- that they should prefer consuming it instead. -->
8+
<!-- do_not_remove: published-with-gradle-metadata -->
49
<modelVersion>4.0.0</modelVersion>
510
<groupId>com.tngtech.archunit</groupId>
611
<artifactId>archunit</artifactId>

0 commit comments

Comments
 (0)