Port the build to Gradle

Closes gh-1457
This commit is contained in:
Andy Wilkinson
2025-02-27 15:56:32 +00:00
committed by Stéphane Nicoll
parent 3a60f3638e
commit 49e6c9a70f
62 changed files with 1186 additions and 2716 deletions

32
spring-xml/build.gradle Normal file
View File

@@ -0,0 +1,32 @@
plugins {
id "java-library"
id "maven-publish"
id "org.springframework.ws.conventions"
id "org.springframework.ws.optional-dependencies"
}
description = "Spring XML"
repositories {
mavenCentral()
}
dependencies {
api("com.sun.xml.messaging.saaj:saaj-impl") {
exclude(group: "org.eclipse.angus", module: "angus-activation")
}
api("jakarta.activation:jakarta.activation-api")
api("jakarta.xml.soap:jakarta.xml.soap-api")
api("org.springframework:spring-beans")
api("org.springframework:spring-context")
optional("org.apache.ws.xmlschema:xmlschema-core")
optional("jaxen:jaxen")
testImplementation("org.apache.commons:commons-collections4")
testImplementation("org.assertj:assertj-core")
testImplementation("org.easymock:easymock")
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.mockito:mockito-core")
testImplementation("org.xmlunit:xmlunit-assertj")
}

View File

@@ -1,105 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws</artifactId>
<version>4.0.12-SNAPSHOT</version>
</parent>
<artifactId>spring-xml</artifactId>
<description>Spring XML</description>
<dependencies>
<dependency>
<groupId>com.sun.xml.messaging.saaj</groupId>
<artifactId>saaj-impl</artifactId>
</dependency>
<dependency>
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.xml.soap</groupId>
<artifactId>jakarta.xml.soap-api</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
</dependency>
<dependency>
<groupId>org.apache.ws.xmlschema</groupId>
<artifactId>xmlschema-core</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-collections4</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-assertj</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>docs</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>docs</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<skipAssembly>true</skipAssembly>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>