Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: build_system
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      12,780

      Description

      Whenever you change anything in config-api you have to clean and build.
      If you don't you get weird head-scratching results.

      If you don't know about this you'll probably waste a lot of time diagnosing...

        Activity

        Hide
        janey added a comment -

        Thanks for reporting this...
        We can add maven-clean-plugin in config-api/pom.xml so every time with "mvn install" is invoked, "clean"
        goal is automatically invoked in the initialize phase.

        Show
        janey added a comment - Thanks for reporting this... We can add maven-clean-plugin in config-api/pom.xml so every time with "mvn install" is invoked, "clean" goal is automatically invoked in the initialize phase.
        Hide
        janey added a comment -

        Added maven-clean-plugin in admin/config/pom.xml:

        Sending admin/config-api/pom.xml
        Transmitting file data .
        Committed revision 41498.

        Diffs:

        Index: pom.xml
        ================================================================
        ===
        — pom.xml (revision 41490)
        +++ pom.xml (working copy)
        @@ -102,6 +102,19 @@
        </execution>
        </executions>
        </plugin>
        + <!-- force a clean in the initialize phase. See IT: 12780 -->
        + <plugin>
        + <artifactId>maven-clean-plugin</artifactId>
        + <executions>
        + <execution>
        + <id>auto-clean</id>
        + <phase>initialize</phase>
        + <goals>
        + <goal>clean</goal>
        + </goals>
        + </execution>
        + </executions>
        + </plugin>
        </plugins>
        </build>
        <dependencies>

        Show
        janey added a comment - Added maven-clean-plugin in admin/config/pom.xml: Sending admin/config-api/pom.xml Transmitting file data . Committed revision 41498. Diffs: Index: pom.xml ================================================================ === — pom.xml (revision 41490) +++ pom.xml (working copy) @@ -102,6 +102,19 @@ </execution> </executions> </plugin> + <!-- force a clean in the initialize phase. See IT: 12780 --> + <plugin> + <artifactId>maven-clean-plugin</artifactId> + <executions> + <execution> + <id>auto-clean</id> + <phase>initialize</phase> + <goals> + <goal>clean</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> </build> <dependencies>

          People

          • Assignee:
            janey
            Reporter:
            Byron Nevins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: