Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use spring-boot-starter-parent in spring-batch-excel #163

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

scordio
Copy link
Collaborator

@scordio scordio commented Dec 20, 2024

Similar to #159, this PR:

  • Uses the latest spring-boot-starter-parent to keep all the dependency and plugin versions aligned
  • Uses the flatten-maven-plugin with ossrh flatten mode to strip all the unnecessary details from the final POM
Flattened POM

<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright 2006-2024 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.
  ~ You may obtain a copy of the License at
  ~
  ~       https://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://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>
  <groupId>org.springframework.batch.extensions</groupId>
  <artifactId>spring-batch-excel</artifactId>
  <version>0.2.0-SNAPSHOT</version>
  <name>Spring Batch Excel</name>
  <description>Spring Batch extension for Microsoft Excel</description>
  <url>https://github.com/spring-projects/spring-batch-extensions/tree/main/spring-batch-excel</url>
  <licenses>
    <license>
      <name>Apache 2.0</name>
      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <developers>
    <developer>
      <id>mdeinum</id>
      <name>Marten Deinum</name>
      <email>[email protected]</email>
    </developer>
  </developers>
  <scm>
    <connection>git://github.com/spring-projects/spring-batch-extensions.git</connection>
    <developerConnection>[email protected]:spring-projects/spring-batch-extensions.git</developerConnection>
    <url>https://github.com/spring-projects/spring-batch-extensions</url>
  </scm>
  <dependencies>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi</artifactId>
      <version>5.3.0</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.apache.poi</groupId>
      <artifactId>poi-ooxml</artifactId>
      <version>5.3.0</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>
    <dependency>
      <groupId>org.springframework.batch</groupId>
      <artifactId>spring-batch-core</artifactId>
      <version>5.2.1</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</project>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant