getArtifacts is transitive and getDependencies isn't. How about a
manual artifact resolution using the project builder ?
Brett Porter wrote:
I see - I suppose it is only failing when the artifacts are not
present in the repository already, as it was working for me...
Can the code using getArtifacts() be changed to getDependencies()
without changing the meaning? (Sorry, I haven't looked, I just know
the dep resolution was problematic)
- Brett
On 01/02/2007, at 2:54 PM, Edwin Punzalan wrote:
Brett,
Its failing in phase check-dependency-snapshot phase... the phase
uses project.getArtifacts() which is not populated when its missing
Brett Porter wrote:
Edwin - can we double check the requirement here. I recently removed
this to prevent the problem of it failing if you haven't installed
the project first.
What step does it fail at?
- Brett
On 01/02/2007, at 1:46 PM, [EMAIL PROTECTED] wrote:
Author: epunzalan
Date: Wed Jan 31 18:46:11 2007
New Revision: 502089
URL: http://svn.apache.org/viewvc?view=rev&rev=502089
Log:
require dependency resolution so snapshot dependency artifacts
checking will work
Modified:
maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java
Modified:
maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java
URL:
http://svn.apache.org/viewvc/maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java?view=diff&rev=502089&r1=502088&r2=502089
==============================================================================
---
maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java
(original)
+++
maven/release/trunk/maven-release-plugin/src/main/java/org/apache/maven/plugins/release/PrepareReleaseMojo.java
Wed Jan 31 18:46:11 2007
@@ -34,6 +34,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Brett Porter</a>
* @version $Id$
* @aggregator
+ * @requiresDependencyResolution test
* @goal prepare
* @todo [!] check how this works with version ranges
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]