Cactus
  1. Cactus
  2. CACTUS-205

Most of the maven properties for ant:javac are ignored

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: Maven Integration
    • Labels:
      None

      Description

      I am setting the maven.compile.source=1.4 and maven.compile.target=1.4 properties as part of our upgrade to jre 1.5. However, the cactus plugin ignores these settings.

        Activity

        Hide
        Eric Lapierre added a comment -

        The problem is related to the way the tests are written:
        <j:if test="$

        {pom.getPluginContext('maven-java-plugin').getVariable( 'maven.compile.source')}

        ">

        instead of:
        <j:if test="$

        {pom.getPluginContext('maven-java-plugin').getVariable( 'maven.compile.source') != null}

        ">

        Show
        Eric Lapierre added a comment - The problem is related to the way the tests are written: <j:if test="$ {pom.getPluginContext('maven-java-plugin').getVariable( 'maven.compile.source')} "> instead of: <j:if test="$ {pom.getPluginContext('maven-java-plugin').getVariable( 'maven.compile.source') != null} ">
        Hide
        Vincent Massol added a comment -

        unassigning myself as I'm not active on this.

        Show
        Vincent Massol added a comment - unassigning myself as I'm not active on this.

          People

          • Assignee:
            Unassigned
            Reporter:
            Eric Lapierre
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development