I understand that you can create only one artifact from one pom in maven.
I wrote a javadoc doclet that creates an html report of my artifact (my-rest-api). This doclet can also create stub requests and models for writing integration tests. My problem is now, that I have to manually copy the generated classes into a third maven project (my-test-models) in order to create an artifact from it. Is there any other way? The generated classes are created from source so I cannot just depend on the my-rest-api artifact. I could hard-code paths between both project but I don't like that neither. Any ideas?