Skip to content

Commit

Permalink
Upcoming maven release likes modelVersions in tiles
Browse files Browse the repository at this point in the history
Change-Id: I355a6663eabd5228e481e0dba33783aa07ad2e1f
  • Loading branch information
talios committed May 27, 2020
1 parent 2a0c010 commit 4630e23
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/it/civersion-tiletest/tile-tile1/tile.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<properties>
<foo.bar.tile1>tile1</foo.bar.tile1>
</properties>
Expand Down
1 change: 1 addition & 0 deletions src/it/civersion-tiletest/tile-tile2/tile.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<properties>
<foo.bar.tile2>tile2</foo.bar.tile2>
</properties>
Expand Down
1 change: 1 addition & 0 deletions src/it/civersion-tiletest/tile-tile3/tile.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<build>
<plugins>
<plugin>
Expand Down
1 change: 1 addition & 0 deletions src/it/sitereporting-tiletest/tile-tile/tile.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<build>
<plugins>
<plugin>
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/antrun1-tile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<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">
<modelVersion>4.0.0</modelVersion>
<build>
<plugins>
<plugin>
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/antrun2-tile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<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">
<modelVersion>4.0.0</modelVersion>

<dependencyManagement>
<dependencies>
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/bad-smelly-tile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<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">
<modelVersion>4.0.0</modelVersion>

<properties>
<one>1</one>
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/execution-id-tile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<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">
<modelVersion>4.0.0</modelVersion>

<build>
<plugins>
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/extended-syntax-tile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<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">
<modelVersion>4.0.0</modelVersion>

<properties>
<one>1</one>
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/filtering/tile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<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">
<modelVersion>4.0.0</modelVersion>

<tiles>
<tile>groupid:antrun1-tile:@project.version@</tile>
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/invalid-tile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<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">
<modelVersion>4.0.0</modelVersion>

<properties>
<one>1</one>
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/release-tile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
-->
<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">
<modelVersion>4.0.0</modelVersion>
<distributionManagement>
<repository>
<id>sonatype-staging</id>
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/session-license-tile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<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">
<modelVersion>4.0.0</modelVersion>

<properties>
<one>1</one>
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/smelly-tile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<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">
<modelVersion>4.0.0</modelVersion>

<properties>
<one>1</one>
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/test-merge-tile/kapt-dinject-tile.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>

<description>
Add KAPT annotation processor to generate DInject Dependency injection (as java source code).
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/test-merge-tile/kapt-javalin-tile.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>

<description>
Add KAPT annotation processor to generate javalin controllers (as java source code).
Expand Down
8 changes: 4 additions & 4 deletions src/test/resources/test-merge-tile/kapt-tile.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>

<modelVersion>4.0.0</modelVersion>
<description>
Kotlin compiler with KAPT annotation processing support.
</description>
Expand Down Expand Up @@ -42,9 +42,9 @@
</sourceDirs>
<annotationProcessorPaths>

<!-- annotation processors added here -->
</annotationProcessorPaths>
<!-- annotation processors added here -->

</annotationProcessorPaths>
</configuration>
</execution>

Expand Down

0 comments on commit 4630e23

Please sign in to comment.