You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Lukasz Lenart <lu...@apache.org> on 2019/11/11 17:39:24 UTC

Skip project when generating archetypes

Hi,

Is there an option to skip a project when updating local catalog? I
have a multi-module project and I would like to skip the parent
project when updating the catalog. Now an empty archetype is added to
the catalog.

I noticed that there is <skip> option but it's used to skip
integration tests, not the project itself.

If there is no such option I can prepare a PR.


Thanks in advance
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Skip project when generating archetypes

Posted by Lukasz Lenart <lu...@apache.org>.
czw., 12 gru 2019 o 08:04 Lukasz Lenart <lu...@apache.org> napisał(a):
>
> wt., 12 lis 2019 o 07:36 Lukasz Lenart <lu...@apache.org> napisał(a):
> >
> > Done, JIRA ticket is here https://issues.apache.org/jira/browse/ARCHETYPE-583
> > >
> > > https://github.com/apache/maven-archetype/pull/33
>
> Could you review the PR? I have been testing those changes locally
> with Struts Archetypes and everything went well.

I don't see a SNAPSHOT in ASF Nexus, do you have a Jenkins job to do
so? I tried to do it manually but I don't have access to deploy a new
SNAPSHOT. Should I prepare a Jenkinsfile to implement such a job?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Skip project when generating archetypes

Posted by Lukasz Lenart <lu...@apache.org>.
wt., 12 lis 2019 o 07:36 Lukasz Lenart <lu...@apache.org> napisał(a):
>
> Done, JIRA ticket is here https://issues.apache.org/jira/browse/ARCHETYPE-583
> >
> > https://github.com/apache/maven-archetype/pull/33

Could you review the PR? I have been testing those changes locally
with Struts Archetypes and everything went well.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Skip project when generating archetypes

Posted by Lukasz Lenart <lu...@apache.org>.
Done, JIRA ticket is here https://issues.apache.org/jira/browse/ARCHETYPE-583


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

pon., 11 lis 2019 o 20:44 Robert Scholte <rf...@apache.org> napisał(a):
>
> Github is not our issue management system, could you create a JIRA issue at https://issues.apache.org/jira/browse/ARCHETYPE
>
> thanks,
> Robert
> On 11-11-2019 20:40:33, Lukasz Lenart <lu...@apache.org> wrote:
> Here is draft PR
>
> https://github.com/apache/maven-archetype/pull/33
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Skip project when generating archetypes

Posted by Robert Scholte <rf...@apache.org>.
Github is not our issue management system, could you create a JIRA issue at https://issues.apache.org/jira/browse/ARCHETYPE

thanks,
Robert
On 11-11-2019 20:40:33, Lukasz Lenart <lu...@apache.org> wrote:
Here is draft PR

https://github.com/apache/maven-archetype/pull/33


Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Skip project when generating archetypes

Posted by Lukasz Lenart <lu...@apache.org>.
Here is draft PR

https://github.com/apache/maven-archetype/pull/33


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Skip project when generating archetypes

Posted by Lukasz Lenart <lu...@apache.org>.
W dniu pon., 11.11.2019 o 19:24 Robert Scholte <rf...@apache.org>
napisał(a):

> bq. Now an empty archetype is added to the catalog.
>
> So this is what should be fixed, don't introduce a skip-parameter for it.


Hm... I can try to detect project packaging but I am not sure if everyone
is using maven-archetype [1] these days or rather pom.

[1]
https://maven.apache.org/archetype/archetype-packaging/


Regards
Łukasz


-- 
(mobile)

Re: Skip project when generating archetypes

Posted by Robert Scholte <rf...@apache.org>.
bq. Now an empty archetype is added to the catalog.

So this is what should be fixed, don't introduce a skip-parameter for it.

Robert
On 11-11-2019 18:39:38, Lukasz Lenart <lu...@apache.org> wrote:
Hi,

Is there an option to skip a project when updating local catalog? I
have a multi-module project and I would like to skip the parent
project when updating the catalog. Now an empty archetype is added to
the catalog.

I noticed that there is option but it's used to skip
integration tests, not the project itself.

If there is no such option I can prepare a PR.


Thanks in advance
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org