This repository was archived by the owner on Sep 15, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 7272 <postgresql .jdbc.spec>JDBC${jdbc.specification.version} </postgresql .jdbc.spec>
7373 <postgresql .driver.fullversion>PostgreSQL ${postgresql.jdbc.spec} </postgresql .driver.fullversion>
7474 <postgresql .preprocessed.sources.directory>${project.build.directory} /gen-src</postgresql .preprocessed.sources.directory>
75+ <postgresql .preprocessed.test.sources.directory>${project.build.directory} /gen-test-src</postgresql .preprocessed.test.sources.directory>
7576 <unzip .jdk.ant.build.xml>${project.build.directory} /unzip-jdk-ant.xml</unzip .jdk.ant.build.xml>
7677 <skip .unzip-jdk-src>true</skip .unzip-jdk-src>
7778 <!-- Configuration for maven-surefire-plugin. Needs to be here for compatibility with jacoco -->
99100 <compareDestination >true</compareDestination >
100101 </configuration >
101102 </execution >
103+ <execution >
104+ <id >preprocessTestSources</id >
105+ <phase >generate-test-sources</phase >
106+ <goals >
107+ <goal >preprocess</goal >
108+ </goals >
109+ <configuration >
110+ <!-- generated-sources is not used, otherwise IDEA picks sources from both src and generated-sources,
111+ and produces lots of "duplicate class" errors -->
112+ <testDestination >${postgresql.preprocessed.test.sources.directory} </testDestination >
113+ <compareDestination >true</compareDestination >
114+ <useTestSources >true</useTestSources >
115+ </configuration >
116+ </execution >
102117 </executions >
103118 </plugin >
104119 <plugin >
You can’t perform that action at this time.
0 commit comments