Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Maven property refering an system property red

$
0
0

I build an profile to glassfish in my projetc, where I set an property that points to an system property (com.sun.aas.instanceRoot) that glassfish provide when running. Like that:

 

<profile>     <id>glassfish4</id>     <activation>          <activeByDefault>true</activeByDefault>     </activation>     <properties>          <LOG_DIR>${com.sun.aas.instanceRoot}</LOG_DIR>     </properties>     <build>          <pluginManagement>               <plugins>                    <plugin>                         <groupId>org.apache.maven.plugins</groupId>                         <artifactId>maven-ear-plugin</artifactId>                         <configuration>                              <unpackTypes>ejb,war</unpackTypes>                              <filtering>true</filtering>                         </configuration>                    </plugin>               </plugins>          </pluginManagement>     </build></profile>

 

 

This ${LOG_DIR} propety is set at my logback.xml.

 

Well everything is working as it should. It compiles normally and working as expected. But Intellij keep showing me "Cannot resolve symbol", how can I get this message away? ALT-ENTER doesn't has any option to disable this validation.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>