Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] Creating an archetype from an offline repository

Hi Folks,

 

I am using the following command:-

 

MavenPlugin.getProjectConfigurationManager().createArchetypeProject

 

In order to create a maven project from an archetype.  The archetype itself, all the maven runtime dependencies required to run maven and all of the eventual project’s dependencies are already downloaded into an offline repository – that I created with a patched version of maven-dependency-plugin

 

Is there anyway to run this line above forcing maven into offline mode – equivalent of ‘-o’ option?

 

Thanks in advance

_Paul


Back to the top