Ver código fonte

update: maven central deployment

Ranides Atterwim 10 meses atrás
pai
commit
9e1a11fac9
2 arquivos alterados com 23 adições e 1 exclusões
  1. 22 0
      pom.xml
  2. 1 1
      scripts/deploy-me.bat

+ 22 - 0
pom.xml

@@ -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>

+ 1 - 1
scripts/deploy-me.bat

@@ -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
 if errorlevel 1 goto fail
 
 goto success