datamodel
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.peak-solution</groupId>
<artifactId>datamodel</artifactId>
<version>1.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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.peak-solution</groupId>
<artifactId>datamodel</artifactId>
<version>1.0.0</version>
<name>datamodel</name>
<description>General data model for measurement data applications. Provides zero-dependency interfaces and default implementations that map naturally to hierarchical measurement data structures from ASAM ODS standard.</description>
<url>https://github.com/peak-solution/datamodel</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<developers>
<developer>
<name>Markus Renner</name>
<organization>Peak Solution GmbH</organization>
<organizationUrl>https://www.peak-solution.com</organizationUrl>
</developer>
</developers>
<scm>
<url>https://github.com/peak-solution/datamodel</url>
<connection>scm:git:https://github.com/peak-solution/datamodel.git</connection>
</scm>
<properties>
<maven.compiler.release>17</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<junit.version>6.1.2</junit.version>
</properties>
<!-- Zero runtime dependencies by design. Only test-scoped dependencies allowed. -->
<dependencies>
<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>3.27.7</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<!-- ── OWASP dependency-check (run: mvn verify -Powasp) ──────────── -->
<profile>
<id>owasp</id>
<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>13.0.0</version>
<configuration>
<failBuildOnCVSS>4</failBuildOnCVSS>
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>
<nvdApiKey>${env.NVD_API_KEY}</nvdApiKey>
</configuration>
<executions>
<execution>
<goals>
<goal>aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- ── License check (run: mvn verify -Plicense) ─────────────────── -->
<profile>
<id>license</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.7.1</version>
<inherited>false</inherited>
<configuration>
<skipAggregateAddThirdParty>true</skipAggregateAddThirdParty>
<excludedScopes>system,test,provided</excludedScopes>
<excludeTransitiveDependencies>true</excludeTransitiveDependencies>
<licenseMerges>
<licenseMerge>Apache-2.0|Apache License, Version 2.0</licenseMerge>
<licenseMerge>MIT License|MIT</licenseMerge>
</licenseMerges>
<includedLicenses>
<includedLicense>Apache-2.0</includedLicense>
<includedLicense>MIT License</includedLicense>
</includedLicenses>
<failOnBlacklist>true</failOnBlacklist>
<!-- datamodel has zero runtime deps – this just confirms the clean state. -->
<failOnMissing>false</failOnMissing>
</configuration>
<executions>
<execution>
<id>txt</id>
<goals>
<goal>add-third-party</goal>
</goals>
<phase>generate-resources</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<!-- ── Maven Central release (run: mvn deploy -Prelease) ─────────── -->
<profile>
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<!-- Sources JAR – mandatory for Maven Central -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- GPG signing – mandatory for Maven Central -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.2.8</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>06C84BD97E83C4FD</keyname>
</configuration>
</execution>
</executions>
</plugin>
<!-- Sonatype Central Publisher -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.11.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<autoPublish>false</autoPublish>
<deploymentName>datamodel ${project.version}</deploymentName>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.15.0</version>
<configuration>
<release>${maven.compiler.release}</release>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<!-- Attach Javadoc JAR on every build (IDEs + downstream consumers). -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.12.0</version>
<configuration>
<release>${maven.compiler.release}</release>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>