Questions tagged [maven-source-plugin]

24 questions
1
vote
2 answers

need maven plugin configuration for building aggregate source jar

I've been fighting with this for a while and reading a lot of docs pages and other questions but still can't get it to work. In my ORMLite project, I have a ormlite-core project which has core functionality and then a -jdbc and -android projects…
1
vote
1 answer

How to keep the maven structure when creating source-jar

I am using the maven-source-plugin to pack the sources of the project. Normally you get all from the main/java and main/resources packed together into one root. What I want is to keep the project structure in the final -source.jar - like…
VeikkoW
  • 817
  • 7
  • 12
0
votes
1 answer

VScode maven not executing plugins

I am trying to get my library uploaded to the maven central repository using VScode. In order to meet the requierments for that, I have a bunch of plugins configured in my pom.xml file. Here are all the plugins:
0
votes
0 answers

Cannot download sources from remote maven repository, but from local all is fine

I have 2 java projects: payment-common and payment-service. In payment-common I added maven-siurce-plugin: org.apache.maven.plugins
pegoopik
  • 101
  • 3
0
votes
1 answer

maven-jar-plugin with maven-source-plugin not working

I'm using maven-jar-plugin to create JAR with my test class as below: org.apache.maven.plugins maven-jar-plugin ${maven-jar-plugin.version}
0
votes
2 answers

how to set maven source plugin output file encoding

using maven source plugin and upload source jar file successfully. while download maven sources from another computer and found source file chinese words messy.here is my build configuration in pom.xml:
Crabime
  • 644
  • 11
  • 27
0
votes
1 answer

Generating filtered resources from the maven sources:jar execution

I would like to generate a sources jar file for my project, so I have included the maven-source-plugin. However, I am also using the resource filtering plugin to set a version number in a property file for my project. When I generate a final jar…
0
votes
1 answer

maven-source-plugin builds sources.jar, but it's unusable by IDEs

I have a Maven project that's built from generated sources. I'm using the maven-source-plugin, configured as follows: release
Brandon
  • 2,367
  • 26
  • 32
0
votes
0 answers

How to generate second EAR with sources

I have a project that consist of multiple modules (ejb's, jar's, war's) and I'm using a pom.xml of type "ear" to package them. It works perfectly fine and it generates an EAR-file with the correct jar's / etc. What I additionally need is a second…
Blink
  • 1,408
  • 13
  • 21
1
2