maven-shade-plugin Questions
7
Solved
I am running Geotools inside of Apache Storm, and having a heck of a time with geotools dependency management. Every thing works when I run the storm cluster locally (windows 7 laptop), but when I ...
Tinny asked 11/12, 2014 at 17:42
4
Solved
I copied configuration of maven shade plugin straight from apache maven documentation https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html
This is my current set...
Atabrine asked 11/3, 2018 at 0:27
12
I have log4j2 in my project when I run main method in intellij Idea ,it correct to print log.
when i use maven-shade-plugin package project to jar file, and run jar as standalone application it s...
Pushup asked 30/12, 2017 at 12:8
3
Solved
For
<dependencies>
...
<dependency>
<groupId>com.manuel.jordan</groupId>
<artifactId>some module</artifactId>
<version>0.0.1-SNAPSHOT</version>...
Reference asked 28/9, 2020 at 21:46
5
I am using Maven to build a particular project, and within the POM I am building 3 different variants of the primary artifact using the maven shade plugin (I'm creating uber jars with various combi...
Argosy asked 19/3, 2017 at 3:46
6
I'm facing "Circular Placeholder reference" exception while trying to run an executable jar file. Here's the detailed exception.
org.springframework.beans.factory.BeanDefinitionStoreException: In...
Equator asked 18/7, 2012 at 22:8
3
There are a very strange build with maven-shade-plugin:2.4.3 in a standard maven project. It was throw can not find mainClass exception always when execute maven package command. I just simulate an...
Boorer asked 30/3, 2016 at 6:28
5
I read over the docs and didn't find anything that talks about what it's used for.
Triangle asked 7/4, 2014 at 5:55
4
Solved
There error message in question is
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.1.0:shade (default) on project myapp-core: Error creating shaded jar: null: Illegal...
Precipitancy asked 7/9, 2018 at 11:9
3
Solved
This is my project POM (link to the paste, so you can right click > save as pom.xml)
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xs...
Antiquity asked 6/8, 2012 at 8:10
3
Solved
For my Spring boot application with embedded tomcat, due to some limitation I need to do away with spring-boot-maven-plugin and need to use maven-shade-plugin. With maven package command I could su...
Leisurely asked 13/11, 2015 at 7:7
1
Solved
My experience with Java class loading is limited. With tools like Maven I have a rusty understanding of how they resolve dependency versions. But I've hit a problem that's making me question how Ja...
Gobbet asked 22/11, 2022 at 20:53
7
Solved
I have a Maven based Spring-WS client project that I want to package as a single jar. In eclipse, everything runs properly. When I try to package it as an executable jar, I get ClassNotFound except...
Cathar asked 22/6, 2012 at 16:41
3
Solved
I'm building apache-spark application with Apache Spark Hive. So far everything was ok - I've been running tests and whole application in Intellij IDEA and all tests together using maven.
Now I wa...
Ataractic asked 27/5, 2016 at 13:1
2
I'm using Gradle shadow jar plugin to produce a fat jar for selenium. The following code is declared in Gradle kts:
dependencies {
val seleniumV = "4.1.4"
val phantomJSV = "1.5.0&...
Bahuvrihi asked 17/6, 2022 at 20:51
1
Solved
As the title says, I'm looking for a simple example in github that contains a code example that shows how to use the [the maven-shade-plugin] to rename classes when two versions of a library must b...
Warden asked 24/9, 2022 at 0:26
2
Solved
Each time I run maven package to produce an updated jar, it creates an "original" jar file, as well as the updated one.
This is particularly an issue for me due to the fact that I'm running the co...
Mcswain asked 19/6, 2018 at 0:34
3
I want to bundle a JRE inside my executable JAR, so that the exe can run on any system.
I have tried Launch4j, but that approach requires me to ship both the JRE and the exe. As per my requirement...
Psychogenic asked 8/7, 2017 at 6:17
4
Solved
How to use the maven-flatten-plugin and maven-shade-plugin at the same time?
I use revision,sha1,changelist to manage the versions of a multi-module project.
In order to deploy cosumable artifact...
Stairway asked 28/9, 2018 at 9:30
6
Solved
The maven shade plugin is creating a file called dependency-reduced-pom.xml and also artifactname-shaded.jar and placing them in the base directory.
Is this a bug? Should be in the target director...
Vanderhoek asked 3/7, 2012 at 15:25
2
Solved
I am trying to get the log4j2 configured for my aws lambda function using java8 runtime. Aws lambda handler does provide context-Lambdalogger but I want to use the standard log4j configuration so t...
Warmup asked 18/4, 2019 at 14:59
1
Solved
i am trying to generate logs in Json format for that using log4j2 JsonTemplateLayout with LogstashJsonEventLayoutV1.json as the template. When i run the code using intellij everything works as expe...
Esmerolda asked 23/4, 2021 at 13:34
1
I am using commons-io in my project and want to shade it. I am running into a warning that I can't seem to figure out:
[WARNING] commons-io-2.7.jar, murder-1.0-SNAPSHOT.jar define 180 overlapping c...
Antemundane asked 30/8, 2020 at 16:38
2
I have a maven project with both Java and Scala components, but when I use maven-shade-plugin, it relocates package names for both Java and Scala files, but ONLY renames packages inside Java files,...
Geerts asked 23/3, 2019 at 1:14
1
I am trying to create a FAT jar and combine entries in META-INF/services/io.vertx.config.spi.ConfigProcessor from vertx-config and vert-config-yaml JAR files. I do not see a need for mainfest entry...
Bookcase asked 19/8, 2019 at 21:32
1 Next >
© 2022 - 2024 — McMap. All rights reserved.