Skip to content

Commit 1693931

Browse files
committed
test SNAPSHOTS
1 parent a36e850 commit 1693931

File tree

4 files changed

+15
-181
lines changed

4 files changed

+15
-181
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
env:
129129
MAVEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
130130
MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
131-
run: mvn deploy -X -ntp -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD_NALUKIT_GITHUB_USER }} -DskipTests -Drevision=HEAD-SNAPSHOT -P release
131+
run: mvn deploy -ntp -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD_NALUKIT_GITHUB_USER }} -DskipTests -Drevision=HEAD-SNAPSHOT -P release
132132

133133
maven-deploy-main:
134134
runs-on: ubuntu-latest

malio-processor/pom.xml

Lines changed: 0 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -324,37 +324,6 @@
324324
</execution>
325325
</executions>
326326
</plugin>
327-
<!-- <plugin>-->
328-
<!-- <groupId>com.google.code.maven-replacer-plugin</groupId>-->
329-
<!-- <artifactId>replacer</artifactId>-->
330-
<!-- <version>${plugin.version.replacer}</version>-->
331-
<!-- <executions>-->
332-
<!-- <execution>-->
333-
<!-- <phase>process-resources</phase>-->
334-
<!-- <goals>-->
335-
<!-- <goal>replace</goal>-->
336-
<!-- </goals>-->
337-
<!-- </execution>-->
338-
<!-- </executions>-->
339-
<!-- <configuration>-->
340-
<!-- <basedir>${path.test.resources}/com/github/nalukit/malio/processor.templates-->
341-
<!-- </basedir>-->
342-
<!-- <outputBasedir>${path.test.resources}/com/github/nalukit/malio/</outputBasedir>-->
343-
<!-- <outputDir>processor/</outputDir>-->
344-
<!-- <includes>**/*.java</includes>-->
345-
<!-- <replacements>-->
346-
<!-- <replacement>-->
347-
<!-- <token>%VERSION_TAG%</token>-->
348-
<!-- <value>${revision}</value>-->
349-
<!-- </replacement>-->
350-
<!-- </replacements>-->
351-
<!-- </configuration>-->
352-
<!-- </plugin>-->
353-
<plugin>
354-
<groupId>org.sonatype.central</groupId>
355-
<artifactId>central-publishing-maven-plugin</artifactId>
356-
<version>${plugin.version.central}</version>
357-
</plugin>
358327
<plugin>
359328
<artifactId>maven-clean-plugin</artifactId>
360329
<version>${plugin.version.clean}</version>
@@ -369,76 +338,4 @@
369338
</plugin>
370339
</plugins>
371340
</build>
372-
373-
<profiles>
374-
<profile>
375-
<id>release</id>
376-
<build>
377-
<plugins>
378-
<plugin>
379-
<groupId>org.apache.maven.plugins</groupId>
380-
<artifactId>maven-gpg-plugin</artifactId>
381-
<version>${plugin.version.gpg.maven}</version>
382-
<executions>
383-
<execution>
384-
<id>sign-artifacts</id>
385-
<phase>verify</phase>
386-
<goals>
387-
<goal>sign</goal>
388-
</goals>
389-
</execution>
390-
</executions>
391-
<configuration>
392-
<!-- Prevent gpg from using pinentry programs -->
393-
<gpgArguments>
394-
<arg>--pinentry-mode</arg>
395-
<arg>loopback</arg>
396-
</gpgArguments>
397-
</configuration>
398-
</plugin>
399-
<plugin>
400-
<groupId>org.sonatype.central</groupId>
401-
<artifactId>central-publishing-maven-plugin</artifactId>
402-
<version>${plugin.version.central}</version>
403-
<extensions>true</extensions>
404-
<configuration>
405-
<publishingServerId>central</publishingServerId>
406-
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
407-
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
408-
</configuration>
409-
</plugin>
410-
<plugin>
411-
<groupId>org.apache.maven.plugins</groupId>
412-
<artifactId>maven-javadoc-plugin</artifactId>
413-
<version>${plugin.version.javadoc}</version>
414-
<configuration>
415-
<javadocExecutable>${java.doc.executable}</javadocExecutable>
416-
</configuration>
417-
<executions>
418-
<execution>
419-
<id>attach-javadocs</id>
420-
<goals>
421-
<goal>jar</goal>
422-
</goals>
423-
</execution>
424-
</executions>
425-
</plugin>
426-
<plugin>
427-
<groupId>org.apache.maven.plugins</groupId>
428-
<artifactId>maven-source-plugin</artifactId>
429-
<version>${plugin.version.source}</version>
430-
<executions>
431-
<execution>
432-
<id>attach-sources</id>
433-
<goals>
434-
<goal>jar-no-fork</goal>
435-
</goals>
436-
</execution>
437-
</executions>
438-
</plugin>
439-
</plugins>
440-
</build>
441-
</profile>
442-
</profiles>
443-
444341
</project>

malio/pom.xml

Lines changed: 0 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,6 @@
105105
<moduleName>io.github.nalukit.malio.Malio</moduleName>
106106
</configuration>
107107
</plugin>
108-
<plugin>
109-
<groupId>org.sonatype.central</groupId>
110-
<artifactId>central-publishing-maven-plugin</artifactId>
111-
<version>${plugin.version.central}</version>
112-
</plugin>
113108
<plugin>
114109
<groupId>org.apache.maven.plugins</groupId>
115110
<artifactId>maven-compiler-plugin</artifactId>
@@ -129,75 +124,4 @@
129124
</plugin>
130125
</plugins>
131126
</build>
132-
133-
<profiles>
134-
<profile>
135-
<id>release</id>
136-
<build>
137-
<plugins>
138-
<plugin>
139-
<groupId>org.apache.maven.plugins</groupId>
140-
<artifactId>maven-gpg-plugin</artifactId>
141-
<version>${plugin.version.gpg.maven}</version>
142-
<executions>
143-
<execution>
144-
<id>sign-artifacts</id>
145-
<phase>verify</phase>
146-
<goals>
147-
<goal>sign</goal>
148-
</goals>
149-
</execution>
150-
</executions>
151-
<configuration>
152-
<!-- Prevent gpg from using pinentry programs -->
153-
<gpgArguments>
154-
<arg>--pinentry-mode</arg>
155-
<arg>loopback</arg>
156-
</gpgArguments>
157-
</configuration>
158-
</plugin>
159-
<plugin>
160-
<groupId>org.sonatype.central</groupId>
161-
<artifactId>central-publishing-maven-plugin</artifactId>
162-
<version>${plugin.version.central}</version>
163-
<extensions>true</extensions>
164-
<configuration>
165-
<publishingServerId>central</publishingServerId>
166-
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
167-
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
168-
</configuration>
169-
</plugin>
170-
<plugin>
171-
<groupId>org.apache.maven.plugins</groupId>
172-
<artifactId>maven-javadoc-plugin</artifactId>
173-
<version>${plugin.version.javadoc}</version>
174-
<configuration>
175-
<javadocExecutable>${java.doc.executable}</javadocExecutable>
176-
</configuration>
177-
<executions>
178-
<execution>
179-
<id>attach-javadocs</id>
180-
<goals>
181-
<goal>jar</goal>
182-
</goals>
183-
</execution>
184-
</executions>
185-
</plugin>
186-
<plugin>
187-
<groupId>org.apache.maven.plugins</groupId>
188-
<artifactId>maven-source-plugin</artifactId>
189-
<version>${plugin.version.source}</version>
190-
<executions>
191-
<execution>
192-
<id>attach-sources</id>
193-
<goals>
194-
<goal>jar-no-fork</goal>
195-
</goals>
196-
</execution>
197-
</executions>
198-
</plugin>
199-
</plugins>
200-
</build>
201-
</profile>
202-
</profiles>
203127
</project>

pom.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@
317317
<configuration>
318318
<publishingServerId>central</publishingServerId>
319319
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
320-
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
321320
</configuration>
322321
</plugin>
323322
<plugin>
@@ -353,4 +352,18 @@
353352
</build>
354353
</profile>
355354
</profiles>
355+
356+
<distributionManagement>
357+
<repository>
358+
<name>Central Portal Snapshots</name>
359+
<id>central-portal-snapshots</id>
360+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
361+
<releases>
362+
<enabled>false</enabled>
363+
</releases>
364+
<snapshots>
365+
<enabled>true</enabled>
366+
</snapshots>
367+
</repository>
368+
</distributionManagement>
356369
</project>

0 commit comments

Comments
 (0)