Skip to content

Commit

Permalink
Merge pull request #83 from hazendaz/master
Browse files Browse the repository at this point in the history
Cleanup poms with move to native maven plugin to plugin management
  • Loading branch information
hazendaz committed Mar 11, 2023
2 parents 502c288 + 695d3fe commit 58f6062
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 61 deletions.
3 changes: 1 addition & 2 deletions core/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Copyright 2022-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,6 @@
<groupId>org.mybatis.spring.native</groupId>
<artifactId>mybatis-spring-native</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>mybatis-spring-native-core</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions docs/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Copyright 2022-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,6 @@
<groupId>org.mybatis.spring.native</groupId>
<artifactId>mybatis-spring-native</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>mybatis-spring-native-docs</artifactId>
Expand Down
3 changes: 1 addition & 2 deletions extensions/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Copyright 2022-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,6 @@
<groupId>org.mybatis.spring.native</groupId>
<artifactId>mybatis-spring-native</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>mybatis-spring-native-extensions</artifactId>
Expand Down
5 changes: 1 addition & 4 deletions samples/cache/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Copyright 2022-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,6 @@
<groupId>org.mybatis.spring.native</groupId>
<artifactId>mybatis-spring-native-samples</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>mybatis-spring-native-sample-cache</artifactId>
<name>mybatis-spring-native-sample-cache</name>
Expand Down Expand Up @@ -122,7 +121,6 @@
<id>native</id>
<properties>
<repackage.classifier>exec</repackage.classifier>
<native-buildtools.version>0.9.13</native-buildtools.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -136,7 +134,6 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-buildtools.version}</version>
<extensions>true</extensions>
<configuration>
<buildArgs>
Expand Down
5 changes: 1 addition & 4 deletions samples/configuration/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Copyright 2022-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,6 @@
<groupId>org.mybatis.spring.native</groupId>
<artifactId>mybatis-spring-native-samples</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>mybatis-spring-native-sample-configuration</artifactId>
<name>mybatis-spring-native-sample-configuration</name>
Expand Down Expand Up @@ -122,7 +121,6 @@
<id>native</id>
<properties>
<repackage.classifier>exec</repackage.classifier>
<native-buildtools.version>0.9.13</native-buildtools.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -136,7 +134,6 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-buildtools.version}</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down
5 changes: 1 addition & 4 deletions samples/dao/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Copyright 2022-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,6 @@
<groupId>org.mybatis.spring.native</groupId>
<artifactId>mybatis-spring-native-samples</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>mybatis-spring-native-sample-dao</artifactId>
<name>mybatis-spring-native-sample-dao</name>
Expand Down Expand Up @@ -122,7 +121,6 @@
<id>native</id>
<properties>
<repackage.classifier>exec</repackage.classifier>
<native-buildtools.version>0.9.13</native-buildtools.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -136,7 +134,6 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-buildtools.version}</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down
5 changes: 1 addition & 4 deletions samples/dynamic-sql/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Copyright 2022-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,6 @@
<groupId>org.mybatis.spring.native</groupId>
<artifactId>mybatis-spring-native-samples</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>mybatis-spring-native-sample-dynamic-sql</artifactId>
<name>mybatis-spring-native-sample-dynamic-sql</name>
Expand Down Expand Up @@ -126,7 +125,6 @@
<id>native</id>
<properties>
<repackage.classifier>exec</repackage.classifier>
<native-buildtools.version>0.9.13</native-buildtools.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -140,7 +138,6 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-buildtools.version}</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down
5 changes: 1 addition & 4 deletions samples/freemarker/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Copyright 2022-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,6 @@
<groupId>org.mybatis.spring.native</groupId>
<artifactId>mybatis-spring-native-samples</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>mybatis-spring-native-sample-freemarker</artifactId>
<name>mybatis-spring-native-sample-freemarker</name>
Expand Down Expand Up @@ -126,7 +125,6 @@
<id>native</id>
<properties>
<repackage.classifier>exec</repackage.classifier>
<native-buildtools.version>0.9.13</native-buildtools.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -140,7 +138,6 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-buildtools.version}</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down
23 changes: 16 additions & 7 deletions samples/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Copyright 2022-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,24 +24,20 @@
<groupId>org.mybatis.spring.native</groupId>
<artifactId>mybatis-spring-native</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>mybatis-spring-native-samples</artifactId>
<name>mybatis-spring-native-samples</name>
<packaging>pom</packaging>

<properties>
<animal.sniffer.skip>true</animal.sniffer.skip>
<enforcer.skip>true</enforcer.skip>
<maven.deploy.skip>true</maven.deploy.skip>
<maven.test.skip>true</maven.test.skip>
<maven.site.skip>true</maven.site.skip>

<native-buildtools.version>0.9.13</native-buildtools.version>
</properties>

<build>
<finalName>${project.artifactId}</finalName>
</build>

<modules>
<module>simple</module>
Expand All @@ -58,4 +54,17 @@
<module>dynamic-sql</module>
</modules>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-buildtools.version}</version>
</plugin>
</plugins>
</pluginManagement>

<finalName>${project.artifactId}</finalName>
</build>
</project>
5 changes: 1 addition & 4 deletions samples/scan/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Copyright 2022-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,6 @@
<groupId>org.mybatis.spring.native</groupId>
<artifactId>mybatis-spring-native-samples</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>mybatis-spring-native-sample-scan</artifactId>
<name>mybatis-spring-native-sample-scan</name>
Expand Down Expand Up @@ -122,7 +121,6 @@
<id>native</id>
<properties>
<repackage.classifier>exec</repackage.classifier>
<native-buildtools.version>0.9.13</native-buildtools.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -136,7 +134,6 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-buildtools.version}</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down
5 changes: 1 addition & 4 deletions samples/simple/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Copyright 2022-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,6 @@
<groupId>org.mybatis.spring.native</groupId>
<artifactId>mybatis-spring-native-samples</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>mybatis-spring-native-sample-simple</artifactId>
<name>mybatis-spring-native-sample-simple</name>
Expand Down Expand Up @@ -122,7 +121,6 @@
<id>native</id>
<properties>
<repackage.classifier>exec</repackage.classifier>
<native-buildtools.version>0.9.13</native-buildtools.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -136,7 +134,6 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-buildtools.version}</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down
5 changes: 1 addition & 4 deletions samples/sqlprovider/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2022 the original author or authors.
Copyright 2022-2023 the original author or authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -24,7 +24,6 @@
<groupId>org.mybatis.spring.native</groupId>
<artifactId>mybatis-spring-native-samples</artifactId>
<version>0.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>mybatis-spring-native-sample-sqlprovider</artifactId>
<name>mybatis-spring-native-sample-sqlprovider</name>
Expand Down Expand Up @@ -122,7 +121,6 @@
<id>native</id>
<properties>
<repackage.classifier>exec</repackage.classifier>
<native-buildtools.version>0.9.13</native-buildtools.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -136,7 +134,6 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-buildtools.version}</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down
Loading

0 comments on commit 58f6062

Please sign in to comment.