Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>As per doc says, you should declare a plugin section in build one, in your pom.xml if you want to use it as a command : </p> <pre class="lang-xml prettyprint-override"><code>&lt;project&gt; ... &lt;build&gt; &lt;!-- To define the plugin version in your parent POM --&gt; &lt;pluginManagement&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.jboss.as.plugins&lt;/groupId&gt; &lt;artifactId&gt;jboss-as-maven-plugin&lt;/artifactId&gt; &lt;version&gt;7.2&lt;/version&gt; &lt;!-- or whatever you want --&gt; &lt;/plugin&gt; ... &lt;/plugins&gt; &lt;/pluginManagement&gt; &lt;!-- To use the plugin goals in your POM or parent POM --&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.jboss.as.plugins&lt;/groupId&gt; &lt;artifactId&gt;jboss-as-maven-plugin&lt;/artifactId&gt; &lt;version&gt;7.2&lt;/version&gt; &lt;!-- or whatever you want --&gt; &lt;/plugin&gt; ... &lt;/plugins&gt; &lt;/build&gt; ... &lt;/project&gt; </code></pre> <p>The "old" maven-jboss-plugin don't need it because its group is org.codehaus.mojo. But jboss-as one depends on org.jboss.as.plugins.</p> <p><strong>*EDIT 1 *</strong> :</p> <p>You may find some examples here : <a href="https://stackoverflow.com/questions/11614167/deploy-jboss-sar-at-jboss-as-7-error">deploy jboss sar at jboss as 7 error</a></p> <p>You may ommit this plugin if you configure it into settings.xml : <a href="http://maven.apache.org/settings.html#Plugin_Groups" rel="nofollow noreferrer">http://maven.apache.org/settings.html#Plugin_Groups</a></p> <p><strong>*EDIT 2 *</strong> :</p> <p>You may also add the good pluginRepository</p> <pre><code>&lt;pluginRepositories&gt; &lt;pluginRepository&gt; &lt;id&gt;jboss-public-repository-group&lt;/id&gt; &lt;name&gt;JBoss Public Maven Repository Group&lt;/name&gt; &lt;url&gt;https://repository.jboss.org/nexus/content/groups/public-jboss/&lt;/url&gt; &lt;/pluginRepository&gt; &lt;/pluginRepositories&gt; </code></pre>
    singulars
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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