title: Maven runs profile executions only after the build executions
body: <p>Given a following maven pom.xml development profile   </p>
  
  <pre><code>&lt;profiles&gt;
      &lt;profile&gt;
          &lt;id&gt;development&lt;/id&gt;
  
          &lt;build&gt;
              &lt;plugins&gt;
                  &lt;plugin&gt;
                      &lt;groupId&gt;org.liquibase&lt;/groupId&gt;
                      &lt;artifactId&gt;liquibase-maven-plugin&lt;/artifactId&gt;
                      &lt;version&gt;3.0.4&lt;/version&gt;
                      &lt;executions&gt;
                          &lt;execution&gt;
                              &lt;id&gt;01-liquibase.dropAll&lt;/id&gt;
                              &lt;phase&gt;process-resources&lt;/phase&gt;
                              &lt;configuration&gt;
                                  [...skip...]
                              &lt;/configuration&gt;
                              &lt;goals&gt;
                                  &lt;goal&gt;dropAll&lt;/goal&gt;
                              &lt;/goals&gt;
                          &lt;/execution&gt;
                      &lt;/executions&gt;
                  &lt;/plugin&gt;
  
              &lt;/plugins&gt;
          &lt;/build&gt;
      &lt;/profile&gt;
  &lt;/profiles&gt;
  </code></pre>
  
  <p>and main section of pom.xml:</p>
  
  <pre><code>&lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.openjpa&lt;/groupId&gt;
              &lt;artifactId&gt;openjpa-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.2.2&lt;/version&gt;
  
              &lt;configuration&gt;
                  &lt;includes&gt;package/pm/entity/**/*.class&lt;/includes&gt;
                  &lt;addDefaultConstructor&gt;true&lt;/addDefaultConstructor&gt;
                  &lt;enforcePropertyRestrictions&gt;true&lt;/enforcePropertyRestrictions&gt;
                  &lt;persistenceXmlFile&gt;${project.parent.basedir}/forms-webapp/src/main/resources/META-INF/persistence.xml&lt;/persistenceXmlFile&gt;
              &lt;/configuration&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;id&gt;02-enhancer&lt;/id&gt;
                      &lt;phase&gt;process-classes&lt;/phase&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;enhance&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;dependencies&gt;
                  &lt;dependency&gt;
                      &lt;groupId&gt;org.apache.openjpa&lt;/groupId&gt;
                      &lt;artifactId&gt;openjpa&lt;/artifactId&gt;
                      &lt;version&gt;2.2.2&lt;/version&gt;
                  &lt;/dependency&gt;
              &lt;/dependencies&gt;
          &lt;/plugin&gt;
  
          &lt;plugin&gt;
              &lt;groupId&gt;org.liquibase&lt;/groupId&gt;
              &lt;artifactId&gt;liquibase-maven-plugin&lt;/artifactId&gt;
              &lt;version&gt;3.0.4&lt;/version&gt;
              &lt;executions&gt;
  
                  &lt;execution&gt;
                      &lt;id&gt;03-liquibase.update&lt;/id&gt;
                      &lt;phase&gt;process-resources&lt;/phase&gt;
                      &lt;configuration&gt;
                          [...skipped...]
                      &lt;/configuration&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;update&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
  
                  &lt;!-- for tests --&gt;
                  &lt;execution&gt;
                      &lt;id&gt;04-liquibase-test.dropAll&lt;/id&gt;
                      &lt;phase&gt;process-test-resources&lt;/phase&gt;
                      &lt;configuration&gt;
                          [...skipped...]
                      &lt;/configuration&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;dropAll&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
  
                  &lt;execution&gt;
                      &lt;id&gt;05-liquibase-test.update&lt;/id&gt;
                      &lt;phase&gt;process-test-resources&lt;/phase&gt;
                      &lt;configuration&gt;
                          [...skipped...]
                      &lt;/configuration&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;update&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
  
              &lt;/executions&gt;
          &lt;/plugin&gt;
  
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>I expect that executions will run in the following order:</p>
  
  <p>....</p>
  
  <p>01-liquibase.dropAll</p>
  
  <p>03-liquibase.update</p>
  
  <p>....</p>
  
  <p>But in build log I see:</p>
  
  <pre><code>[INFO] --- liquibase-maven-plugin:3.0.4:update (03-liquibase.update) @ forms-entity ---
  [INFO] ------------------------------------------------------------------------
  [INFO] Parsing Liquibase Properties File
  [INFO]   File: src/main/resources/liquibase.properties
  [INFO]   'classpath' in properties file is not being used by this task.
  [INFO] ------------------------------------------------------------------------
  [INFO] Executing on Database: jdbc:postgresql://localhost/pman_trunk
  [INFO] ------------------------------------------------------------------------
  [INFO] 
  [INFO] 
  [INFO] --- liquibase-maven-plugin:3.0.4:dropAll (01-liquibase.dropAll) @ forms-entity ---
  [INFO] ------------------------------------------------------------------------
  [INFO] Parsing Liquibase Properties File
  [INFO]   File: src/main/resources/liquibase.properties
  [INFO]   'classpath' in properties file is not being used by this task.
  [INFO] ------------------------------------------------------------------------
  [INFO] Executing on Database: jdbc:postgresql://localhost/pman_trunk
  [INFO] ------------------------------------------------------------------------
  </code></pre>
  
  <p>Is there any way to fix this wrong execution order?</p>