Return-Path: X-Original-To: apmail-maven-issues-archive@minotaur.apache.org Delivered-To: apmail-maven-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 53D1D183BF for ; Sun, 6 Sep 2015 20:46:19 +0000 (UTC) Received: (qmail 47595 invoked by uid 500); 6 Sep 2015 20:45:49 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 47532 invoked by uid 500); 6 Sep 2015 20:45:49 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 47429 invoked by uid 99); 6 Sep 2015 20:45:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Sep 2015 20:45:48 +0000 Date: Sun, 6 Sep 2015 20:45:48 +0000 (UTC) From: "Michael Osipov (JIRA)" To: issues@maven.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (MRELEASE-306) Allow for controlling plugin updates MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MRELEASE-306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov closed MRELEASE-306. ----------------------------------- Resolution: Auto Closed This issue has been auto closed because it has been inactive for a long period of time. If you think this issue still applies, retest your problem with the most recent version of Maven and the affected component, reopen and post your results. > Allow for controlling plugin updates > ------------------------------------ > > Key: MRELEASE-306 > URL: https://issues.apache.org/jira/browse/MRELEASE-306 > Project: Maven Release Plugin > Issue Type: New Feature > Components: prepare > Affects Versions: 2.0-beta-7 > Reporter: Aleksei Valikov > > Hi folks, > I am the author of Maven2 JAXB2 plugin. The project can be found here: > https://maven-jaxb2-plugin.dev.java.net > This is the direct link to SVN: > https://maven-jaxb2-plugin.dev.java.net/svn/maven-jaxb2-plugin/trunk > I have recently tried to start using Maven Release Plugin for releases. Unfortunatelly I failed. > My problem is as follows. In this project I have a plugin module maven-jaxb2-plugin with packaging maven-plugin. There is also a further module maven-jaxb2-plugin-testing (jar packaging) which depends on maven-jaxb2-plugin. > When I try releasing the project, I get the following failure report in the maven-jaxb2-plugin-testing (assume 0.5-SNAPSHOT -> 0.5 release): > {code} > [ERROR] BUILD ERROR > [INFO] ------------------------------------------------------------------------ > [INFO] Failed to resolve artifact. > > Missing: > ---------- > 1) org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:jar:0.5 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.jvnet.jaxb2.maven2 -DartifactId=maven-jaxb2-plugin -Dversion=0.5 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file there: > mvn deploy:deploy-file -DgroupId=org.jvnet.jaxb2.maven2 -DartifactId=maven-jaxb2-plugin -Dversion=0.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-testing:jar:0.5 > 2) org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:jar:0.5 > > ---------- > 1 required artifact is missing. > > for artifact: > org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-testing:jar:0.5 > > from the specified remote repositories: > jfrog-plugins (http://www.jfrog.org/artifactory/plugins-releases@repo), > maven-repository.dev.java.net (http://download.java.net/maven/1), > maven2-repository.dev.java.net (http://download.java.net/maven/2), > central (http://repo1.maven.org/maven2) > {code} > At the same time when I simply build the project with > {code}mvn -DperformRelease=true clean install{code} > everything works fine. > I suppose the problem is in the way the Maven is executed: > {code}mvn clean verify --no-plugin-updates --batch-mode -P samples,dev.java.net{code} > I guess --no-plugin-updates is to blame. > Therefore I am looking for a way to disable --no-plugin-updates. I'm surely allright if the default behaviour is to have it present by default, but there must be a way to configure its absence. > Please let me know if you acknowledge the issue or maybe I'm mistaken somewhere. > If what I'm saying makes sense for you, I could try making a fix. -- This message was sent by Atlassian JIRA (v6.3.4#6332)