There is a maven project(jar), but now it needs to be spilt into two artifacts
I want to have two maven artifact like following
<groupId>xxx</groupId>
<artifactId>xxx-client</groupId>
<groupId>xxx</groupId>
<artifactId>xxx-impl</groupId>
But all the code is in one single project.
My question would be, How can I package the tow required artifacts without changing the project too much.
Then ,
mvn package deploy
will auto deploy these two artifacts into repository Actually I don't want to split these project into two maven project.