Sculptor with Parent POM

43 views
Skip to first unread message

richar...@taskize.co.uk

unread,
Mar 31, 2016, 10:18:43 AM3/31/16
to Sculptor Generator
Hi there.

We were using a flat project structure with 2 projects 

Each project had some sculptor btdesign files.

Each project had its own POM and sculptorgenerator

main/
        /module1
                     pom.xml
        /module2
                     pom.xml

I then needed to add a parent POM. Which I did and it referenced the 2 child projects as <modules>...

main/
        pom.xml [parent]
        /module1
                     pom.xml [child]
        /module2
                     pom.xml [child]

However when I did this the sculptor generator started generating the code into the main directory.

main/src/generated/java/...

Instead of under the module1 directory...

No idea why. Any ideas?

richar...@taskize.co.uk

unread,
Apr 4, 2016, 6:26:19 AM4/4/16
to Sculptor Generator
Hi there, can someone come back to me on this?

Thanks,
Richie. 

richar...@taskize.co.uk

unread,
Apr 11, 2016, 11:01:29 AM4/11/16
to Sculptor Generator
I have created an issue for this.


Is anyone going to get back to me?

Thanks,
Richie. 

On Thursday, 31 March 2016 15:18:43 UTC+1, richar...@taskize.co.uk wrote:

Torsten Juergeleit

unread,
Apr 12, 2016, 1:17:26 PM4/12/16
to Sculptor Generator
Without seeing the POMs (especially the parent one) it's only guessing...
Maybe your parent POM contains Sculptor-related <build><plugins><plugin> stuff copied from the child POMs.

The verbose output of "mvn generate-sources -X" provides details regarding the configuration of the plugin.

A working example of a Sculptor multi-module Maven project can be found here.

/Torsten

richar...@taskize.co.uk

unread,
Apr 13, 2016, 4:31:30 AM4/13/16
to Sculptor Generator
Thanks, will take a look. 


On Thursday, 31 March 2016 15:18:43 UTC+1, richar...@taskize.co.uk wrote:
Reply all
Reply to author
Forward
0 new messages