We use the below maven-compiler-plugin
        <plugin>
        <inherited>true</inherited>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <compilerArgument>-g:none</compilerArgument>
        </configuration>
      </plugin>
  ----
 ----
<pluginManagement>
    <plugins>
      <plugin>
        <groupId>org.freehep</groupId>
        <artifactId>freehep-nar-plugin</artifactId>
        <version>2.0-alpha-10</version>
        <extensions>true</extensions>
        <inherited>true</inherited>
        <configuration>
          <cpp>
            <name>CC</name>
            <options>
              <option>-xO3</option>
              <option>-c</option>
            </options>
          </cpp>
        </configuration>
    </plugins>
   </pluginManagement>

this is working fine in Solaris environment.. We have issues only in RHEL
environment.
Also can you help me on how we can specify the Compiler path.

   

--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-in-Linux-environment-tp4681852p4681976.html
Sent from the Maven Developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to