File tree 1 file changed +7
-0
lines changed
build-info-extractor-maven3/src/main/java/org/jfrog/build/extractor/maven
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ public void sessionStarted(ExecutionEvent event) {
151
151
logger .info ("Initializing Artifactory Build-Info Recording" );
152
152
buildInfoBuilder = buildInfoModelPropertyResolver .resolveProperties (event , conf );
153
153
deployableArtifactBuilderMap = new ConcurrentHashMap <>();
154
+ skipDefaultDeploy (event .getSession ());
154
155
155
156
if (wrappedListener != null ) {
156
157
wrappedListener .sessionStarted (event );
@@ -730,4 +731,10 @@ private void cleanUpModule() {
730
731
currentModuleDependencies .remove ();
731
732
resolvedArtifacts .clear ();
732
733
}
734
+ /**
735
+ * Skip the default maven deploy behaviour.
736
+ */
737
+ private void skipDefaultDeploy (MavenSession session ) {
738
+ session .getUserProperties ().put ("maven.deploy.skip" , Boolean .TRUE .toString ());
739
+ }
733
740
}
You can’t perform that action at this time.
0 commit comments