Skip to main content

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

Hi Igor,

OK.  What options would I have available to me to work around this?  I don't mind a little extra code.  

Could I for example instantiate the archetype with a programmatic call through your launch config perhaps?  And then leverage your import code to bring that project into the workspace?

-----Original Message-----
From: m2e-dev-bounces@xxxxxxxxxxx [mailto:m2e-dev-bounces@xxxxxxxxxxx] On Behalf Of Igor Fedorenko
Sent: 07 November 2011 08:02
To: m2e-dev@xxxxxxxxxxx
Subject: Re: [m2e-dev] Creating an archetype from an offline repository

Probably not. m2e uses rather old version of archetype, which does not
honour some configuration parameters and offline is likely one of them.


--
Regards,
Igor

On 11-11-07 10:39 AM, paul.warren@xxxxxxx wrote:
> 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
>
>
>
> _______________________________________________
> m2e-dev mailing list
> m2e-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-dev
_______________________________________________
m2e-dev mailing list
m2e-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-dev



Back to the top