'IntelliJ Ultimate 2019.3 find usages not working
if i use maven propertie dynamic generation version in multi-module, find usages not working.
projecdt structure:
-parent-project
--api
--service
parent:
<profiles>
<profile>
<id>develop</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<profile-version>dev</profile-version>
</properties>
</profile>
<profile>
<id>qas</id>
<properties>
<profile-version>qas</profile-version>
</properties>
</profile>
<profile>
<id>master</id>
<properties>
<profile-version>prd</profile-version>
</properties>
</profile>
</profiles>
api:
<properties>
<profile-version>dev</profile-version>
</properties>
<groupId>groupId</groupId>
<artifactId>artifactId/artifactId>
<version>1.0-${profile-version}-SNAPSHOT</version>
public interface TestService {
public void test();
}
servcie: find TestService usages not working.
<dependency>
<groupId>groupId</groupId>
<artifactId>artifactId</artifactId>
<version>1.0-${profile-version}-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
public class TestServiceImpl implements TestService {
public void test(){}
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
