Quantcast
Channel: build-helper-maven-plugin adding additional source - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Dominic Philip for build-helper-maven-plugin adding additional source

$
0
0

Found it in an alternate way..works great.!

Steps include

1. Removed build-helper-maven-plugin from pom .

2. Created another maven project and added the common classes in it. Added maven-source-plugin in this pom to generate sources.

3. To the same pom, added maven-dependency-plugin to copy this generated sources to the desired location (My project's src/main/java).

4. Run a maven build for common classes project.

Now the common code in my project. Thanks.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>