Skip to content

Commit

Permalink
update pom
Browse files Browse the repository at this point in the history
  • Loading branch information
Netyyyy committed Dec 26, 2024
1 parent 6d92f8c commit 13a0870
Showing 1 changed file with 51 additions and 237 deletions.
288 changes: 51 additions & 237 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,241 +11,55 @@

<name>Azure Spring Boot Samples for Spring Cloud Azure</name>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${version.spring.boot}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${version.spring.cloud}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.azure.spring</groupId>
<artifactId>spring-cloud-azure-dependencies</artifactId>
<version>${version.spring.cloud.azure}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${version.spring.boot}</version>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.maven-surefire-plugin}</version>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>spring-cloud-azure-5.x</id>
<modules>
<module>
appconfiguration/spring-cloud-azure-appconfiguration-config/spring-cloud-azure-appconfiguration-config-convert-sample/spring-cloud-azure-appconfiguration-config-convert-sample-complete
</module>
<module>
appconfiguration/spring-cloud-azure-appconfiguration-config/spring-cloud-azure-appconfiguration-config-convert-sample/spring-cloud-azure-appconfiguration-config-convert-sample-initial
</module>
<module>appconfiguration/spring-cloud-azure-appconfiguration-config/spring-cloud-azure-appconfiguration-config-sample</module>
<module>appconfiguration/spring-cloud-azure-feature-management-web/spring-cloud-azure-feature-management-web-sample</module>
<module>appconfiguration/spring-cloud-azure-feature-management-web/spring-cloud-azure-targeting-filter-web-sample</module>
<module>appconfiguration/spring-cloud-azure-feature-management/spring-cloud-azure-feature-management-sample</module>
<module>appconfiguration/spring-cloud-azure-starter-appconfiguration-config/spring-cloud-azure-starter-appconfiguration-config-sample</module>
<module>appconfiguration/spring-cloud-azure-starter-appconfiguration-config/spring-cloud-azure-starter-appconfiguration-config-entraid-sample</module>
<module>appconfiguration/spring-cloud-azure-starter-appconfiguration/appconfiguration-client</module>
<module>cache/spring-cloud-azure-redis-sample</module>
<module>cache/spring-cloud-azure-redis-sample-passwordless</module>
<module>cosmos/spring-cloud-azure-starter-cosmos/spring-cloud-azure-cosmos-sample</module>
<module>cosmos/azure-spring-data-cosmos/cosmos-aad-sample</module>
<module>cosmos/azure-spring-data-cosmos/cosmos-multi-database-multi-account</module>
<module>cosmos/azure-spring-data-cosmos/cosmos-multi-database-single-account</module>
<module>cosmos/azure-spring-data-cosmos/cosmos-mvc-sample</module>
<module>cosmos/azure-spring-data-cosmos/cosmos-quickstart-samples</module>
<module>cosmos/spring-cloud-azure-starter-data-cosmos/spring-cloud-azure-data-cosmos-aks-sample</module>
<module>cosmos/spring-cloud-azure-starter-data-cosmos/spring-cloud-azure-data-cosmos-sample</module>
<module>eventgrid/spring-cloud-azure-starter-eventgrid/spring-cloud-azure-sample-eventgrid</module>
<module>eventhubs/spring-cloud-azure-starter-integration-eventhubs/eventhubs-integration</module>
<module>eventhubs/spring-cloud-azure-starter/spring-cloud-azure-sample-eventhubs-kafka</module>
<module>eventhubs/spring-cloud-azure-starter-eventhubs/eventhubs-client</module>
<module>eventhubs/spring-cloud-azure-stream-binder-eventhubs/eventhubs-binder</module>
<module>eventhubs/spring-cloud-azure-stream-binder-eventhubs/eventhubs-multibinders</module>
<module>eventhubs/spring-messaging-azure-eventhubs/eventhubs-spring-messaging</module>
<module>keyvault/spring-cloud-azure-starter-keyvault-secrets/property-source</module>
<module>keyvault/spring-cloud-azure-starter-keyvault-secrets/secret-client</module>
<module>mysql/spring-cloud-azure-starter-jdbc-mysql/spring-cloud-azure-mysql-sample</module>
<module>postgresql/spring-cloud-azure-starter-jdbc-postgresql/spring-cloud-azure-postgresql-sample</module>
<module>servicebus/spring-cloud-azure-starter-servicebus/servicebus-queue</module>
<module>servicebus/spring-cloud-azure-starter-servicebus/servicebus-topic</module>
<module>servicebus/spring-cloud-azure-starter-servicebus-jms/servicebus-jms-queue</module>
<module>servicebus/spring-cloud-azure-starter-servicebus-jms/servicebus-jms-topic</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-queue-binder</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-multibinders/spring3sample</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-topic-binder</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-queue-binder-arm</module>
<module>servicebus/spring-cloud-azure-starter-integration-servicebus/multiple-namespaces</module>
<module>servicebus/spring-cloud-azure-starter-integration-servicebus/single-namespace</module>
<module>servicebus/spring-messaging-azure-servicebus/servicebus-spring-messaging</module>
<module>storage/spring-cloud-azure-starter-storage-blob/storage-blob-sample</module>
<module>storage/spring-cloud-azure-starter-storage-file-share/storage-file-sample</module>
<module>storage/spring-cloud-azure-starter-integration-storage-queue/storage-queue-operation</module>
<module>storage/spring-cloud-azure-starter-integration-storage-queue/storage-queue-integration</module>
<module>storage/spring-cloud-azure-starter-storage-queue/storage-queue-client</module>
<module>storage/spring-messaging-azure-storage-queue/storage-queue-spring-messaging</module>
<module>testcontainers/cosmos</module>
<module>testcontainers/storage-blob</module>
<module>testcontainers/storage-queue</module>
</modules>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<java.version>17</java.version>
<version.spring.boot>3.4.0</version.spring.boot>
<version.spring.cloud>2024.0.0</version.spring.cloud>
<version.spring.cloud.azure>5.19.0</version.spring.cloud.azure>
<version.thymeleaf-extras-springsecurity6>3.1.1.RELEASE</version.thymeleaf-extras-springsecurity6>
<version.jakarta-persistence>3.1.0</version.jakarta-persistence>
<version.testcontainers.azure>1.20.0</version.testcontainers.azure>
<version.maven-surefire-plugin>2.22.0</version.maven-surefire-plugin>
<mockito.version>4.11.0</mockito.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.thymeleaf.extras</groupId>
<artifactId>thymeleaf-extras-springsecurity6</artifactId>
<version>${version.thymeleaf-extras-springsecurity6}</version>
</dependency>
<dependency>
<groupId>jakarta.persistence</groupId>
<artifactId>jakarta.persistence-api</artifactId>
<version>${version.jakarta-persistence}</version>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>azure</artifactId>
<version>${version.testcontainers.azure}</version>
</dependency>
</dependencies>
</dependencyManagement>
</profile>
<profile>
<id>native-5.x</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<builder>paketobuildpacks/builder:tiny</builder>
<env>
<BP_NATIVE_IMAGE>true</BP_NATIVE_IMAGE>
</env>
</image>
</configuration>
<executions>
<execution>
<id>process-aot</id>
<goals>
<goal>process-aot</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<configuration>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
<metadataRepository>
<enabled>true</enabled>
</metadataRepository>
<requiredVersion>22.3</requiredVersion>
</configuration>
<executions>
<execution>
<id>add-reachability-metadata</id>
<goals>
<goal>add-reachability-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
<profile>
<id>nativeTest-5.x</id>
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<id>process-test-aot</id>
<goals>
<goal>process-test-aot</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<configuration>
<classesDirectory>${project.build.outputDirectory}</classesDirectory>
<metadataRepository>
<enabled>true</enabled>
</metadataRepository>
<requiredVersion>22.3</requiredVersion>
</configuration>
<executions>
<execution>
<id>native-test</id>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<modules>
<module>appconfiguration/spring-cloud-azure-appconfiguration-config/spring-cloud-azure-appconfiguration-config-convert-sample/spring-cloud-azure-appconfiguration-config-convert-sample-complete</module>
<module>appconfiguration/spring-cloud-azure-appconfiguration-config/spring-cloud-azure-appconfiguration-config-convert-sample/spring-cloud-azure-appconfiguration-config-convert-sample-initial</module>
<module>appconfiguration/spring-cloud-azure-appconfiguration-config/spring-cloud-azure-appconfiguration-config-sample</module>
<module>appconfiguration/spring-cloud-azure-feature-management-web/spring-cloud-azure-feature-management-web-sample</module>
<module>appconfiguration/spring-cloud-azure-feature-management-web/spring-cloud-azure-targeting-filter-web-sample</module>
<module>appconfiguration/spring-cloud-azure-feature-management/spring-cloud-azure-feature-management-sample</module>
<module>appconfiguration/spring-cloud-azure-starter-appconfiguration-config/spring-cloud-azure-starter-appconfiguration-config-sample</module>
<module>appconfiguration/spring-cloud-azure-starter-appconfiguration-config/spring-cloud-azure-starter-appconfiguration-config-entraid-sample</module>
<module>appconfiguration/spring-cloud-azure-starter-appconfiguration/appconfiguration-client</module>
<module>cache/spring-cloud-azure-redis-sample</module>
<module>cache/spring-cloud-azure-redis-sample-passwordless</module>
<module>cosmos/spring-cloud-azure-starter-cosmos/spring-cloud-azure-cosmos-sample</module>
<module>cosmos/azure-spring-data-cosmos/cosmos-aad-sample</module>
<module>cosmos/azure-spring-data-cosmos/cosmos-multi-database-multi-account</module>
<module>cosmos/azure-spring-data-cosmos/cosmos-multi-database-single-account</module>
<module>cosmos/azure-spring-data-cosmos/cosmos-mvc-sample</module>
<module>cosmos/azure-spring-data-cosmos/cosmos-quickstart-samples</module>
<module>cosmos/spring-cloud-azure-starter-data-cosmos/spring-cloud-azure-data-cosmos-sample</module>
<module>eventgrid/spring-cloud-azure-starter-eventgrid/spring-cloud-azure-sample-eventgrid</module>
<module>eventhubs/spring-cloud-azure-starter-integration-eventhubs/eventhubs-integration</module>
<module>eventhubs/spring-cloud-azure-starter/spring-cloud-azure-sample-eventhubs-kafka</module>
<module>eventhubs/spring-cloud-azure-starter-eventhubs/eventhubs-client</module>
<module>eventhubs/spring-cloud-azure-stream-binder-eventhubs/eventhubs-binder</module>
<module>eventhubs/spring-cloud-azure-stream-binder-eventhubs/eventhubs-multibinders</module>
<module>eventhubs/spring-messaging-azure-eventhubs/eventhubs-spring-messaging</module>
<module>keyvault/spring-cloud-azure-starter-keyvault-secrets/property-source</module>
<module>keyvault/spring-cloud-azure-starter-keyvault-secrets/secret-client</module>
<module>mysql/spring-cloud-azure-starter-jdbc-mysql/spring-cloud-azure-mysql-sample</module>
<module>postgresql/spring-cloud-azure-starter-jdbc-postgresql/spring-cloud-azure-postgresql-sample</module>
<module>servicebus/spring-cloud-azure-starter-servicebus/servicebus-queue</module>
<module>servicebus/spring-cloud-azure-starter-servicebus/servicebus-topic</module>
<module>servicebus/spring-cloud-azure-starter-servicebus-jms/servicebus-jms-queue</module>
<module>servicebus/spring-cloud-azure-starter-servicebus-jms/servicebus-jms-topic</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-queue-binder</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-multibinders</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-topic-binder</module>
<module>servicebus/spring-cloud-azure-stream-binder-servicebus/servicebus-queue-binder-arm</module>
<module>servicebus/spring-cloud-azure-starter-integration-servicebus/multiple-namespaces</module>
<module>servicebus/spring-cloud-azure-starter-integration-servicebus/single-namespace</module>
<module>servicebus/spring-messaging-azure-servicebus/servicebus-spring-messaging</module>
<module>storage/spring-cloud-azure-starter-storage-blob/storage-blob-sample</module>
<module>storage/spring-cloud-azure-starter-storage-file-share/storage-file-sample</module>
<module>storage/spring-cloud-azure-starter-integration-storage-queue/storage-queue-operation</module>
<module>storage/spring-cloud-azure-starter-integration-storage-queue/storage-queue-integration</module>
<module>storage/spring-cloud-azure-starter-storage-queue/storage-queue-client</module>
<module>storage/spring-messaging-azure-storage-queue/storage-queue-spring-messaging</module>
<module>testcontainers/cosmos</module>
<module>testcontainers/storage-blob</module>
<module>testcontainers/storage-queue</module>
</modules>
</project>

0 comments on commit 13a0870

Please sign in to comment.