Skip to content

Commit

Permalink
Removes all non-core components from main branch (spring-projects#390)
Browse files Browse the repository at this point in the history
* Prunes all non-core components

Remove modules:
- spring-pulsar-spring-boot-starter
- spring-pulsar-reactive-spring-boot-starter
- spring-pulsar-spring-boot-autoconfigure
- spring-pulsar-spring-cloud-stream-binder

- Remove config props plugins
- Update docs to point to Spring Boot config props
- Move intTest into spring-pulsar and spring-pulsar-reactive

* Replace refs from `spring-projects-experimental` to `spring-projects`

* Update spring-pulsar-spring-boot-starter to 0.2.1-SNAPSHOT
  • Loading branch information
onobc authored Apr 11, 2023
1 parent 9e00c2b commit a4caa2f
Show file tree
Hide file tree
Showing 101 changed files with 182 additions and 10,836 deletions.
12 changes: 0 additions & 12 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,9 @@ Provides reference docs and handles aggregating javadocs.
=== spring-pulsar-reactive
Provides the API to access Apache Pulsar using a Reactive client.

=== spring-pulsar-reactive-spring-boot-starter
Provides a dependency descriptor that can be included in your application to easily start using Spring Pulsar in Reactive and imperative fashions.

=== spring-pulsar-sample-apps
Provides sample applications to illustrate Spring Pulsar functionality as well as provide ability for quick manual verification during development.

=== spring-pulsar-spring-boot-autoconfigure
Provides Spring Boot auto-configuration for Spring Pulsar.

=== spring-pulsar-spring-boot-starter
Provides a dependency descriptor that can be included in your application to easily start using Spring Pulsar in an imperative fashion.

=== spring-pulsar-spring-cloud-stream-binder
Provides a Spring Cloud Stream Binder implementation for Apache Pulsar.


== License
Spring Pulsar is Open Source software released under the https://www.apache.org/licenses/LICENSE-2.0.html[Apache 2.0 license].
9 changes: 1 addition & 8 deletions buildSrc/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id "java-gradle-plugin"
id 'groovy-gradle-plugin'
id "java"
id "groovy"
}
Expand Down Expand Up @@ -69,10 +70,6 @@ tasks.named('test', Test).configure {

gradlePlugin {
plugins {
configurationPropertiesPlugin {
id = "org.springframework.pulsar.configuration-properties"
implementationClass = 'org.springframework.pulsar.gradle.docs.configprops.ConfigurationPropertiesPlugin'
}
jacocoConventionsPlugin {
id = "org.springframework.pulsar.jacoco"
implementationClass = "org.springframework.pulsar.gradle.JacocoConventionsPlugin"
Expand Down Expand Up @@ -106,10 +103,6 @@ gradlePlugin {
id = "io.spring.convention.artfiactory"
implementationClass = "io.spring.gradle.convention.ArtifactoryPlugin"
}
integrationTestPlugin {
id = "io.spring.convention.integration-test"
implementationClass = "io.spring.gradle.convention.IntegrationTestPlugin"
}
repositoryConventionPlugin {
id = "io.spring.convention.repository"
implementationClass = "io.spring.gradle.convention.RepositoryConventionPlugin"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Copyright 2023-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. 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.
*/

configurations {
intTestImplementation {
extendsFrom testImplementation
}
intTestRuntime {
extendsFrom intTestImplementation, testRuntimeClasspath, testRuntimeOnly
}
intTestCompileClasspath {
extendsFrom intTestImplementation
canBeResolved = true
}
intTestRuntimeClasspath {
extendsFrom intTestRuntime
canBeResolved = true
}
}

sourceSets {
intTest {
compileClasspath += sourceSets.main.output + project.configurations.intTestCompileClasspath
runtimeClasspath += sourceSets.main.output + project.configurations.intTestRuntimeClasspath
}
}

tasks.register('integrationTest', Test) {
description = 'Runs integration tests.'
group = 'verification'

testClassesDirs = sourceSets.intTest.output.classesDirs
classpath = sourceSets.intTest.runtimeClasspath
shouldRunAfter test
}

check.dependsOn integrationTest
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package org.springframework.pulsar.gradle;

import io.spring.gradle.convention.IntegrationTestPlugin;
import io.spring.gradle.convention.RepositoryConventionPlugin;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
Expand Down Expand Up @@ -45,6 +44,5 @@ public void apply(final Project project) {
pluginManager.apply(AsciidoctorConventionsPlugin.class);
pluginManager.apply(SpringPublishPlugin.class);
pluginManager.apply(OptionalDependenciesPlugin.class);
pluginManager.apply(IntegrationTestPlugin.class);
}
}

This file was deleted.

Loading

0 comments on commit a4caa2f

Please sign in to comment.