ivy:publish depends on ivy:retrieve
-----------------------------------
Key: IVY-964
URL: https://issues.apache.org/jira/browse/IVY-964
Project: Ivy
Issue Type: Bug
Affects Versions: 2.0-RC1
Environment: Windows, JDK1.4.2
Reporter: Ferry Tanu
Priority: Trivial
calling the following task, without ivy:retrieve:
<ivy:publish organisation="your_module_org"
module="your_module_name"
revision="your module_revision"
artifactspattern="${distrib.dir}/[artifact].[ext]"
resolver="local"
pubrevision="${app.version}"
status="release"/>
will generate a build failed:
C:\workspace\sources\build.xml:60: your_module_org#your_module_name;1.0.0:
java.lang.IllegalStateException: ivy file not found in cache for
your_module_org#your_module_name
;1.0.0: please resolve dependencies before delivering (C:\Documents
and
Settings\user\.ivy2\cache\resolved-your_module_org-your_module_name-1.0.0.xml)
if ivy:retrieve called before ivy:publish, this error will not occurred.
Note: remove the organisation, module, and revision attribute in ivy:publish,
if you want to call ivy:retrieve beforehand
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.