title: impossible to publish artifacts for.... java.io.IOException: missing artifact lib#MyService;1.0!MyService.jar
body: <p>Basically I am exploring IVY, to version my binary artifacts and how to do version control automatically using ivy. I found that publish, pubrevision could help me out.</p>
  
  <p>Hence I am trying to publish my jar through IVY. However I am getting below error and build failed.</p>
  
  <p>impossible to publish artifacts for lib#MyService;working@Localhost java.io.IOException: missing artifact lib#MyService;1.0!MyService.jar</p>
  
  <p>Please find my ivy.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;ivy-module version="2.0" xmlns:m="http://ant.apache.org/ivy/maven"&gt;
      &lt;info organisation="lib" module="MyService" /&gt;
      &lt;configurations defaultconfmapping="default-&gt;default;sources-&gt;sources;test-&gt;default"&gt;
          &lt;conf name="sources" transitive="false" visibility="private" /&gt;
          &lt;conf name="test" transitive="false" visibility="private" /&gt;
          &lt;conf name="default" transitive="false" /&gt;
      &lt;/configurations&gt;
  
      &lt;publications&gt;
          &lt;artifact name="MyService" type="jar"/&gt;
      &lt;/publications&gt;
  
      &lt;dependencies defaultconf="default"&gt;
          &lt;dependency org="lib" name="commons-logging-1.1" rev="1.1" /&gt;
          &lt;dependency org="lib" name="commons-collections-3.2" rev="3.2" /&gt;
          &lt;dependency org="lib" name="commons-beanutils"  rev="1.7.0" conf="default" /&gt;
      &lt;/dependencies&gt;
  &lt;/ivy-module&gt;
  </code></pre>
  
  <p>Publish task : Note: dist will resolve my dependency and compile and jar 
  build.xml</p>
  
  <pre><code>&lt;target name="publish" depends="dist"&gt;
    &lt;ivy:publish resolver="local" pubrevision="1.0" module="MyService" status="release" forcedeliver="true" update="true"&gt;
      &lt;artifacts pattern="publish/[organisation]-[artifact].[ext]"/&gt;
    &lt;/ivy:publish&gt;  
  &lt;/target&gt;
  </code></pre>
  
  <p>MyService.jar is being created in my build folder.</p>
  
  <p>Can you please assist me, what is wrong with my code. I am pretty new to IVY. So any inputs will be appreciated very much.</p>
  
  <p>Thanks.</p>