Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4129

Execution's inherited is not working as expected.

    XMLWordPrintableJSON

Details

    Description

      I have following mentioned in my POM, but 'assemble-static-gh-pages' gets executed in the child POMs anyway. I see that its supposed to working as of - MNG-3286 but it ain't so. The build process in my project (http://github.com/imyousuf/smart-dao/tree) is incomplete just because of it.

      <plugin>
          <groupId>org.apache.maven.plugins</groupId>
          <artifactId>maven-assembly-plugin</artifactId>
          <version>${assembly.version}</version>
          <inherited>false</inherited>
          <executions>
              <!-- Assembly execution for aggregating gh-pages -->
              <execution>
                  <id>assemble-static-gh-pages</id>
                  <phase>compile</phase>
                  <inherited>false</inherited>
                  <goals>
                      <goal>single</goal>
                  </goals>
                  <configuration>
                      <descriptors>
                          <descriptor>src/main/assembly/assemble-gh-pages.xml</descriptor>
                      </descriptors>
                  </configuration>
              </execution>
              <!-- Filter README -->
              <execution>
                  <id>assemble-readme</id>
                  <phase>process-resources</phase>
                  <inherited>true</inherited>
                  <goals>
                      <goal>single</goal>
                  </goals>
                  <configuration>
                      <descriptors>
                          <descriptor>src/main/assembly/assemble-readme.xml</descriptor>
                      </descriptors>
                  </configuration>
              </execution>
          </executions>
      </plugin>
      

      Attachments

        1. pom.xml
          19 kB
          Imran M Yousuf

        Issue Links

          Activity

            People

              bentmann Benjamin Bentmann
              imyousuf Imran M Yousuf
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: