Skip to content

Commit

Permalink
Create initial new test module that should not get deployed to nexus.
Browse files Browse the repository at this point in the history
Signed-off-by: Sjoerd Talsma <[email protected]>
  • Loading branch information
sjoerdtalsma committed Dec 13, 2024
1 parent 839150c commit 1077044
Show file tree
Hide file tree
Showing 16 changed files with 186 additions and 7 deletions.
9 changes: 9 additions & 0 deletions context-propagation-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,13 @@
<optional>true</optional>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
8 changes: 8 additions & 0 deletions context-propagation-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,12 @@
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
9 changes: 9 additions & 0 deletions context-propagation-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,13 @@
<version>${project.version}</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
9 changes: 9 additions & 0 deletions managers/context-manager-locale/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,13 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
9 changes: 9 additions & 0 deletions managers/context-manager-log4j2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,13 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
9 changes: 9 additions & 0 deletions managers/context-manager-opentelemetry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,13 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
9 changes: 9 additions & 0 deletions managers/context-manager-opentracing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,13 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
9 changes: 9 additions & 0 deletions managers/context-manager-servletrequest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,13 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
4 changes: 4 additions & 0 deletions managers/context-manager-slf4j/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
</jdkToolchain>
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
9 changes: 9 additions & 0 deletions managers/context-manager-spring-security/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,13 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
26 changes: 19 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
<module>timers/context-timer-micrometer</module>
<module>timers/context-timer-opentelemetry</module>
<module>timers/context-timer-opentracing</module>

<module>tests/test-j8-locale</module>
</modules>

<licenses>
Expand Down Expand Up @@ -124,6 +126,21 @@
</properties>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -369,13 +386,8 @@
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
<!-- Control which sub-modules get uploaded to nexus -->
<inherited>false</inherited>
</plugin>
</plugins>
</build>
Expand Down
50 changes: 50 additions & 0 deletions tests/test-j8-locale/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2016-2024 Talsma ICT
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
http://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.
-->
<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>
<parent>
<groupId>nl.talsmasoftware.context</groupId>
<artifactId>context-propagation</artifactId>
<version>2.0.0-RC2-SNAPSHOT</version>
<relativePath>../../pom.xml</relativePath>
</parent>

<!-- Artifact identification -->
<groupId>nl.talsmasoftware.context.tests</groupId>
<artifactId>test-j8-locale</artifactId>
<name>Test for Locale propagation in Java 8 project</name>
<packaging>jar</packaging>

<properties>
<project.moduleName>${project.groupId}.springsecurity</project.moduleName>
<root.basedir>${project.parent.basedir}</root.basedir>
<project.jdk.version>8</project.jdk.version>
<maven.compiler.release>8</maven.compiler.release>
</properties>

<dependencies>
<dependency>
<groupId>${project.parent.groupId}.managers</groupId>
<artifactId>context-manager-locale</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
</project>
9 changes: 9 additions & 0 deletions timers/context-timer-metrics/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,13 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
8 changes: 8 additions & 0 deletions timers/context-timer-micrometer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,12 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
8 changes: 8 additions & 0 deletions timers/context-timer-opentelemetry/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,12 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
8 changes: 8 additions & 0 deletions timers/context-timer-opentracing/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,12 @@
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 1077044

Please sign in to comment.