Note that there are some explanatory texts on larger screens.

plurals
  1. POPackage Dll in Jar using Maven- single goal
    primarykey
    data
    text
    <p>I have added a DLL in my maven project as dependency like this :</p> <pre><code>&lt;dependency&gt; &lt;groupId&gt;com.test.dll&lt;/groupId&gt; &lt;artifactId&gt;myDll&lt;/artifactId&gt; &lt;version&gt;0.1&lt;/version&gt; &lt;type&gt;dll&lt;/type&gt; &lt;/dependency&gt; </code></pre> <p>When I try to execute <code>maven:install</code></p> <p>It is giving me this error:</p> <pre><code>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2- beta-5:single (jar-with-dependencies) on project testApp: Failed to create assembly: Error adding file-set for 'com.test.dll:myDll:dll:0.1' to archive: Error adding archived file-set. PlexusIoResourceCollection not found for: C:\Users\USER\.m2 \repository\com\test\dll\myDll\0.1\myDll-0.1.dll: No such archiver: 'dll' </code></pre> <p>What Am I doing wrong here??</p> <p><strong>Update</strong></p> <pre><code> &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt; &lt;executions&gt; &lt;execution&gt; &lt;goals&gt; &lt;goal&gt;sign&lt;/goal&gt; &lt;/goals&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;configuration&gt; &lt;keystore&gt;src/main/keystore/mykey.keystore&lt;/keystore&gt; &lt;alias&gt;aliasname&lt;/alias&gt; &lt;storepass&gt;passw0rd&lt;/storepass&gt; &lt;verify&gt;true&lt;/verify&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;jar-with-dependencies&lt;/id&gt; &lt;phase&gt;prepare-package&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;single&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;archive&gt; &lt;manifest&gt; &lt;/manifest&gt; &lt;/archive&gt; &lt;descriptorRefs&gt; &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt; &lt;/descriptorRefs&gt; &lt;appendAssemblyId&gt;false&lt;/appendAssemblyId&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;/plugins&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload