On Tuesday 18 August 2015 09:55 PM, Tamer Erdogan wrote:
Here is the myproject/ivy.xml for the project where the dependencies are 
defined:
<ivy-module version="2.0">
     <info organisation="com.mycompany.mymodule" module="mymodule"/>

        <dependencies>
               <dependency org="com.vasco.aal2" name="aal2sdk" rev="3.15.0">
                      <artifact name="mymodule-win64" type="zip" ext="zip" />
               </dependency>
        </dependencies>
</ivy-module>

....
....
Then I tried to put packaging="zip" in the dependency/artifact definition but 
Ivy didn't accept it, because of the xsd schema failure.

Have you tried using the extra attributes namespace as follows:

<ivy-module version="2.0" xmlns:e="http://ant.apache.org/ivy/extra";>
    <info organisation="com.mycompany.mymodule" module="mymodule"/>

       <dependencies>
              <dependency org="com.vasco.aal2" name="aal2sdk" rev="3.15.0">
<artifact name="mymodule-win64" type="zip" ext="zip" e:packaging="zip" />
              </dependency>
       </dependencies>
</ivy-module>

Notice the declaration and usage of the "e" namespace for the packaging attribute.

-Jaikiran

Reply via email to