imk / docbkx-tools

Automatically exported from code.google.com/p/docbkx-tools
0 stars 0 forks source link

Allow skipping execution #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Please add a possibility to skip execution of this plug-in.

For example, something like:

<plugin>
  <groupId>com.agilejava.docbkx</groupId>
  <artifactId>docbkx-maven-plugin</artifactId>
  <version>2.0.15-SNAPSHOT</version>
  <executions>
    <execution>
      <id>documentation</id>
      <phase>package</phase>
      <goals>
        <goal>generate-pdf</goal>
      </goals>
    </execution>
  </executions>
  <configuration>

    <skip>${plugin.docbkx.skip}</skip>

    <!-- ... -->
  </configuration>
</plugin>

My goal is to accelerate our builds when docbook-generation is not required. 
So, the skipping should be as fast as possible.

I know maven profiles. However, these tend to add considerable overhead to the 
POMs.

See also: 
http://maven.apache.org/plugins/maven-surefire-plugin/examples/skipping-test.htm
l.

Original issue reported on code.google.com by frank.sc...@gmail.com on 21 Nov 2012 at 4:47

GoogleCodeExporter commented 9 years ago
patch added

Original comment by frank.sc...@gmail.com on 21 Nov 2012 at 6:48

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,

sorry for the long delay reply and thank you for your contribution, I will 
integrate it.

Regards,
Cedric,

Original comment by MimilO...@gmail.com on 12 Dec 2012 at 6:36

GoogleCodeExporter commented 9 years ago
Added in r261

Original comment by MimilO...@gmail.com on 15 Jan 2013 at 5:33