Attaching dependency-reduced POM to build using Maven Assembly or Shade

2021-04-24 Thread Alexander Kriegisch
I am sorry if I am asking a question the answer to which might be obious to others, but for a long time I have wondered why I do not find any examples for the following use case which IMO is probably quite common: ** I build an uber JAR containing some module dependencies, possibly also

Re: Scratching my head over repositories ...

2021-04-24 Thread Anders Hammar
Ok, the problem is that you've declared a repository but it should be a pluginRepository as it's a plugin or a dependency of one. /Anders (mobile) Den lör 24 apr. 2021 16:36Tommy Svensson skrev: > To be clearer: > > [ERROR] Plugin >

Re: Scratching my head over repositories ...

2021-04-24 Thread Tommy Svensson
To be clearer: [ERROR] Plugin se.natusoft.tools.codelicmgr:CodeLicenseManager-maven-plugin:2.2.2 or one of its dependencies could not be resolved: Failure to find se.natusoft.tools.codelicmgr:CodeLicenseManager-maven-plugin:jar:2.2.2 in https://repo.maven.apache.org/maven2 was cached in the

Re: Scratching my head over repositories ...

2021-04-24 Thread Tommy Svensson
I am using latest IDEA which supplies maven 3.6.3. No version ranges. My interpretation of  https://maven.apache.org/guides/mini/guide-multiple-repositories.html#repository-order says that maven central is always first. -- About Maven Central: Many years ago I did submit some tools of mine to