Note that there are some explanatory texts on larger screens.

plurals
  1. POTycho: maven artifact corresponding to a p2 installable unit in the active target platform
    primarykey
    data
    text
    <p>Imagine I have this entry in my target file (used as active target in my tycho build):</p> <pre><code>&lt;location includeAllPlatforms="true" includeMode="slicer" includeSource="true" type="InstallableUnit"&gt; &lt;repository id="orbit_I" location="http://download.eclipse.org/tools/orbit/downloads/drops/I20131203074849/repository/"/&gt; &lt;unit id="javax.servlet" version="3.0.0.v201112011016"/&gt; &lt;/location&gt; </code></pre> <p>Can I reference this plugin as maven artifact (to use the maven-dependency-plugin)? What is the groupId/artifactId of the bundle?</p> <pre><code>&lt;project&gt; [...] &lt;build&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-dependency-plugin&lt;/artifactId&gt; &lt;version&gt;2.8&lt;/version&gt; &lt;executions&gt; &lt;execution&gt; &lt;id&gt;copy&lt;/id&gt; &lt;phase&gt;package&lt;/phase&gt; &lt;goals&gt; &lt;goal&gt;copy&lt;/goal&gt; &lt;/goals&gt; &lt;configuration&gt; &lt;artifactItems&gt; &lt;artifactItem&gt; &lt;groupId&gt;???&lt;/groupId&gt; &lt;artifactId&gt;javax.servlet&lt;/artifactId&gt; &lt;version&gt;3.0.0.v201112011016&lt;/version&gt; &lt;type&gt;???&lt;/type&gt; &lt;overWrite&gt;true&lt;/overWrite&gt; &lt;outputDirectory&gt;${project.build.directory}/alternateLocation&lt;/outputDirectory&gt; &lt;destFileName&gt;optional-new-name.jar&lt;/destFileName&gt; &lt;/artifactItem&gt; &lt;/artifactItems&gt; &lt;/configuration&gt; &lt;/execution&gt; &lt;/executions&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; [...] &lt;/project&gt; </code></pre> <p>In this example I tried a lot of combination, to replace the ??? with something that make sense.</p> <p>I get always the same error:</p> <blockquote> <p>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (copy) on project <em>*</em>* Unable to find artifact version of ???:??? in either dependency list or in project's dependency management. -> [Help 1]</p> </blockquote> <p>Thanks a lot for your answers.</p>
    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.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    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