Re: Maven coordinates terminology

2018-06-08 Thread Hervé BOUTEMY
Le vendredi 8 juin 2018, 22:53:17 CEST Ross Goldberg a écrit : > Thanks for the insight, Hervé. > > "packaging" is not part of coordinates: what you can have is "type" > > > I got "packaging" from: > > https://maven.apache.org/pom.html#Maven_Coordinates > > Is that page out of date? Or is

Re: Maven coordinates terminology

2018-06-08 Thread Ross Goldberg
Thanks for the insight, Hervé. "packaging" is not part of coordinates: what you can have is "type" I got "packaging" from: https://maven.apache.org/pom.html#Maven_Coordinates Is that page out of date? Or is "type" used in some circumstances / contexts, and "packaging" used in others? For

Re: Maven coordinates terminology

2018-06-08 Thread Hervé BOUTEMY
Le vendredi 8 juin 2018, 09:18:59 CEST Ross Goldberg a écrit : > Is there any established terminology for the following Maven coordinates > situations? AFAIK, no > > (I've included possible terms underneath each situation, in case no term > currently exists for it) > > - have groupId,

Re: Maven coordinates terminology

2018-06-08 Thread Ross Goldberg
Thanks for the insight, Robert. The terminology in my original email was skewed, as I had erroneously thought that resolving was just finding an artifact on a repo from given coordinates; from what you've said, resolving is obviously both finding & downloading a copy of the artifact. The tricky

Re: ear without libraries

2018-06-08 Thread Sartaj Hundal
Read the documentation http://maven.apache.org/plugins/maven-ear-plugin/examples/excluding-files-from-ear.html https://maven.apache.org/plugins/maven-resources-plugin/examples/include-exclude.html On Fri, Jun 8, 2018, 12:58 PM Aitor Iturriondobeitia, wrote: > hello > i am trying to use the

Re: ear without libraries

2018-06-08 Thread Karl Heinz Marbaise
Hi, Are you using skinnyWars option? Do you have dependencies in your ear project? Can you show your pom file? On 08/06/18 19:58, Aitor Iturriondobeitia wrote: hello i am trying to use the maven ear for building my ear but into the ear the lib directory must be without libraries but i

ear without libraries

2018-06-08 Thread Aitor Iturriondobeitia
hello i am trying to use the maven ear for building my ear but into the ear the lib directory must be without libraries but i cannot make it how must y use the ear pluging for exclude all dependencies ? thanks

Re: Maven coordinates terminology

2018-06-08 Thread Robert Scholte
Interesting discussion, I don't think there's a clear definition for all. Let me share *my* view: You should split input and output: input is the coordinate, output or result is the artifact. Based on the context you make the proper choice. Coordinates are the groupId, artifactId, version,

AW: AW: Maven plug-in development: Obtaining name of artifact

2018-06-08 Thread g.hohl
Hi Robert, Thank you for your reply. I need the name just for documentation purposes and not for any build related things, so it's no problem at all. Okay, I'll have a look at the ModelBuilder. That's add because I had a look at the Nexus and that artifact is not in one of the "hosted"

Re: AW: Maven plug-in development: Obtaining name of artifact

2018-06-08 Thread Robert Scholte
Hi Gerrit, so you have 2 different questions: How to get the project name out of the pom for a specific artifact? Not sure if you have chosen the right approach, because the name is buildtime information. Once the jar is on the classpath/modulepath there should be no reason to know the

Maven coordinates terminology

2018-06-08 Thread Ross Goldberg
Is there any established terminology for the following Maven coordinates situations? (I've included possible terms underneath each situation, in case no term currently exists for it) - have groupId, artifactId & version that might or might not actually resolve to an artifact in a specific

AW: Maven plug-in development: Obtaining name of artifact

2018-06-08 Thread g.hohl
Hello Robert, sorry for being not very specific in my previous mail. I'm talking about the element in the POM. This is some kind of problem as I don't have the POM file of the artifact. I'm using a Nexus repository server. And the POM file downloaded to my local repository is not the original