Re: Remove Artifact Commons-Lang Dependency?

2020-01-02 Thread Mark James
On 01/01/2020 00:50, Karl Heinz Marbaise wrote: > But I don't understand why you are compiling parts of Maven into your JAR ? Karl, my JAR (which provides an API that its users use in their Java apps) needs to order version strings. Rather than write that myself, I would like to efficiently embed

Re: Remove Artifact Commons-Lang Dependency?

2020-01-02 Thread Mark James
    if (!Character.isWhitespace(str.charAt(i))) {     return;     }     }     throw new IllegalArgumentException(message);     }     } On 01/01/2020 03:18, Mark James wrote: > On 01/01/2020 01:13, Michael Osipov wrote: >> 2. In ArtifactUtils.notBlank, replacing

Re: Remove Artifact Commons-Lang Dependency?

2020-01-02 Thread Mark James
On 01/01/2020 01:13, Michael Osipov wrote: > 2. In ArtifactUtils.notBlank, replacing >> >> Validate.notBlank( str, message ); >> >> with >> >> for (int i=0; i < str.length(); i++) if >> (!Character.isWhitespace(str.charAt(i))) return; >> throw new IllegalArg

Re: Remove Artifact Commons-Lang Dependency?

2019-12-31 Thread Mark James
he commons-lang3 dependencies so I don't have to also compile that in. It's great that you're currently working on dependency reduction. Mark On 31/12/2019 23:45, Karl Heinz Marbaise wrote: > hi Mark, > > On 31.12.19 12:54, Mark James wrote: >> Karl, I'd like to em

Re: Remove Artifact Commons-Lang Dependency?

2019-12-31 Thread Mark James
Marbaise wrote: > Hi Mark, > > can you tell us on which part of Maven you are referencing? Or do you > reference your own project? > > Maven Core ? a particular plugin ? > > Kind regards > Karl Heinz Marbaise > > On 25.11.19 03:08, Mark James wrote: >> Hello, >

Remove Artifact Commons-Lang Dependency?

2019-11-25 Thread Mark James
Hello, Is there any chance of removing the dependency of Artifact on Commons-Lang? Something nine times bigger is pulled in just to reference the String utility functions isNotEmpty, notBlank, and isNumeric. I understand the advantages of libraries, but this comes at more of a cost in Java becaus