Skip to content

Commit

Permalink
Remove Maven Central repository declaration
Browse files Browse the repository at this point in the history
Maven Central is available as a repository by default when using Maven, so it's not necessary to add it explicitly.
  • Loading branch information
breun committed Mar 20, 2024
1 parent ba8aaf7 commit 88c039e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,6 @@ Similar to our mascot, Exposed can be used to mimic a variety of database engine

Releases of Exposed are available in the Maven Central repository. You can declare this repository in your build script as follows:

#### Maven

```xml
<!-- Versions after 0.30.1 -->
<!-- Versions before 0.30.1 is unavailable for now-->
<repositories>
<repository>
<id>mavenCentral</id>
<name>mavenCentral</name>
<url>https://repo1.maven.org/maven2/</url>
</repository>
</repositories>
```

#### Gradle Groovy and Kotlin DSL

**Warning:** You might need to set your Kotlin JVM target to 8, and when using Spring to 17, in order for this to work properly:
Expand All @@ -59,6 +45,10 @@ repositories {
}
```

#### Maven

The Maven Central repository is enabled by default for Maven users.

### Exposed modules

`Exposed` consists of the following modules:
Expand Down
8 changes: 0 additions & 8 deletions exposed-spring-boot-starter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ This is a starter for [Spring Boot](https://spring.io/projects/spring-boot) to u
This starter will give you the latest version of [Exposed](https://github.com/JetBrains/Exposed) and its `spring-transaction` library along with the [Spring Boot Starter Data JDBC](https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-jdbc).
### Maven
```mxml
<repositories>
<repository>
<id>mavenCentral</id>
<name>mavenCentral</name>
<url>https://repo1.maven.org/maven2/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.jetbrains.exposed</groupId>
Expand Down

0 comments on commit 88c039e

Please sign in to comment.