maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thad Humphries <>
Subject Include *.class and *.java files with shade plugin
Date Thu, 09 May 2013 22:27:34 GMT
I am using Maven 3.0.5.

I'm attempting to use maven-shade-plugin to merge the *.class and *.java
files from an artifact in my repository into a single jar, along with some
resource files in the current project. However while the resource and
*.class files are in the new artifact's jar, the *.java files aren't there.
The dependency has both a *.jar and a *-sources.jar are in the repository.

The dependency looks like:


As I said, both thedb-VER.jar and thedb-VER-sources.jar exist.

My plugin looks like this:


How to I get the source files in my new artifact's jar (call it

"Hell hath no limits, nor is circumscrib'd In one self-place; but where we
are is hell, And where hell is, there must we ever be" --Christopher
Marlowe, *Doctor Faustus* (v, 121-24)

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message