Re: [discuss] extend extensions.xml to lifecycles/packaging and types?

2024-01-04 Thread Romain Manni-Bucau
and defines al > phases of the usual jar except that it does not bind any plugins by > default, or maybe thinking more about it maybe one should not use any > name but a simple list e.g. > > > jar >clean,custom,package,install (would default to > lifecycle of pa

Re: [discuss] extend extensions.xml to lifecycles/packaging and types?

2024-01-04 Thread Christoph Läubrich
not use any name but a simple list e.g. jar clean,custom,package,install (would default to lifecycle of packaging if not given) would define an (empty) lifecycle that has the phase clean,custom,package,install only and now you know the order one can bind plugins there... Am 0

Re: [discuss] extend extensions.xml to lifecycles/packaging and types?

2024-01-04 Thread Romain Manni-Bucau
t will require a pom in the > middle > > leading to werid structures like root/services/x/pom.xml > root/lib/x/pom.xml > > so composition would be better there - but you're right, not a blocker to > > build the final deliverables. > > > >

Re: [discuss] extend extensions.xml to lifecycles/packaging and types?

2024-01-04 Thread Christoph Läubrich
mposition would be better there - but you're right, not a blocker to build the final deliverables. Main problem for me is that currently packaging == type == lifecycle, otherwise one could simply have an "empty" lifecycle + whatever packaging and simply bind anything you want tin pom

Re: [discuss] extend extensions.xml to lifecycles/packaging and types?

2024-01-04 Thread Romain Manni-Bucau
a blocker to build the final deliverables. > > Main problem for me is that currently packaging == type == lifecycle, > otherwise one could simply have an "empty" lifecycle + whatever > packaging and simply bind anything you want tin pom.xml e.g. > > > > jar >

Re: [discuss] extend extensions.xml to lifecycles/packaging and types?

2024-01-04 Thread Christoph Läubrich
Isn't it already possible to "extend" the lifecycle by simply putting plugin + execution into root pom? Main problem for me is that currently packaging == type == lifecycle, otherwise one could simply have an "empty" lifecycle + whatever packaging and simply bind anyt

[discuss] extend extensions.xml to lifecycles/packaging and types?

2024-01-04 Thread Romain Manni-Bucau
Hi all, Reviewing and trying to follow Martin's thread about JPMS I thought about the old issue that our build pipelines (plugins chain) is very hard to customize. Guillaume added the priority case but the clean solution proposed originally was to define custom lifecycles (to add frontend, docker

Re: Custom packaging

2020-10-07 Thread Slawomir Jaranowski
Hi, It should be worked out of the box. configuration for plugin wich add new packaging, in parent / super pom should be defined in section: build -> *pluginManagement* and only in module when you can use custom packaging you add plugin in build -> plugin śr., 7 paź 2020 o

Re: Custom packaging

2020-10-07 Thread Alvaro Sanchez-Mariscal
So far what I've done is change the parent POM to configure this additional plugin in the none phase, and then remap the jar packaging type and include it there. This seems to work, but I'm wondering whether there is better approach. On Wed, Oct 7, 2020 at 7:47 AM Alvaro Sanche

Custom packaging

2020-10-06 Thread Alvaro Sanchez-Mariscal
Hi, I'm writing a plugin that intends to support custom packaging types. The plugin's components.xml looks like: org.apache.maven.lifecycle.mapping.LifecycleMapping my-c

Re: Packaging from Aether

2018-09-21 Thread Elliotte Rusty Harold
; form of import org.eclipse.aether.graph.Dependency and > org.eclipse.aether.artifact.Artifact objects. > > Is there some way from these or related objects I can gather the > information about the packaging of the dependency? That is, the type > child element of the dependency element in the origi

Re: Packaging from Aether

2018-09-21 Thread Elliotte Rusty Harold
On Fri, Sep 21, 2018 at 3:21 AM, wrote: > a dependency has a type, but not really a packaging: a packaging is a recipe > to build a project that will produce multiple artifacts, each with its own > type > > see the comparison [1] > > and default artifact handlers [2] g

Re: Packaging from Aether

2018-09-21 Thread Elliotte Rusty Harold
On Thu, Sep 20, 2018 at 10:34 PM, Lennart Jörelid wrote: > Hello Elliotte, > > I usually use the depends-maven-plugin, which collects information about > dependencies within a property file. > The data format within this property file (typically placed within > target/classes/META-INF/maven/depend

Re: Packaging from Aether

2018-09-21 Thread herve . boutemy
a dependency has a type, but not really a packaging: a packaging is a recipe to build a project that will produce multiple artifacts, each with its own type see the comparison [1] and default artifact handlers [2] gives you informations about default types. The only misleading field IMHO is

Re: Packaging from Aether

2018-09-20 Thread Lennart Jörelid
ere some way from these or related objects I can gather the > information about the packaging of the dependency? That is, the type > child element of the dependency element in the original pom.xml file? > > I seem to be able to get the extension of the file, but that's not > quite

Packaging from Aether

2018-09-20 Thread Elliotte Rusty Harold
With Eclipse Aether I can read a pom and gather information in the form of import org.eclipse.aether.graph.Dependency and org.eclipse.aether.artifact.Artifact objects. Is there some way from these or related objects I can gather the information about the packaging of the dependency? That is, the

Re: [maven-plugin-tools] 01/02: [MPLUGIN-331] Check the existence of plugin.xml rather than project packaging in PluginReport.canGenerateReport()

2018-01-06 Thread Hervé BOUTEMY
in fact, this update is done for situation where the report documents plugins not created with Maven Plugin Tools: perhaps the other build tool may change the location of generated plugins.xml IMHO, this has to be discussed with the issue reporter: I don't know if the parameter is only a way to

Re: [maven-plugin-tools] 01/02: [MPLUGIN-331] Check the existence of plugin.xml rather than project packaging in PluginReport.canGenerateReport()

2018-01-06 Thread Robert Scholte
I would like to see this as a readOnly parameter. Changing it value will break things. On Sat, 06 Jan 2018 01:50:51 +0100, wrote: +@Parameter( defaultValue = "${project.build.outputDirectory}/META-INF/maven/plugin.xml", required = true ) +private File pluginXmlFile; ---

Re: merging MNG-6308 display packaging

2017-12-22 Thread Robert Scholte
How about surrounding the packaging with spaces, there's enough room and it looks friendlier to me. On Fri, 22 Dec 2017 15:35:30 +0100, Hervé BOUTEMY wrote: as discussed on IRC, split information in 2 separate parts: - project groupId + artifactId coordinates in header - packagi

Re: merging MNG-6308 display packaging

2017-12-22 Thread Hervé BOUTEMY
as discussed on IRC, split information in 2 separate parts: - project groupId + artifactId coordinates in header - packaging in footer (not part of coordinates) to me, the result is now ok to merge (after squashing...) no objection from anybody? Regards, Hervé Le vendredi 22 décembre 2017, 11

Re: merging MNG-6308 display packaging

2017-12-22 Thread Robert Scholte
Now MNG-6308 looks fine to me. If you agree you can merge it. Robert On Sun, 10 Dec 2017 20:46:38 +0100, Hervé BOUTEMY wrote: Le dimanche 10 décembre 2017, 19:26:53 CET Robert Scholte a écrit : On Sun, 10 Dec 2017 18:38:55 +0100, Stephen Connolly wrote: > On Sun 10 Dec 2017 at 17:12, Ro

Re: merging MNG-6308 display packaging

2017-12-10 Thread Hervé BOUTEMY
Le dimanche 10 décembre 2017, 19:26:53 CET Robert Scholte a écrit : > On Sun, 10 Dec 2017 18:38:55 +0100, Stephen Connolly > > wrote: > > On Sun 10 Dec 2017 at 17:12, Robert Scholte wrote: > >> On Sun, 10 Dec 2017 17:46:10 +0100, Hervé BOUTEMY > >> > >> > >> wrote: > >> > Le dimanche 10 décemb

Re: merging MNG-6308 display packaging

2017-12-10 Thread Robert Scholte
On Sun, 10 Dec 2017 18:38:55 +0100, Stephen Connolly wrote: On Sun 10 Dec 2017 at 17:12, Robert Scholte wrote: On Sun, 10 Dec 2017 17:46:10 +0100, Hervé BOUTEMY wrote: > Le dimanche 10 décembre 2017, 11:06:32 CET Robert Scholte a écrit : >> I still think it is ugly to use the HR for th

Re: merging MNG-6308 display packaging

2017-12-10 Thread Stephen Connolly
On Sun 10 Dec 2017 at 17:12, Robert Scholte wrote: > On Sun, 10 Dec 2017 17:46:10 +0100, Hervé BOUTEMY > wrote: > > > Le dimanche 10 décembre 2017, 11:06:32 CET Robert Scholte a écrit : > >> I still think it is ugly to use the HR for this kind of info. > >> If you *really* want this info, I'd pr

Re: merging MNG-6308 display packaging

2017-12-10 Thread Robert Scholte
On Sun, 10 Dec 2017 17:46:10 +0100, Hervé BOUTEMY wrote: Le dimanche 10 décembre 2017, 11:06:32 CET Robert Scholte a écrit : I still think it is ugly to use the HR for this kind of info. If you *really* want this info, I'd prefer a new line, offering more space for additional info. yes, I

Re: merging MNG-6308 display packaging

2017-12-10 Thread Hervé BOUTEMY
Le dimanche 10 décembre 2017, 11:06:32 CET Robert Scholte a écrit : > I still think it is ugly to use the HR for this kind of info. > If you *really* want this info, I'd prefer a new line, offering more space > for additional info. yes, I *really* want this info: the precise details on how to displ

Re: merging MNG-6308 display packaging

2017-12-10 Thread Stephen Connolly
On Sun 10 Dec 2017 at 10:06, Robert Scholte wrote: > I still think it is ugly to use the HR for this kind of info. I think the HR use with space *not [] is a beautiful solution > If you *really* want this info, I'd prefer a new line, offering more space > for additional info. Ugh no... buil

Re: merging MNG-6308 display packaging

2017-12-10 Thread Robert Scholte
I still think it is ugly to use the HR for this kind of info. If you *really* want this info, I'd prefer a new line, offering more space for additional info. Other option is to leave it as it is. If developers want it, they can put it in the name. So -1 for me. Robert On Sun, 10 Dec 2017

merging MNG-6308 display packaging

2017-12-10 Thread Hervé BOUTEMY
is there a seconder for this enhancement? CI: https://builds.apache.org/view/M-R/view/Maven/job/maven-3.x-jenkinsfile/ job/MNG-6308_display_packaging/ Jira issue: https://issues.apache.org/jira/browse/MNG-6308 Regards, Hervé -

Re: packaging type generating the current pom

2017-06-16 Thread Robert Scholte
ish way. My current goal: generate a bom style pom with all reactor projects in dptMngt section. As people are lazy to write dptMngt section in theirs poms they delegate to others with this pom. So as I'm lazy too I don't want to write/maintain this pom neither so I prefer using a pl

Re: packaging type generating the current pom

2017-06-15 Thread Olivier Lamy
;> Hi, >>> Not sure how to do that in a non hackhish way. >>> My current goal: generate a bom style pom with all reactor projects in >>> dptMngt section. >>> As people are lazy to write dptMngt section in theirs poms they delegate >>> to >>> o

Re: packaging type generating the current pom

2017-06-15 Thread Olivier Lamy
;> to >> others with this pom. >> So as I'm lazy too I don't want to write/maintain this pom neither so I >> prefer using a plugin for that :-) >> So I create a new packaging type bom and enable it on a pom. >> The plugin simply generate a pom.xml file w

Re: packaging type generating the current pom

2017-06-09 Thread Robert Scholte
x27;m lazy too I don't want to write/maintain this pom neither so I prefer using a plugin for that :-) So I create a new packaging type bom and enable it on a pom. The plugin simply generate a pom.xml file with all content and the calculated dptMngt section. The only way I found to replace the c

packaging type generating the current pom

2017-06-08 Thread Olivier Lamy
n this pom neither so I prefer using a plugin for that :-) So I create a new packaging type bom and enable it on a pom. The plugin simply generate a pom.xml file with all content and the calculated dptMngt section. The only way I found to replace the current pom is to use: project.setFile( the new pom

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-12 Thread Robert Scholte
Hi all, thanks for the support, the message is clear. I'll continue with the implementation. Robert Op Sat, 09 Jan 2016 18:04:40 +0100 schreef Robert Scholte : Hi, I've created MDEPLOY-205: MavenProject with only attachments must have packaging "pom"[1] If I

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-12 Thread Arnaud Héritier
and the package produces > > > different classified wars). > > > > > > So IMHO abuse of profiles, not a reason to support attachments without > a > > > main artifact when packaging is 'war'. > > > Instead I would suggest extracting the configura

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-12 Thread Bing Shiao
> > detail: a war project which I need to build with different profiles to > > include different > > configurations. So I set up different filters and the package produces > > different classified wars). > > > > So IMHO abuse of profiles, not a reason to sup

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-12 Thread Dennis Lundberg
> configurations. So I set up different filters and the package produces > different classified wars). > > So IMHO abuse of profiles, not a reason to support attachments without a > main artifact when packaging is 'war'. > Instead I would suggest extracting the configura

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-12 Thread Stephen Connolly
; configurations. So I set up different filters and the package produces > different classified wars). > > So IMHO abuse of profiles, not a reason to support attachments without a > main artifact when packaging is 'war'. > Instead I would suggest extracting the confi

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-11 Thread Robert Scholte
classified wars). So IMHO abuse of profiles, not a reason to support attachments without a main artifact when packaging is 'war'. Instead I would suggest extracting the configuration or if one *really* wants to include configuration: use overlays per environment. thanks, Robert

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-10 Thread Robert Scholte
Scholte a écrit : that's all handled by the ArtifactHandler, which knows how to translate the packaging and type to a specific file extension. So let me rephrase: in my opinion a non-pom MavenProject MUST have a main artifact. Regarding the integration tests, to me they abuse the lifecycle

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-10 Thread Hervé BOUTEMY
g one main artifact (and not only attachements) seems reasonable to me Regards, Hervé Le samedi 9 janvier 2016 19:34:37 Robert Scholte a écrit : > that's all handled by the ArtifactHandler, which knows how to translate > the packaging and type to a specific file extension. > So let me rephr

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-10 Thread Robert Scholte
debug the plugin? In cases like this I am always debugging the code. On Sat, Jan 9, 2016 at 7:34 PM, Robert Scholte wrote: that's all handled by the ArtifactHandler, which knows how to translate the packaging and type to a specific file extension. So let me rephrase: in my opinion a non-pom

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-10 Thread Tibor Digana
Even if they are not real world ITs they are reasonable tests. Did you debug the plugin? In cases like this I am always debugging the code. On Sat, Jan 9, 2016 at 7:34 PM, Robert Scholte wrote: > that's all handled by the ArtifactHandler, which knows how to translate > the packaging

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-09 Thread Dan Tran
+1 to introduce this policy which surely reduce the confusion of packaging type during deploy:deploy-file -D On Sat, Jan 9, 2016 at 10:34 AM, Robert Scholte wrote: > that's all handled by the ArtifactHandler, which knows how to translate > the packaging and type to a specific fil

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-09 Thread Robert Scholte
that's all handled by the ArtifactHandler, which knows how to translate the packaging and type to a specific file extension. So let me rephrase: in my opinion a non-pom MavenProject MUST have a main artifact. Regarding the integration tests, to me they abuse the lifecycle for a spe

Re: [DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-09 Thread Dan Tran
what about packaging=bundle? it has jar extension -D On Sat, Jan 9, 2016 at 9:04 AM, Robert Scholte wrote: > Hi, > > I've created MDEPLOY-205: MavenProject with only attachments must have > packaging "pom"[1] > > If I apply such a change, tests written f

[DISCUSS] MDEPLOY-205: MavenProject with only attachments must have packaging "pom"

2016-01-09 Thread Robert Scholte
Hi, I've created MDEPLOY-205: MavenProject with only attachments must have packaging "pom"[1] If I apply such a change, tests written for MDEPLOY-45 and MDEPLOY-78 fail. [ERROR] The following builds failed: [ERROR] * mdeploy-45-test\pom.xml [ERROR] * no-main-artifact-1

[GitHub] maven pull request: MNG-5805: Custom packaging types: configuring ...

2015-04-27 Thread atanasenko
Github user atanasenko closed the pull request at: https://github.com/apache/maven/pull/43 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is en

[GitHub] maven-integration-testing pull request: MNG-5805: Custom packaging...

2015-04-27 Thread atanasenko
Github user atanasenko closed the pull request at: https://github.com/apache/maven-integration-testing/pull/11 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or

[GitHub] maven-integration-testing pull request: MNG-5805: Custom packaging...

2015-04-27 Thread atanasenko
Github user atanasenko closed the pull request at: https://github.com/apache/maven-integration-testing/pull/12 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or

[GitHub] maven-integration-testing pull request: MNG-5805: Custom packaging...

2015-04-27 Thread atanasenko
GitHub user atanasenko opened a pull request: https://github.com/apache/maven-integration-testing/pull/12 MNG-5805: Custom packaging types: configuring DefaultLifecycleMapping mojo executions You can merge this pull request into a Git repository by running: $ git pull https

[GitHub] maven pull request: MNG-5805: Custom packaging types: configuring ...

2015-04-27 Thread atanasenko
Github user atanasenko commented on the pull request: https://github.com/apache/maven/pull/43#issuecomment-96817019 It looks like you applied only the pom file change of sisu version. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHu

[GitHub] maven pull request: MNG-5805: Custom packaging types: configuring ...

2015-04-27 Thread jvanzyl
Github user jvanzyl commented on the pull request: https://github.com/apache/maven/pull/43#issuecomment-96789423 Applied on d8ae13fd7b6be8a238a2b74f2b494668cd967c30. If it looks good then close out this issue along with the IT PR. --- If your project is set up for it, you can reply t

[GitHub] maven pull request: MNG-5805: Custom packaging types: configuring ...

2015-04-20 Thread atanasenko
GitHub user atanasenko opened a pull request: https://github.com/apache/maven/pull/43 MNG-5805: Custom packaging types: configuring DefaultLifecycleMapping mojo executions You can merge this pull request into a Git repository by running: $ git pull https://github.com

[GitHub] maven-integration-testing pull request: MNG-5805: Custom packaging...

2015-04-20 Thread atanasenko
GitHub user atanasenko opened a pull request: https://github.com/apache/maven-integration-testing/pull/11 MNG-5805: Custom packaging types: configuring DefaultLifecycleMapping mojo executions You can merge this pull request into a Git repository by running: $ git pull https

Re: Custom packaging types: configuring DefaultLifecycleMapping mojo executions

2015-04-19 Thread Jason van Zyl
y has 'goals' parameter in components.xml, and > DefaultLifecyclePluginAnalyzer does not take those into account. > > I propose an enhancement, which adds support for setting configuration and > dependencies as part of custom packaging type mojo executions. > > A usecase

Custom packaging types: configuring DefaultLifecycleMapping mojo executions

2015-04-19 Thread Anton Tanasenko
ccount. I propose an enhancement, which adds support for setting configuration and dependencies as part of custom packaging type mojo executions. A usecase is an ability to create a packaging type which mostly consists of standard maven plugins but with a custom configuration. Example: package phase

Re: MNG-1683: Zip packaging

2014-12-17 Thread Paul Benedict
"dependencies" are linked at runtime and non-hpi dependencies are packaged > in WEB-INF/lib > > Most of the other packaging types produce jar files and use the packaging > to determine the lifecycle > > Having said all that, the *default* descriptor should be just a zip... But

Re: MNG-1683: Zip packaging

2014-12-17 Thread Stephen Connolly
ime and non-hpi dependencies are packaged in WEB-INF/lib Most of the other packaging types produce jar files and use the packaging to determine the lifecycle Having said all that, the *default* descriptor should be just a zip... But if you override the default you can have a descriptor that produces

Re: MNG-1683: Zip packaging

2014-12-17 Thread Paul Benedict
If I decide to try to prototype this > > > out, > > > >> where is a good place to lay down some code? > > > >> > > > >> > > > >> Cheers, > > > >> Paul > > > >> > > > >> On Thu, Dec 11, 2014 at 7:29

Re: MNG-1683: Zip packaging

2014-12-16 Thread Stephen Connolly
> > > >> > > >> Cheers, > > >> Paul > > >> > > >> On Thu, Dec 11, 2014 at 7:29 AM, Stephen Connolly < > > >> stephen.alan.conno...@gmail.com > wrote: > > >> > > > >> > I think having an asse

Re: MNG-1683: Zip packaging

2014-12-16 Thread Paul Benedict
On Thu, Dec 11, 2014 at 7:29 AM, Stephen Connolly < > >> stephen.alan.conno...@gmail.com> wrote: > >> > > >> > I think having an assembly type with a default binding of > assembly:single > >> > to the packaging phase and a default descriptor bei

Re: MNG-1683: Zip packaging

2014-12-16 Thread Manfred Moser
> >> On Thu, Dec 11, 2014 at 7:29 AM, Stephen Connolly < >> stephen.alan.conno...@gmail.com> wrote: >> > >> > I think having an assembly type with a default binding of assembly:single >> > to the packaging phase and a default descriptor being the zip

Re: MNG-1683: Zip packaging

2014-12-11 Thread Stephen Connolly
n some code? > > > Cheers, > Paul > > On Thu, Dec 11, 2014 at 7:29 AM, Stephen Connolly < > stephen.alan.conno...@gmail.com> wrote: > > > > I think having an assembly type with a default binding of assembly:single > > to the packaging phase and a def

Re: MNG-1683: Zip packaging

2014-12-11 Thread Paul Benedict
t binding of assembly:single > to the packaging phase and a default descriptor being the zip or zip and > tar.gz descriptors would achieve what is required while simplifying > escalating to more complex descriptors > > On Thursday, December 11, 2014, Timothy Astle > wrote: > > > I

Re: MNG-1683: Zip packaging

2014-12-11 Thread Stephen Connolly
I think having an assembly type with a default binding of assembly:single to the packaging phase and a default descriptor being the zip or zip and tar.gz descriptors would achieve what is required while simplifying escalating to more complex descriptors On Thursday, December 11, 2014, Timothy

Re: MNG-1683: Zip packaging

2014-12-11 Thread Timothy Astle
ostic bundling artifact. At the moment, we lean on Subversion externals, which I really dislike doing. In this type of case, I figured a ZIP packaging type would have described the project and produced the expected output, while using Maven. A big thing that I like about Maven is how you mode

Re: MNG-1683: Zip packaging

2014-12-11 Thread domi
Hmm, not sure I agree - I think its just fact that users would love to have simpler way to create ZIPs/TARs and the most logical/simple way (from a users point of view) to do this is a packaging typ for these. Domi On 11.12.2014, at 09:27, Stephen Connolly wrote: > Well the real question

Re: MNG-1683: Zip packaging

2014-12-11 Thread Stephen Connolly
exploding the zip dependencies and copy tar.gz? A better approach might be an "assembly" packaging with a default assembly descriptor directory and if empty it falls back to zip and tar.gz of target/classes with the resources plugin being in the default lifecycle binding That would make

Re: MNG-1683: Zip packaging

2014-12-11 Thread Anders Hammar
Yes, but I don't think making a specific plugin just for adding zip packaging is optimal. Hence the idea of having it in the assembly plugin. Thinking of it though, one very likely wants to create both a zip and a tar file. So maybe the packaging type should be something else, and then it cr

Re: MNG-1683: Zip packaging

2014-12-10 Thread Paul Benedict
Anders, like make a maven-zip-plugin project? On Dec 11, 2014 1:50 AM, "Anders Hammar" wrote: > I don't think that the zip package type should be part of Maven core, but > we could provide some plugin which provides for it as a custom packaging > type. Possibly this could

Re: MNG-1683: Zip packaging

2014-12-10 Thread Anders Hammar
I don't think that the zip package type should be part of Maven core, but we could provide some plugin which provides for it as a custom packaging type. Possibly this could be part of the assembly plugin. /Anders On Thu, Dec 11, 2014 at 7:33 AM, Paul Benedict wrote: > Well my exper

Re: MNG-1683: Zip packaging

2014-12-10 Thread Paul Benedict
Well my experience in building a zip *as a dependency* feels like it's hackish. For example, I create a "pom" packaging type and then configure the assembly plugin for the "package" phase. Okay, but I say this is hackish because it's not straight forward, and the zip

Re: MNG-1683: Zip packaging

2014-12-10 Thread Kristian Rosenvold
Probably because people just use the assembly plugin ? Kristian 2014-12-11 6:38 GMT+01:00 Paul Benedict : > Recently I needed to create zip artifacts for overlays into WAR. Maven > doesn't have support for "zip" packaging type projects, but MNG-1683 wants > to introd

RE: MNG-1683: Zip packaging

2014-12-10 Thread Robert Patrick
But there is nothing stopping people from adding custom packaging types, right? The real question is there enough demand to warrant folding it into Maven itself versus making the people that need it define it themselves. We have defined a number of custom packaging types for our own component

MNG-1683: Zip packaging

2014-12-10 Thread Paul Benedict
Recently I needed to create zip artifacts for overlays into WAR. Maven doesn't have support for "zip" packaging type projects, but MNG-1683 wants to introduce it. I am curious why this issue has been ignored. Is it just a lack of time or interest? Or is there a philosophical i

org.apache.maven.artifact.resolver.ArtifactResolver ignores packaging when resolving artifacts since mvn 3.1.1

2014-07-24 Thread Simone Tripodi
Hi all mates, I faced today a strange issue(?) that I experienced with Maven 3.1.1 and 3.2.2: as per subject, org.apache.maven.artifact.resolver.ArtifactResolver ignores packaging when resolving artifacts, I mean that if a request com.acme:acme-commons:pom:1.7.0 the ArtifactResolver componnet

Re: Reactor dependencies with custom packaging not being resolved - bug in Maven or on my side?

2013-11-08 Thread Grzegorz Słowikowski
ote: >>> >>>> Hi >>>> >>>> Maybe I'm doing something wrong and maybe it's Maven bug. >>>> Failing with many Maven versions: 2.2.1, 3.0.x, 3.1.x >>>> >>>> I have multi-module test project for my plugin: >&g

Re: Reactor dependencies with custom packaging not being resolved - bug in Maven or on my side?

2013-11-04 Thread Jason van Zyl
ps://maven-play-plugin.googlecode.com/svn/tags/test-projects-1.0.0-beta6/packagings/default/inter-app-dependency >>> >>> There are two submodules: "app1" and "app2", both with custom "play" >>> packaging. "app2" depe

Re: Reactor dependencies with custom packaging not being resolved - bug in Maven or on my side?

2013-11-04 Thread Grzegorz Słowikowski
gt; Failing with many Maven versions: 2.2.1, 3.0.x, 3.1.x >> >> I have multi-module test project for my plugin: >> https://maven-play-plugin.googlecode.com/svn/tags/test-projects-1.0.0-beta6/packagings/default/inter-app-dependency >> >> There are two submodules: "a

Re: Reactor dependencies with custom packaging not being resolved - bug in Maven or on my side?

2013-11-04 Thread Jason van Zyl
t/inter-app-dependency > > There are two submodules: "app1" and "app2", both with custom "play" > packaging. "app2" depends on "app1". > "play" packaging lifecycle is producing zip file (you can see "zip" in > the logs). &g

Re: Reactor dependencies with custom packaging not being resolved - bug in Maven or on my side?

2013-11-04 Thread Grzegorz Słowikowski
for my plugin: >> https://maven-play-plugin.googlecode.com/svn/tags/test-projects-1.0.0-beta6/packagings/default/inter-app-dependency >> >> There are two submodules: "app1" and "app2", both with custom "play" >> packaging. "app2" dep

Re: Reactor dependencies with custom packaging not being resolved - bug in Maven or on my side?

2013-11-04 Thread Mikolaj Izdebski
test-projects-1.0.0-beta6/packagings/default/inter-app-dependency > > There are two submodules: "app1" and "app2", both with custom "play" > packaging. "app2" depends on "app1". > "play" packaging lifecycle is producing zip

Reactor dependencies with custom packaging not being resolved - bug in Maven or on my side?

2013-11-04 Thread Grzegorz Słowikowski
re are two submodules: "app1" and "app2", both with custom "play" packaging. "app2" depends on "app1". "play" packaging lifecycle is producing zip file (you can see "zip" in the logs). Everything starts working after installing &qu

Re: how to tell if a packaging is classpath

2011-07-12 Thread Brett Porter
On 12/07/2011, at 8:13 PM, Benson Margulies wrote: > Brett, > > I'm not working on a problem -- well, to be exact, there was an NPE in > the code in question, but that's fixed. I happened to see this code > while working on 'aggregate' and I wondered if it was entirely > satisfactory. Cool - it

Re: how to tell if a packaging is classpath

2011-07-12 Thread Benson Margulies
Brett, I'm not working on a problem -- well, to be exact, there was an NPE in the code in question, but that's fixed. I happened to see this code while working on 'aggregate' and I wondered if it was entirely satisfactory. --benson On Tue, Jul 12, 2011 at 3:03 AM, Brett Porter wrote: > > On 11

Re: how to tell if a packaging is classpath

2011-07-12 Thread Brett Porter
On 11/07/2011, at 9:04 PM, Benson Margulies wrote: >> >> Why is it doing this at all? > > Jörg, > > Honestly, I have no idea -- I just happened to spot it on the way by. > And when I thought some more, I realized that my question is > mis-stated. The issue here isn't classpath, it's more relat

Re: how to tell if a packaging is classpath

2011-07-11 Thread Stephen Connolly
On 11 July 2011 12:37, Jörg Schaible wrote: > Stephen Connolly wrote: > >> http://mojo.codehaus.org/build-helper-maven- > plugin/xref/org/codehaus/mojo/buildhelper/AddSourceMojo.html#67 >> >> Don't limit yourself to just one directory... > > Yeah, but this raises the question, if a JXR report over

Re: how to tell if a packaging is classpath

2011-07-11 Thread Jörg Schaible
Stephen Connolly wrote: > http://mojo.codehaus.org/build-helper-maven- plugin/xref/org/codehaus/mojo/buildhelper/AddSourceMojo.html#67 > > Don't limit yourself to just one directory... Yeah, but this raises the question, if a JXR report over generated Java sources is actually wanted. > And the

Re: how to tell if a packaging is classpath

2011-07-11 Thread Stephen Connolly
http://mojo.codehaus.org/build-helper-maven-plugin/xref/org/codehaus/mojo/buildhelper/AddSourceMojo.html#67 Don't limit yourself to just one directory... And then if this is not a Java based project, those directories might be not holding .java files... On 11 July 2011 12:04, Benson Margulies w

Re: how to tell if a packaging is classpath

2011-07-11 Thread Benson Margulies
> > Why is it doing this at all? Jörg, Honestly, I have no idea -- I just happened to spot it on the way by. And when I thought some more, I realized that my question is mis-stated. The issue here isn't classpath, it's more related to yours: What's the configured java src directory, and is there

Re: how to tell if a packaging is classpath

2011-07-10 Thread Jörg Schaible
Hi Benson, Benson Margulies wrote: > In the jxr plugin, I see: > > if ( !"pom".equals( getProject().getPackaging().toLowerCase() ) ) > { > l.addAll( sourceDirs ); > } > > This can't be good, can it? Isn't there some way to tell what are the > classpath packagings? W

how to tell if a packaging is classpath

2011-07-10 Thread Benson Margulies
In the jxr plugin, I see: if ( !"pom".equals( getProject().getPackaging().toLowerCase() ) ) { l.addAll( sourceDirs ); } This can't be good, can it? Isn't there some way to tell what are the classpath packagings?

Re: Question on packaging types, maven-install and maven ejb/ear plugin

2011-03-07 Thread Stephane Nicoll
There's a difference between the packaging type (car) and the file extension (jar) so there's nothing to do actually. That being said, there's already a 'car' type out there in Geronimo [1]. Are you aware of this? If you want to add an official support in the ear pl

Re: Question on packaging types, maven-install and maven ejb/ear plugin

2011-03-07 Thread Benjamin Bentmann
Pablo wrote: The behaviour i want is the same as the maven-ejb-plugin: Defines an ejb packaging type but the artifact gets installed in the repo as a .jar and gets bundled in the ear as .jar too. The relevant magic is called an artifact handler. See [0] and look for the EJB case. Benjamin

Question on packaging types, maven-install and maven ejb/ear plugin

2011-03-07 Thread Pablo
Hi, I am trying to come out with a plugin to detect and process JEE application clients. I created a new packaging type called 'car' through META-INF/plexus/components.xml (http://maven-car-plugin.googlecode.com/svn/trunk/maven-car-plugin/src/main/resources/META-INF/plexus/comp

Determine the output artifact filename extension from packaging type

2011-02-03 Thread සමින්ද
Hi, I'm wondering whether it is possible to figure-out the filename extension of the artifact created by a foobar packaging type. When creating a life cycle under artifact handler role we define (not necessarily however) the extension for the artifact. I want to determine this extension gi

Re: Maven 3.0-alpha-5 and maven-archetype packaging

2009-12-07 Thread Stevo Slavić
om-project mojo creates >> archetype project with packaging maven-archetype, but that packaging seems >> not to be supported by / valid for 3.0-alpha-5 >> > > Try running "mvn install" on your example project with Maven 2.x and you'll > get > > [INFO

Re: Maven 3.0-alpha-5 and maven-archetype packaging

2009-12-07 Thread Benjamin Bentmann
Stevo Slavić wrote: It seems 3.0-alpha-5 is not compatible with current 2.0-alpha-4 version of maven-archetype-plugin - archetype:create-from-project mojo creates archetype project with packaging maven-archetype, but that packaging seems not to be supported by / valid for 3.0-alpha-5 Try

  1   2   3   >