Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to add some contents in pom.xml for "mvn install"?
    text
    copied!<p>I have multiple java projects with me. I have one document to Build the source code using Maven. I am following it and trying to build the project. </p> <p>1) Initially in the document it is given that you have to do "mvn install" or "mvn -Dmaven.test.skip=true install" at the root directory of your project.</p> <p>2) Then given that if above steps generate error then you have add some lines to pom.xml file. Lines are: add the following entry as the last entry in the list (you will find an entry with id openxds so this new entry should follow that one):</p> <pre><code> &lt;repository&gt; &lt;id&gt;sysnetint&lt;/id&gt; &lt;url&gt;http://sysnetintrepo.com/repository&lt;/url&gt; &lt;/repository&gt; </code></pre> <p>You will also need to add this repository to the plugin repositories section:</p> <pre><code> &lt;pluginRepositories&gt; &lt;repository&gt; &lt;id&gt;sysnetint&lt;/id&gt; &lt;url&gt;http://sysnetintrepo.com/repository&lt;/url&gt; &lt;/repository&gt; &lt;/pluginRepositories&gt; </code></pre> <p>The build should be successful at this point and you should have all the targets ready for deployment. </p> <p>I add the first lines in the respective node but I am not getting where to add the second lines in pom.xml</p> <p>Because in my pom.xml there is already node and if I enter to add this again inside it, then maven is giving error something related to tag.</p> <p>I want to ask that how to add the above lines in pom.xml?</p> <p>Sorry for asking stupid question on this as I don't know about the maven and pom.xml files.</p> <p>Thanks</p> <p>Updated: Under pluginRepositories node the child nodes are as:</p> <pre><code>&lt;pluginRepositories&gt; &lt;pluginRepository&gt; ..... &lt;/pluginRepository&gt; &lt;/pluginRepositories&gt; </code></pre> <p>If I enter repository node under pluginRepositories, I am getting certain errors related to that tag only</p>
 

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