@@ -153,6 +153,28 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>release-modules</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.central</groupId>
+ <artifactId>central-publishing-maven-plugin</artifactId>
+ <version>0.8.0</version>
+ <extensions>true</extensions>
+ <configuration>
+ <publishingServerId>central</publishingServerId>
+ <excludeArtifacts>
+ <excludeArtifact>assira.project</excludeArtifact>
+ </excludeArtifacts>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
<profile>
<id>offline</id>
<activation>
@@ -4,7 +4,7 @@ call mvn %* deploy -P common,jdk8,release
if errorlevel 1 goto fail
call jdk11
-call mvn %* deploy -P jdk11,release
+call mvn %* deploy -P jdk11,release,release-modules
goto success