You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems list of goals to activate plugin in class AbstractMojo incomplete.
It is impossible to run mvn ... maven-deploy-plugin ..., maven understand only org.apache.maven.plugins:maven-deploy-plugin:deploy or deploy:deploy goals when we need to run exactly deploy directly.
So in current version we can use artifactory plugin only with goal 'deploy'
@mojo(name = "publish", defaultPhase = LifecyclePhase.VALIDATE, threadSafe = true)public class ArtifactoryMojo extends AbstractMojo { private static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); private static final String[] DEPLOY_GOALS = {"deploy", "maven-deploy-plugin"};
The text was updated successfully, but these errors were encountered:
Hello,
It seems list of goals to activate plugin in class AbstractMojo incomplete.
It is impossible to run
mvn ... maven-deploy-plugin ...
, maven understand onlyorg.apache.maven.plugins:maven-deploy-plugin:deploy
ordeploy:deploy
goals when we need to run exactly deploy directly.So in current version we can use artifactory plugin only with goal 'deploy'
@mojo(name = "publish", defaultPhase = LifecyclePhase.VALIDATE, threadSafe = true)public class ArtifactoryMojo extends AbstractMojo { private static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); private static final String[] DEPLOY_GOALS = {"deploy", "maven-deploy-plugin"};The text was updated successfully, but these errors were encountered: