Hello, I am doing a project with hibernate search using spatial coordinates for searching. I am using Querydsl Spatial extension (4.0.6) to facilitate the queries, however it is not generating the spatial types in the classes. I think the problem is with the plugin configuration, as I have little experience with maven. I have the standard plugin for Querydsl:
<plugin>
<groupId>com.mysema.maven</groupId>
<artifactId>apt-maven-plugin</artifactId>
<version>1.1.3</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<outputDirectory>target/generated-sources/java</outputDirectory>
<processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
</configuration>
</execution>
</executions>
</plugin>
Now I have to add the plugin for the spatial generation as listed on your documentation:
<plugin>
<groupId>com.querydsl</groupId>
<artifactId>querydsl-maven-plugin</artifactId>
<version>${querydsl.version}</version>
<configuration>
<spatial>true</spatial>
</configuration>
</plugin>
I don't exactly what else I have to add. I have tried to add an execution, or even place "<spatial>true</spatial>" inside the upper plugin, but with no results. I am using WildFly 9.0.1, NetBeans 8.1, PostgreSQL 9.4.5 and Hibernate 5.0.0