File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 118118
119119 </executions >
120120 </plugin >
121+ <!-- if exact RELEASE version of module already exists, -->
122+ <!-- then skip deployment by setting maven.deploy.skip=true property for that module -->
123+ <!-- GitHub doesn't allow overwriting existing RELEASE modules and deploy will fail with HTTP 409 -->
124+ <plugin >
125+ <groupId >org.honton.chas</groupId >
126+ <artifactId >exists-maven-plugin</artifactId >
127+ <version >0.13.0</version >
128+ <executions >
129+ <execution >
130+ <phase >install</phase >
131+ <goals >
132+ <goal >remote</goal >
133+ </goals >
134+ <configuration >
135+ <!-- run only if deploy goal is specified in maven command line -->
136+ <requireGoal >deploy</requireGoal >
137+ </configuration >
138+ </execution >
139+ </executions >
140+ <configuration >
141+ <failIfNotMatch >false</failIfNotMatch >
142+ <userProperty >true</userProperty >
143+ <!-- skip>true</skip-->
144+ </configuration >
145+ </plugin >
121146 <plugin >
122147 <artifactId >maven-install-plugin</artifactId >
123148 <version >3.1.2</version >
You can’t perform that action at this time.
0 commit comments