Maven Repository - POM file for JSF tomahawk12 1.1.9 1.1.9

Summary

Tomahawk 1.2 Core.

JSF components and utilities that can be used with any JSF implementation. This library is based on the JSF1.1 version of Tomahawk, but with minor source code and build changes to take advantage of JSF1.2 features. A JSF1.2 implementation is required to use this version of the Tomahawk ....

Declaration

Here is the list of declaration for tomahawk12. If you use Maven you can use the following code to add the dependency for this POM file.

<dependency>
   <groupId>org.apache.myfaces.tomahawk</groupId>
   <artifactId>tomahawk12</artifactId>
   <version>1.1.9</version>
</dependency>

If you think this Maven repository POM file listing for tomahawk12 is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.





Depends on

The tomahawk12-1.1.9 has 26 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.

CategoryArtifactDepended By Count
Logcommons-logging 1.1.1
Commons Logging is a thin adapter allowing configurable bridging to other, well known logging systems.
1143
Web Frameworkcommons-validator 1.3.1
Commons Validator provides the building blocks for both client side validation and server side data validation. It may be used standalone or with a framework like Struts.
19
Servletcommons-fileupload 1.2.1
The FileUpload component provides a simple yet flexible means of adding support for multipart file upload functionality to servlets and web applications.
106
Filecommons-io 1.3.2
Commons-IO contains utility classes, stream implementations, file filters, and endian classes.
71
Data Structurecommons-collections 3.2.1
Types that extend and augment the Java Collections Framework.
419
XMLstruts 1.2.9
The core of the Struts framework is a flexible control layer based on standard technologies like Java Servlets, JavaBeans, ResourceBundles, and Extensible Markup Language (XML), as well as various Jakarta Commons packages. Struts encourages application architectures based on the Model 2 approach, a...
43
Developmenttiles-core 2.0.6
Tiles Core Library, including basic implementation of the APIs.
18
Data Structurecommons-codec 1.3
The codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities.
348
Data Structurecommons-lang 2.4
Commons Lang, a package of Java utility classes for the classes that are in java.lang's hierarchy, or are considered to be so standard as to justify existence in java.lang.
630
XML Graphicsbatik-awt-util 1.6-1
Batik AWT Utilities
9
PDFitext 1.4.8
iText, a free Java-PDF library
13




Plugin

The following plugins are used in the tomahawk12-1.1.9.jar

  1. build-helper-maven-plugin
  2. build-helper-maven-plugin
  3. maven-changelog-plugin
  4. maven-compiler-plugin
  5. maven-dependency-plugin
  6. maven-javadoc-plugin
  7. maven-jxr-plugin
  8. maven-pmd-plugin
  9. maven-source-plugin
  10. maven-surefire-plugin
  11. maven-surefire-report-plugin
  12. myfaces-builder-plugin
  13. taglist-maven-plugin




Packages

The following packages are defined in the tomahawk12-1.1.9.jar

org.apache.myfaces.component
org.apache.myfaces.component.html.ext
org.apache.myfaces.component.html.util
org.apache.myfaces.convert
org.apache.myfaces.converter
org.apache.myfaces.custom
org.apache.myfaces.custom.aliasbean
org.apache.myfaces.custom.buffer
org.apache.myfaces.custom.calendar
org.apache.myfaces.custom.captcha
org.apache.myfaces.custom.captcha.util
org.apache.myfaces.custom.checkbox
org.apache.myfaces.custom.collapsiblepanel
org.apache.myfaces.custom.column
org.apache.myfaces.custom.creditcardvalidator
org.apache.myfaces.custom.crosstable
org.apache.myfaces.custom.datalist
org.apache.myfaces.custom.datascroller
org.apache.myfaces.custom.date
org.apache.myfaces.custom.div
org.apache.myfaces.custom.document
org.apache.myfaces.custom.dojo
org.apache.myfaces.custom.dojoextensions
org.apache.myfaces.custom.emailvalidator
org.apache.myfaces.custom.equalvalidator
org.apache.myfaces.custom.fieldset
org.apache.myfaces.custom.fileupload
org.apache.myfaces.custom.htmlTag
org.apache.myfaces.custom.inputHtml
org.apache.myfaces.custom.inputTextHelp
org.apache.myfaces.custom.jslistener
org.apache.myfaces.custom.jsvalueset
org.apache.myfaces.custom.layout
org.apache.myfaces.custom.navigation
org.apache.myfaces.custom.navmenu
org.apache.myfaces.custom.navmenu.htmlnavmenu
org.apache.myfaces.custom.navmenu.jscookmenu
org.apache.myfaces.custom.newspaper
org.apache.myfaces.custom.panelstack
org.apache.myfaces.custom.picklist
org.apache.myfaces.custom.popup
org.apache.myfaces.custom.prototype
org.apache.myfaces.custom.radio
org.apache.myfaces.custom.regexprvalidator
org.apache.myfaces.custom.savestate
org.apache.myfaces.custom.schedule
org.apache.myfaces.custom.schedule.model
org.apache.myfaces.custom.schedule.util
org.apache.myfaces.custom.selectOneCountry
org.apache.myfaces.custom.selectOneLanguage
org.apache.myfaces.custom.selectOneRow
org.apache.myfaces.custom.selectitems
org.apache.myfaces.custom.sortheader
org.apache.myfaces.custom.stylesheet
org.apache.myfaces.custom.subform
org.apache.myfaces.custom.swapimage
org.apache.myfaces.custom.tabbedpane
org.apache.myfaces.custom.toggle
org.apache.myfaces.custom.transform
org.apache.myfaces.custom.tree
org.apache.myfaces.custom.tree.event
org.apache.myfaces.custom.tree.model
org.apache.myfaces.custom.tree.renderkit.html
org.apache.myfaces.custom.tree.taglib
org.apache.myfaces.custom.tree2
org.apache.myfaces.custom.updateactionlistener
org.apache.myfaces.dateformat
org.apache.myfaces.generated.taglib.html.ext
org.apache.myfaces.renderkit.html.ext
org.apache.myfaces.renderkit.html.jsf
org.apache.myfaces.renderkit.html.util
org.apache.myfaces.shared_tomahawk.component
org.apache.myfaces.shared_tomahawk.config
org.apache.myfaces.shared_tomahawk.context
org.apache.myfaces.shared_tomahawk.el
org.apache.myfaces.shared_tomahawk.renderkit
org.apache.myfaces.shared_tomahawk.renderkit.html
org.apache.myfaces.shared_tomahawk.renderkit.html.util
org.apache.myfaces.shared_tomahawk.taglib
org.apache.myfaces.shared_tomahawk.taglib.core
org.apache.myfaces.shared_tomahawk.taglib.html
org.apache.myfaces.shared_tomahawk.test
org.apache.myfaces.shared_tomahawk.trace
org.apache.myfaces.shared_tomahawk.util
org.apache.myfaces.shared_tomahawk.util.el
org.apache.myfaces.shared_tomahawk.util.serial
org.apache.myfaces.shared_tomahawk.util.servlet
org.apache.myfaces.shared_tomahawk.util.xml
org.apache.myfaces.shared_tomahawk.webapp.webxml
org.apache.myfaces.taglib.html.ext
org.apache.myfaces.tomahawk.application.jsp
org.apache.myfaces.tomahawk.util
org.apache.myfaces.validator
org.apache.myfaces.webapp.filter
org.apache.myfaces.webapp.filter.portlet
org.apache.myfaces.webapp.filter.servlet

POM File Source

Here is the content of the POM file.

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

  <modelVersion>4.0.0</modelVersion>

  <groupId>org.apache.myfaces.tomahawk</groupId>
  <artifactId>tomahawk12</artifactId>
  <packaging>jar</packaging>
  <name>Tomahawk 1.2 Core</name>
  <description>
    JSF components and utilities that can be used with any JSF implementation.
    This library is based on the JSF1.1 version of Tomahawk, but with minor source code and build
    changes to take advantage of JSF1.2 features. A JSF1.2 implementation is required to use this
    version of the Tomahawk library.
  </description>

  <parent>
    <groupId>org.apache.myfaces.tomahawk</groupId>
    <artifactId>tomahawk-project</artifactId>
    <version>1.1.9</version>
  </parent>

  <scm>
    <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/tags/1_1_9/core12</connection>
    <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/tags/1_1_9/core12</developerConnection>
    <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/tags/1_1_9/core12</url>
  </scm>

  <dependencies>

    <!-- compile dependencies -->

    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging</artifactId>
      <version>1.1.1</version>
      <scope>compile</scope>
    </dependency>
    

    <dependency>
      <groupId>commons-validator</groupId>
      <artifactId>commons-validator</artifactId>
      <version>1.3.1</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>commons-fileupload</groupId>
      <artifactId>commons-fileupload</artifactId>
      <version>1.2.1</version>
      <scope>compile</scope>
    </dependency>

    <!-- Transitive dependency from commons-fileupload.
    in 1.2 it was declared optional, but t:inputFileUpload
    uses it indirectly, so it is necessary to include it
    in our pom as runtime dependency  -->
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>1.3.2</version>
      <scope>runtime</scope>
    </dependency>

    <dependency>
      <groupId>commons-collections</groupId>
      <artifactId>commons-collections</artifactId>
      <version>3.2.1</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>struts</groupId>
      <artifactId>struts</artifactId>
      <version>1.2.9</version>
      <scope>compile</scope>
      <optional>true</optional>
    </dependency>

    <dependency>
      <groupId>org.apache.tiles</groupId>
      <artifactId>tiles-core</artifactId>
      <version>2.0.6</version>
      <scope>compile</scope>
      <optional>true</optional>        
    </dependency>

    <dependency>
      <groupId>commons-codec</groupId>
      <artifactId>commons-codec</artifactId>
      <version>1.3</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>oro</groupId>
      <artifactId>oro</artifactId>
      <version>2.0.8</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>commons-lang</groupId>
      <artifactId>commons-lang</artifactId>
      <version>2.4</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>jstl</artifactId>
      <version>1.2</version>
      <scope>compile</scope>
    </dependency>

    <dependency>
      <groupId>batik</groupId>
      <artifactId>batik-awt-util</artifactId>
      <version>1.6-1</version>
    </dependency>   

    <dependency>
      <groupId>com.lowagie</groupId>
      <artifactId>itext</artifactId>
      <version>1.4.8</version>
    </dependency> 
      
      <!--
      <dependency>
          <groupId>org.apache.myfaces.commons</groupId>
          <artifactId>myfaces-validators</artifactId>
          <version>0.0.1-SNAPSHOT</version>
          <scope>runtime</scope>
      </dependency>      
      -->
    <!-- provided dependencies -->

    <dependency>
      <groupId>org.apache.myfaces.core</groupId>
      <artifactId>myfaces-api</artifactId>
      <version>${myfaces-core12-version}</version>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>org.apache.myfaces.shared</groupId>
      <artifactId>myfaces-shared-tomahawk</artifactId>
      <version>${myfaces-shared12-version}</version>
      <scope>provided</scope> <!-- because we add all classes to the jar directly -->
    </dependency>

    <dependency>
      <groupId>javax.servlet.jsp</groupId>
      <artifactId>jsp-api</artifactId>
      <version>2.1</version>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
      <version>2.5</version>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>portlet-api</groupId>
      <artifactId>portlet-api</artifactId>
      <version>1.0</version>
      <scope>provided</scope>
    </dependency>
    
    <dependency>
      <groupId>org.apache.myfaces.buildtools</groupId>
      <artifactId>myfaces-builder-annotations</artifactId> 
      <version>1.0.3</version>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>com.sun.facelets</groupId>
      <artifactId>jsf-facelets</artifactId>
      <scope>provided</scope>
    </dependency>
    
    <!-- test dependencies -->

    <dependency>
      <groupId>org.apache.myfaces.core</groupId>
      <artifactId>myfaces-impl</artifactId>
      <version>${myfaces-core12-version}</version>
      <!--
        Since Tomahawk must stay compatible to other JSF implementations we
        must not have any (compile time) dependency on myfaces-impl other than
        test classes.
      -->
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>joda-time</groupId>
      <artifactId>joda-time</artifactId>
      <version>1.5.2</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>cactus</groupId>
      <artifactId>cactus</artifactId>
      <version>13-1.7.2</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.aspectj</groupId>
      <artifactId>aspectjrt</artifactId>
      <version>1.5.4</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>easymock</groupId>
      <artifactId>easymock</artifactId>
      <version>1.1</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>easymock</groupId>
      <artifactId>easymockclassextension</artifactId>
      <version>1.1</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>org.apache.shale</groupId>
      <artifactId>shale-test</artifactId>
      <version>1.0.4</version>
      <scope>test</scope>
      <exclusions>
        <exclusion>
          <groupId>org.apache.myfaces</groupId>
          <artifactId>myfaces-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>org.apache.myfaces</groupId>
          <artifactId>myfaces-impl</artifactId>
        </exclusion>
        <exclusion>
          <groupId>myfaces</groupId>
          <artifactId>myfaces-api</artifactId>
        </exclusion>
        <exclusion>
          <groupId>myfaces</groupId>
          <artifactId>myfaces-impl</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
    <dependency>
      <groupId>jmock</groupId>
      <artifactId>jmock</artifactId>
      <version>1.0.1</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>jmock</groupId>
      <artifactId>jmock-cglib</artifactId>
      <version>1.0.1</version>
      <scope>test</scope>
    </dependency>

    <dependency>
      <groupId>maven-taglib</groupId>
      <artifactId>maven-taglib-plugin</artifactId>
      <version>1.4.2</version>
      <scope>test</scope>
    </dependency>   

  </dependencies>

  <build>

    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <excludes>
           <exclude>**/*.vm</exclude>
        </excludes>
      </resource>
      <!--       
      <resource>
        <directory>src/main/resources-facesconfig</directory>
      </resource>
       -->
      <resource>
        <directory>target/tomahawk11_resources</directory>
      </resource>       
    </resources>
    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-jar-plugin</artifactId>
          <configuration>
            <archive>
              <manifestEntries>
                <X-Compile-Source-JDK>1.5</X-Compile-Source-JDK>
                <X-Compile-Target-JDK>1.5</X-Compile-Target-JDK>
              </manifestEntries>
            </archive>
          </configuration>
        </plugin>
      </plugins>
    </pluginManagement>
    <plugins>
      <plugin>
        <!-- 
          - Add two new source directories to the compile path. Other plugins will write files into
          - those directories. Note that when building the source jars, these directories are
          - automatically used too.
          -
          - * shared_sources: contains code from the 1.2.x branch of the myfaces-shared project
          - * tomahawk11_sources: contains all the source code from the "main" branch of tomahawk,
          -   which is written to be JSF1.1-compatible.
          -->
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <executions>
            <execution>
                <id>add-source</id>
                <phase>generate-sources</phase>
                <!-- <phase>process-sources</phase> -->
                <goals>
                    <goal>add-source</goal>
                </goals>
                <configuration>
                    <sources>
                        <source>
                            ${project.build.directory}/shared_sources
                        </source>
                        <source>
                            ${project.build.directory}/tomahawk11_sources
                        </source>
                    </sources>
                </configuration>
            </execution>
        </executions>
      </plugin>    
      <plugin>
        <groupId>org.apache.myfaces.buildtools</groupId>
        <artifactId>myfaces-builder-plugin</artifactId>
        <version>1.0.3</version>
        <executions>
          <execution>
            <id>unpack-tomahawk</id>
            <phase>generate-sources</phase>
            <!-- <phase>process-resources</phase> -->
            <goals>
              <goal>unpack</goal>
            </goals>
            <configuration>
              <scanModel>true</scanModel>
              <artifactItems>
                <artifactItem>
                  <groupId>org.apache.myfaces.tomahawk</groupId>
                  <artifactId>tomahawk</artifactId>
                  <version>${pom.version}</version>
                  <classifier>sources</classifier>                   
                  <!-- <outputDirectory>${project.build.directory}/unpacktomahawksources</outputDirectory> -->
                  <outputDirectory>${project.build.directory}/tomahawk11_sources</outputDirectory>
                  <includes>**/*.java</includes>
                  <excludes>**/*.class,**/META-INF/**,org/apache/myfaces/shared_tomahawk/**/*.java</excludes>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
          <execution>
            <id>unpack-tomahawk-resources</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>unpack</goal>
            </goals>
            <configuration>
              <baseDirectory1>${basedir}/src/main/resources</baseDirectory1>
              <artifactItems>
                <artifactItem>
                  <groupId>org.apache.myfaces.tomahawk</groupId>
                  <artifactId>tomahawk</artifactId>
                  <version>${pom.version}</version>                                   
                  <outputDirectory>${project.build.directory}/tomahawk11_resources</outputDirectory>
                  <excludes>**/*.class,**/META-INF/**</excludes>
                </artifactItem>
              </artifactItems>
            </configuration>
          </execution>
          <execution>
            <!-- A hierarchy of different tag classes must be created, 
            because this classes are not part of the public api. The
            generation of all html package is the same. Please note that
            we need only a subset -->
            <configuration>
                <replacePackagePrefixTagFrom>org.apache.myfaces.taglib</replacePackagePrefixTagFrom>
                <replacePackagePrefixTagTo>org.apache.myfaces.shared_tomahawk.taglib</replacePackagePrefixTagTo>
            </configuration>
            <goals>
              <goal>build-metadata</goal>
            </goals>
          </execution>
          <execution>
            <id>makefacesconfig</id>
            <configuration>
                <templateFile>faces-config12.vm</templateFile>
                <xmlFile>META-INF/faces-config.xml</xmlFile>
            </configuration>
            <goals>
                <goal>make-config</goal>
            </goals>
          </execution>
          <execution>
            <id>makecomp</id>
            <goals>
              <goal>make-components</goal>
            </goals>
            <configuration>
               <jsfVersion>12</jsfVersion>
               <templateComponentName>componentClass12.vm</templateComponentName>
               <mainSourceDirectory2>${project.build.directory}/tomahawk11_sources</mainSourceDirectory2>
            </configuration>
          </execution>          
          <execution>
            <id>makeval</id>
            <goals>
              <goal>make-validators</goal>
            </goals>
            <configuration>
               <jsfVersion>12</jsfVersion>
               <mainSourceDirectory2>${project.build.directory}/tomahawk11_sources</mainSourceDirectory2>
            </configuration>
          </execution>
          <execution>
            <id>make_tags_myfaces_core</id>
            <configuration>
                <packageContains>org.apache.myfaces.shared_tomahawk.taglib</packageContains>
                <typePrefix>javax.faces</typePrefix>
                <modelIds>
                    <!-- All the info needed is on myfaces-api package -->
                    <modelId>myfaces-api</modelId>
                </modelIds>
                <jsfVersion>12</jsfVersion>
                <templateTagName>tagClass12.vm</templateTagName>
            </configuration>
            <goals>
                <goal>make-tags</goal>
            </goals>
          </execution>
          <execution>
            <id>make_tags_tomahawk</id>
            <configuration>
               <jsfVersion>12</jsfVersion>
               <templateTagName>tagClass12.vm</templateTagName>
               <mainSourceDirectory2>${project.build.directory}/tomahawk11_sources</mainSourceDirectory2>
            </configuration>            
            <goals>
                <goal>make-tags</goal>
            </goals>
          </execution>
          <execution>
            <id>make_validator_tags_tomahawk</id>
            <configuration>
               <jsfVersion>12</jsfVersion>
            </configuration>            
            <goals>
                <goal>make-validator-tags</goal>
                <goal>make-converter-tags</goal>
            </goals>
          </execution>          
          <execution>
            <id>maketomahawktld</id>
            <configuration>
                <xmlFile>META-INF/tomahawk.tld</xmlFile>
                <xmlBaseFile>src/main/conf/META-INF/tomahawk-base.tld</xmlBaseFile>
                <templateFile>tomahawk12.vm</templateFile>
                <params>
                   <shortname>t</shortname>
                   <uri>http://myfaces.apache.org/tomahawk</uri>
                   <displayname>Tomahawk tag library 1.2.</displayname>
                   <description> MyFaces subproject that contains components and other goodies to be used with any JSF implementation.</description>
                </params>
                <modelIds>
                    <modelId>tomahawk12</modelId>
                </modelIds>
            </configuration>
            <goals>
                <goal>make-config</goal>
            </goals>
          </execution>        
          <execution>
            <id>maketomahawktaglib</id>
            <configuration>
                <xmlFile>META-INF/tomahawk.taglib.xml</xmlFile>
                <xmlBaseFile>src/main/conf/META-INF/facelets-taglib-base.xml</xmlBaseFile>
                <templateFile>facelets-taglib.vm</templateFile>
                <params>
                   <shortname>t</shortname>
                   <uri>http://myfaces.apache.org/tomahawk</uri>
                </params>
                <modelIds>
                    <modelId>tomahawk12</modelId>
                </modelIds>
            </configuration>
            <goals>
                <goal>make-config</goal>
            </goals>
          </execution>        
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.4.2</version>
        <configuration>
          <excludes>
            <exclude>**/Abstract*.java</exclude>
            <exclude>**/*HtmlDateRendererTest*</exclude>
            <exclude>**/TestUtils.java</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.0</version>
        <executions>
          <execution>
            <id>unpack-shared-tomahawk</id>
            <phase>process-classes</phase>
            <goals><goal>unpack</goal></goals>
            <configuration>
              <excludes>META-INF/*.*</excludes>
              <artifactItems>
                <artifactItem>
                   <groupId>org.apache.myfaces.shared</groupId>
                   <artifactId>myfaces-shared-tomahawk</artifactId>
                   <version>${myfaces-shared.version}</version>
                 </artifactItem>
               </artifactItems>
               <outputDirectory>${project.build.directory}/classes</outputDirectory>
            </configuration>
          </execution>
          <!-- unpack the shared sources into target/shared_sources-->
          <execution>
            <id>unpack-shared-impl-sources</id>
            <phase>process-sources</phase>
            <goals>
                <goal>unpack</goal>
            </goals>
            <configuration>
                <excludes>META-INF/*.*</excludes>
                <artifactItems>
                    <artifactItem>
                        <groupId>org.apache.myfaces.shared</groupId>
                        <artifactId>myfaces-shared-tomahawk</artifactId>
                        <version>${myfaces-shared.version}</version>
                        <classifier>sources</classifier>
                    </artifactItem>
                </artifactItems>
                <outputDirectory>${project.build.directory}/shared_sources</outputDirectory>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <!-- the following will add the unpacked shared sources directory as source directory into the pom,
           so also the shared sources are automaticaly included by the attach source plugin -->
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
        <version>1.0</version>
        <executions>
          <execution>
            <id>add-source</id>
            <phase>process-sources</phase>
            <goals>
              <goal>add-source</goal>
            </goals>
            <configuration>
              <sources>
                <source>${project.build.directory}/shared_sources</source>
              </sources>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-source-plugin</artifactId>
        <executions>
          <execution>
            <id>attach-source</id>
            <goals>
              <goal>jar</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>

    </plugins>

  </build>

  <reporting>

    <plugins>

      <plugin>
        <artifactId>maven-changelog-plugin</artifactId>
        <version>2.1</version>
        <reportSets>
          <reportSet>
            <id>dual-report</id>
            <configuration>
              <type>range</type>
              <range>30</range>
            </configuration>
            <reports>
              <report>changelog</report>
              <report>file-activity</report>
              <report>dev-activity</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>

      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
        <version>2.4</version>
      </plugin>

      <plugin>
        <artifactId>maven-jxr-plugin</artifactId>
        <version>2.1</version>
      </plugin>

      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>taglist-maven-plugin</artifactId>
        <version>2.0</version>
      </plugin>

      <plugin>
        <artifactId>maven-surefire-report-plugin</artifactId>
        <version>2.4</version>
      </plugin>
      <!-- This plugin is reffered on myfaces master pom, but
           this is needed to set targetJdk to 1.5 -->
      <plugin>
        <artifactId>maven-pmd-plugin</artifactId>
        <version>2.2</version>
        <configuration>
          <rulesets>
            <ruleset>/rulesets/basic.xml</ruleset>
            <ruleset>/rulesets/unusedcode.xml</ruleset>
          </rulesets>
          <linkXref>true</linkXref>
          <minimumTokens>100</minimumTokens>
          <targetJdk>1.5</targetJdk>
        </configuration>
      </plugin>
    </plugins>

  </reporting>

  <profiles>
    <profile>
      <id>generate-site</id>
      <build>
        <plugins>
          <plugin>
            <!-- Generate content for custom tagdoc report -->
            <groupId>org.apache.myfaces.buildtools</groupId>
            <artifactId>myfaces-builder-plugin</artifactId>
            <version>1.0.3</version>
            <configuration>
              <taglibs>
                <t>http://myfaces.apache.org/tomahawk</t>
              </taglibs>
            </configuration>
            <executions>
              <execution>
                <goals><goal>tagdoc-content</goal></goals>
              </execution>
            </executions>
          </plugin>          
        </plugins>
      </build>
      <reporting>
        <plugins>
          <plugin>
            <groupId>net.sourceforge.maven-taglib</groupId>
            <artifactId>maven-taglib-plugin</artifactId>
            <configuration>
              <taglib.src.dir>${basedir}/target/classes/META-INF</taglib.src.dir>
              <tldDocDir>${basedir}/target/site/tlddoc</tldDocDir>
            </configuration>
          </plugin>
          <plugin>
            <!-- which goal is run here? -->
            <groupId>org.apache.myfaces.buildtools</groupId>
            <artifactId>myfaces-builder-plugin</artifactId>
            <version>1.0.3</version>
            <configuration>
              <taglibs>
                <t>http://myfaces.apache.org/tomahawk</t>
              </taglibs>
            </configuration>
          </plugin>
        </plugins>
      </reporting>
    </profile>

    <profile>
      <!--
        - Build and install into the repository some additional artifacts that we don't
        - want to build during normal development because they take too long.
        -->
      <id>generate-assembly</id>
      <activation>
        <property>
          <name>performRelease</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <!-- Install in the repository a "-javadoc.jar" file -->
            <artifactId>maven-javadoc-plugin</artifactId>
            <version>2.4</version>
            <executions>
              <execution>
                <id>attach-javadoc</id>
                <goals><goal>jar</goal></goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <!-- Install in the repository a "-tlddoc.jar" file -->
            <groupId>net.sourceforge.maven-taglib</groupId>
            <artifactId>maven-taglib-plugin</artifactId>
            <configuration>
              <taglib.src.dir>${basedir}/target/classes/META-INF</taglib.src.dir>
              <tldDocDir>${basedir}/target/tlddoc</tldDocDir>
            </configuration>
            <executions>
              <execution>
                <id>attach-javadoc</id>
                <goals><goal>taglibdocjar</goal></goals>
              </execution>
            </executions>
          </plugin>
          <plugin>
            <!-- Install in the repository a "-sources.jar" file -->
            <artifactId>maven-source-plugin</artifactId>
            <executions>
              <execution>
                <id>attach-source</id>
                <goals><goal>jar</goal></goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>

</project>