wunmi-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.github.adeyinka7789</groupId>
<artifactId>wunmi-parent</artifactId>
<version>0.4.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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.github.adeyinka7789</groupId>
<artifactId>wunmi-parent</artifactId>
<version>0.4.0</version>
<packaging>pom</packaging>
<name>wunmi</name>
<description>A small, robust feature-flag engine for Java — kill switches, per-subject/segment
overrides, and percentage rollouts, with pluggable storage, caching, audit, and context.</description>
<url>https://github.com/Adeyinka7789/wunmi</url>
<licenses>
<license>
<name>The Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<developers>
<developer>
<id>adeyinka7789</id>
<name>Adeyinka</name>
<url>https://github.com/Adeyinka7789</url>
</developer>
</developers>
<scm>
<connection>scm:git:https://github.com/Adeyinka7789/wunmi.git</connection>
<developerConnection>scm:git:git@github.com:Adeyinka7789/wunmi.git</developerConnection>
<url>https://github.com/Adeyinka7789/wunmi</url>
</scm>
<modules>
<module>wunmi-core</module>
<module>wunmi-jdbc</module>
<module>wunmi-spring-boot-starter</module>
<module>wunmi-admin-ui</module>
<module>examples/spring-boot-demo</module>
</modules>
<properties>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<slf4j.version>2.0.13</slf4j.version>
<spring-boot.version>3.3.2</spring-boot.version>
<junit.version>5.10.2</junit.version>
<assertj.version>3.25.3</assertj.version>
<mockito.version>5.11.0</mockito.version>
<h2.version>2.2.224</h2.version>
</properties>
<dependencyManagement>
<dependencies>
<!-- Spring Boot BOM aligns all Spring/test versions for the starter module. -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.github.adeyinka7789</groupId>
<artifactId>wunmi-core</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>io.github.adeyinka7789</groupId>
<artifactId>wunmi-jdbc</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<!-- Retain method parameter names (belt-and-suspenders alongside explicit
@PathVariable names): also helps @ConfigurationProperties binding. -->
<parameters>true</parameters>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<!--
Release to Maven Central (Sonatype Central Portal). Activate with -Prelease.
Prerequisites you provide:
- settings.xml server: <id>central</id> with your Central Portal user token / password
- a published GPG key; pass -Dgpg.passphrase=… (or configure gpg-agent)
Then, from a tagged, non-SNAPSHOT version: mvn -Prelease deploy
-->
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals><goal>jar-no-fork</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<doclint>none</doclint>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals><goal>jar</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals><goal>sign</goal></goals>
</execution>
</executions>
<configuration>
<!-- gpg 2.4 ignores a supplied passphrase unless pinentry is looped
back; required for a non-interactive Maven deploy. -->
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.7.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>true</autoPublish>
<!-- The demo module is a sample, not a library. maven.deploy.skip does
NOT keep it out of the Central bundle (this plugin stages from its
own dir). excludeArtifacts is a List<String> matched by artifactId
(nested groupId/artifactId elements fail to parse). Belt-and-braces:
the release is also deployed with -pl '!examples/spring-boot-demo'
so the demo artifact never enters the reactor bundle at all. -->
<excludeArtifacts>
<artifact>wunmi-example-spring-boot</artifact>
</excludeArtifacts>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>