There are a few options for that:
a) Regarding "not using invesdwin as a maven-parent" you can find example on different integration scenarios here:
https://github.com/subes/invesdwin-context/tree/master/testsThe documentation for this is here:
https://github.com/subes/invesdwin-context#parent-pomb) Alternatively you can turn the banned dependency failures into mere warnings like this:
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<fail>false</fail>
</configuration>
</plugin>
Here is the full excample:
https://github.com/subes/invesdwin-context-persistence/blob/master/invesdwin-context-persistence-parent/invesdwin-context-persistence-jpa-kundera-rdbms/pom.xmlc) Another alternative is to override the maven configuration via the attribute " combine.self='override' ". An example is here where the spring-boot transformers declaration gets overridden from the maven-share-plugin (you can do the same with any type of plugin configuration):
https://github.com/subes/invesdwin-nowicket/blob/master/invesdwin-nowicket-parent/invesdwin-nowicket-examples/invesdwin-nowicket-examples-mvp-bsgcoach/pom.xmld) Though JTA is in some ways banned because there are multiple different providers for this API and having multiple ones in the classpath will give runtime exceptions if they are incompatible (ClassCastException, ClassNotFoundException, AbstactMethodException, ...). Those problems are hard to track and fix, so we normally ban all conflicting providers in favor of one specific provider that we favor. In this case we banned these two for our platform:
<exclude>javax.transaction:jta</exclude>
<exclude>org.apache.geronimo.specs:geronimo-jta_1.0.1B_spec</exclude>
And allow the following as the favored one (which is defined as a dependency of invesdwin-context):
<dependency>
<groupId>org.jboss.spec.javax.transaction</groupId>
<artifactId>jboss-transaction-api_1.1_spec</artifactId>
</dependency>
Though in the case of querydsl-apt I think i remember it to be only an optional dependency. So it could be possible it would work without any JTA on the classpath. But I have not tried it for some time and might not remember it correctly.
Best regards,
Edwin