in Education by
I would like to document in the shaded jar what maven artifacts actually end up in that shaded jar. All the packages get merged and that makes it difficult to workout exactly what artifacts went into it just by looking at the jar. I suppose the ideal place for that information would be the manifest file but it could just be in a text file. Ideally I want to see groupId, artifactId and version. Is this at all possible with the maven shade plugin? Thanks in advance, Phil. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
You can do this with maven, below steps to follow: 1- Create under src/main/resources a file wich will contain the information, information.txt for example with the following content: version=${project.version} artifactId=${project.artifactId} groupId=${project.groupId} 2- Activate Maven filtring ... ... src/main/resources true **/information.txt ... ... ... 3- Build your project. The file will contain now the information you need. More information about the plugin.

Related questions

0 votes
    How Maven handles and determines what version of dependency will be used when multiple versions of an artifact are found?...
asked May 4, 2021 in Technology by Editorial Staff
0 votes
    I'm using const embed = new Discord.RichEmbed(); for my embeds. How do I reset the Embed values? ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 29, 2022 in Education by JackTerrance
0 votes
    I think it goes without saying that I should be able to use Oracle's own JDK with JavaFX (from ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 26, 2022 in Education by JackTerrance
0 votes
    I have written a series of classes that I want to turn into a company library. Managing all it's ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    What is Artifact Archival & how to do it in Pipelines?...
asked Sep 14, 2021 in Technology by JackTerrance
0 votes
    Apologies if this question is answered elsewhere on StackOverflow, I did my best to search for an answer ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 13, 2022 in Education by JackTerrance
0 votes
    I have some trouble to correctly embed images in html/php email. My .php file just sends out a ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I have some trouble to correctly embed images in html/php email. My .php file just sends out a ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 23, 2022 in Education by JackTerrance
0 votes
    How can you embed a Visualflow in a Visualforce page?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    When I launch the "mvn install" command, maven sometimes tries to download dependencies that it has already ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 17, 2022 in Education by JackTerrance
0 votes
    I have a Jenkins project that does a gradle build and uploads build artifacts to a Nexus maven hosted ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 14, 2022 in Education by JackTerrance
0 votes
    The half life for radioactive decay of .14C is 5730 years. An archaeological artifact containing wood had only 80% ... of the sample. Select the correct answer from above options...
asked Jan 4, 2022 in Education by JackTerrance
0 votes
    What is a project’s fully qualified artifact name?...
asked May 4, 2021 in Technology by Editorial Staff
0 votes
    Which of the following is an artifact repository...
asked Mar 7, 2021 in Technology by JackTerrance
0 votes
    Which of the following is an artifact repository ? (i)Matrix (ii)Ansible (iii)Maven (iv)Nexus...
asked Oct 5, 2020 in Technology by Editorial Staff
...