spring-data-search-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.weedow</groupId> <artifactId>spring-data-search-parent</artifactId> <version>2.0.0</version> </dependency>
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.3.1.RELEASE</version> <relativePath /> <!-- lookup parent from repository --> </parent> <groupId>com.weedow</groupId> <artifactId>spring-data-search-parent</artifactId> <version>2.0.0</version> <packaging>pom</packaging> <name>spring-data-search-parent</name> <description>Automatically exposes endpoints to search for data using a powerful query language</description> <url>https://github.com/Kobee1203/spring-data-search</url> <scm> <tag>2.0.0</tag> <url>https://github.com/Kobee1203/spring-data-search</url> <connection>scm:git:https://github.com/Kobee1203/spring-data-search.git</connection> <developerConnection>scm:git:https://github.com/Kobee1203/spring-data-search.git</developerConnection> </scm> <issueManagement> <system>GitHub Issues</system> <url>https://github.com/Kobee1203/spring-data-search/issues</url> </issueManagement> <licenses> <license> <name>The MIT License</name> <url>https://github.com/Kobee1203/spring-data-search/raw/master/LICENSE.txt</url> <distribution>repo</distribution> </license> </licenses> <properties> <encoding>UTF-8</encoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> <kotlin.version>1.4.10</kotlin.version> <dokka.version>1.4.10.2</dokka.version> <!-- Set the default Java character encoding with the same value as ${project.build.sourceEncoding} to prevent encoding errors while running tests --> <argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine> <!-- https://kotlinlang.org/docs/reference/code-style-migration-guide.html --> <kotlin.code.style>official</kotlin.code.style> <!-- Sonar Configuration --> <sonar.host.url>https://sonarcloud.io</sonar.host.url> <sonar.projectKey>spring-data-search</sonar.projectKey> <sonar.organization>kobee1203</sonar.organization> <sonar.moduleKey>${project.artifactId}</sonar.moduleKey> <sonar.coverage.jacoco.xmlReportPaths>${project.basedir}/../report/target/site/jacoco-aggregate/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> <sonar.exclusions> **/generated-sources/**, **/com/weedow/spring/data/search/common/**/*, **/com/weedow/spring/data/search/sample/**/* </sonar.exclusions> <sonar.coverage.exclusions> **/generated-sources/**, **/com/weedow/spring/data/search/common/**/*, **/com/weedow/spring/data/search/sample/**/* </sonar.coverage.exclusions> <skip.unit.tests>false</skip.unit.tests> <skip.integration.tests>false</skip.integration.tests> <!-- Dependencies versions --> <commons-lang3.version>3.9</commons-lang3.version> <commons-beanutils.version>1.9.4</commons-beanutils.version> <antlr4.version>4.8-1</antlr4.version> <!-- Testing dependencies versions --> <mockito-kotlin.version>2.2.0</mockito-kotlin.version> </properties> <modules> <module>common</module> <module>core</module> <module>jpa</module> <module>sample-app-kotlin</module> <module>sample-app-java</module> <module>sample-app-reactive</module> <module>report</module> <module>distribution</module> <!-- nexus-staging-maven-plugin requires the last module to be not skipped for deployment --> <module>dummy-module</module> </modules> <dependencyManagement> <dependencies> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>${commons-lang3.version}</version> </dependency> <dependency> <groupId>commons-beanutils</groupId> <artifactId>commons-beanutils</artifactId> <version>${commons-beanutils.version}</version> </dependency> <dependency> <groupId>org.antlr</groupId> <artifactId>antlr4-runtime</artifactId> <version>${antlr4.version}</version> </dependency> <!-- Testing Dependencies --> <dependency> <groupId>com.nhaarman.mockitokotlin2</groupId> <artifactId>mockito-kotlin</artifactId> <version>${mockito-kotlin.version}</version> <scope>test</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-reflect</artifactId> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib-jdk8</artifactId> </dependency> <!-- Testing Dependencies --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> <pluginManagement> <plugins> <plugin> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-plugin</artifactId> <configuration> <args> <arg>-Xjsr305=strict</arg> <arg>-Xjvm-default=enable</arg> </args> <compilerPlugins> <plugin>spring</plugin> <plugin>jpa</plugin> <plugin>all-open</plugin> </compilerPlugins> <pluginOptions> <!-- Each annotation is placed on its own line --> <option>all-open:annotation=javax.persistence.Entity</option> <option>all-open:annotation=javax.persistence.MappedSuperclass</option> <option>all-open:annotation=javax.persistence.Embeddable</option> </pluginOptions> </configuration> <executions> <execution> <id>compile</id> <goals> <goal>compile</goal> </goals> </execution> <execution> <id>test-compile</id> <goals> <goal>test-compile</goal> </goals> <configuration> <sourceDirs> <sourceDir>${project.basedir}/src/test/kotlin</sourceDir> <sourceDir>${project.basedir}/src/integration-test/kotlin</sourceDir> </sourceDirs> </configuration> </execution> <execution> <id>kapt</id> <goals> <goal>kapt</goal> </goals> <configuration> <sourceDirs> <sourceDir>src/main/kotlin</sourceDir> </sourceDirs> <annotationProcessorPaths> <annotationProcessorPath> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <version>${spring-boot.version}</version> </annotationProcessorPath> </annotationProcessorPaths> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-allopen</artifactId> <version>${kotlin.version}</version> </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-maven-noarg</artifactId> <version>${kotlin.version}</version> </dependency> </dependencies> </plugin> <plugin> <groupId>org.antlr</groupId> <artifactId>antlr4-maven-plugin</artifactId> <version>${antlr4.version}</version> <executions> <execution> <goals> <goal>antlr4</goal> </goals> </execution> </executions> </plugin> <!-- Integration tests management --> <!-- Add the following plugin declarations in the module: <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> </plugin> --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>add-integration-test-resources</id> <phase>generate-test-resources</phase> <goals> <goal>add-test-resource</goal> </goals> <configuration> <resources> <resource> <filtering>true</filtering> <directory>src/integration-test/resources</directory> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <configuration> <groups>IntegrationTest</groups> <includes> <include>**/*Test.java</include> </includes> </configuration> <executions> <execution> <id>integration-tests</id> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> <configuration> <skipTests>${skip.integration.tests}</skipTests> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.jetbrains.dokka</groupId> <artifactId>dokka-maven-plugin</artifactId> <version>${dokka.version}</version> <executions> <execution> <phase>prepare-package</phase> <goals> <goal>dokka</goal> <goal>javadocJar</goal> </goals> </execution> </executions> <configuration> <jdkVersion>8</jdkVersion> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>3.3.0</version> <configuration> <descriptors> <descriptor>src/assembly/assembly.xml</descriptor> </descriptors> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <excludedGroups>IntegrationTest</excludedGroups> <skipTests>${skip.unit.tests}</skipTests> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-deploy-plugin</artifactId> <version>3.0.0-M1</version> <executions> <execution> <id>default-deploy</id> <phase>deploy</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>3.0.0-M1</version> <configuration> <autoVersionSubmodules>true</autoVersionSubmodules> <tagNameFormat>@{project.version}</tagNameFormat> <arguments>-Dgpg.passphrase="${gpg.passphrase}"</arguments> </configuration> <dependencies> <dependency> <groupId>org.apache.maven.scm</groupId> <artifactId>maven-scm-provider-gitexe</artifactId> <version>1.11.2</version> </dependency> </dependencies> </plugin> <!-- Code Coverage (Jacoco) --> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.5</version> <executions> <execution> <id>default-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jxr-plugin</artifactId> <version>3.0.0</version> <reportSets> <reportSet> <id>aggregate</id> <inherited>false</inherited> <reports> <report>aggregate</report> </reports> </reportSet> </reportSets> <configuration> <linkJavadoc>true</linkJavadoc> </configuration> </plugin> </plugins> </reporting> <pluginRepositories> <!-- Required by Dokka plugin --> <pluginRepository> <id>jcenter</id> <name>JCenter</name> <url>https://jcenter.bintray.com/</url> <releases> <enabled>true</enabled> </releases> </pluginRepository> </pluginRepositories> <profiles> <profile> <id>all-tests</id> <activation> <activeByDefault>true</activeByDefault> </activation> </profile> <profile> <id>skip-all-tests</id> <properties> <skip.integration.tests>true</skip.integration.tests> <skip.unit.tests>true</skip.unit.tests> </properties> </profile> <profile> <id>unit-test</id> <properties> <skip.integration.tests>true</skip.integration.tests> <skip.unit.tests>false</skip.unit.tests> </properties> </profile> <profile> <id>integration-test</id> <properties> <skip.integration.tests>false</skip.integration.tests> <skip.unit.tests>true</skip.unit.tests> </properties> </profile> <profile> <id>release</id> <build> <plugins> <!-- Attache JAR of sources --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <!-- GPG Signature on release --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> <configuration> <!-- Add GPG passphrase in Maven settings.xml under .m2 home, see https://dzone.com/articles/publish-your-artifacts-to-maven-central https://gist.github.com/sualeh/ae78dc16123899d7942bc38baba5203c --> <keyname>${gpg.keyname}</keyname> <passphraseServerId>${gpg.keyname}</passphraseServerId> <gpgArguments> <arg>--pinentry-mode</arg> <arg>loopback</arg> </gpgArguments> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>ossrh</id> <build> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.8</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> </repository> </distributionManagement> </profile> <profile> <id>github</id> <distributionManagement> <repository> <id>github</id> <name>GitHub Packages</name> <url>https://maven.pkg.github.com/Kobee1203/spring-data-search</url> </repository> </distributionManagement> </profile> </profiles> </project>