Skip to content

Commit

Permalink
HSEARCH-2822 Automatic activation of the JBoss Logging AP on IDEA pro…
Browse files Browse the repository at this point in the history
…ject import
  • Loading branch information
Sanne authored and yrodiere committed Jul 18, 2017
1 parent e01a8e1 commit 39b797d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1581,6 +1581,36 @@ org.hibernate.search.spi.SearchIntegratorBuilder#buildSearchIntegrator()
</properties>
</profile>

<profile>
<id>IDEA</id>
<!--
Dependencies to allow easy project import in IntelliJ IDEA.
These should not be listed as project dependencies to users
but are necessary during compile time as they include the
JBoss Logger annotation processor.
-->
<activation>
<!-- This is a trick to have the profile automatically activated by IDEA -->
<property>
<name>idea.maven.embedder.version</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>jboss-logging-processor</artifactId>
<version>${jbossLoggingProcessorVersion}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>jsr250-api</artifactId>
<version>1.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
</profile>

<!-- ====================================== -->
<!-- Detection of tools classes for Byteman -->
<!-- ====================================== -->
Expand Down

0 comments on commit 39b797d

Please sign in to comment.