Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to setup and use internal Maven repository?
    primarykey
    data
    text
    <p>Good day, everyone.</p> <p>I'm trying to setup an internal repository that I can share with some people within a local network with no access to the Internet. So far, I have setup Archiva in my local machine and point the repository to my ~/.m2/repository. I asked those people to setup their Maven settings.xml and add the following profile:</p> <pre><code> &lt;profile&gt; &lt;id&gt;archiva&lt;/id&gt; &lt;repositories&gt; &lt;repository&gt; &lt;id&gt;archiva&lt;/id&gt; &lt;url&gt;http://mymachine:8087/archiva/repository/internal/&lt;/url&gt; &lt;releases&gt; &lt;enabled&gt;true&lt;/enabled&gt; &lt;/releases&gt; &lt;snapshots&gt; &lt;enabled&gt;true&lt;/enabled&gt; &lt;/snapshots&gt; &lt;/repository&gt; &lt;/repositories&gt; &lt;pluginRepositories&gt; &lt;pluginRepository&gt; &lt;id&gt;archiva&lt;/id&gt; &lt;url&gt;http://mymachine:8087/archiva/repository/internal/&lt;/url&gt; &lt;releases&gt; &lt;enabled&gt;true&lt;/enabled&gt; &lt;/releases&gt; &lt;snapshots&gt; &lt;enabled&gt;true&lt;/enabled&gt; &lt;/snapshots&gt; &lt;/pluginRepository&gt; &lt;/pluginRepositories&gt; &lt;/profile&gt; </code></pre> <p>I've also asked them to set this profile as always active. However, when they try to generate a new Java project using <code>mvn archetype:generate</code>, they always get an error. I actually forgot what the error was but it had something to do with the goal. They can download the jars from Archiva but the generation still fails. I also gave them a copy of the archetype catalog but it's still failing. What am I missing?</p>
    singulars
    1. This table or related slice is empty.
    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.
 

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