Tomahawk Core.
JSF components and utilities that can be used with any JSF implementation. This library is compatible with both JSF1.1 and JSF1.2; however for JSF1.2 users there is an alternative build of Tomahawk available that takes advantage of JSF1.2 features to offer some additional benefits..
Here is the list of declaration for tomahawk. 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>tomahawk</artifactId> <version>1.1.10</version> </dependency>
If you think this Maven repository POM file listing for tomahawk is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The tomahawk-1.1.10 has 24 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Log | commons-logging 1.1.1 Commons Logging is a thin adapter allowing configurable bridging to other, well known logging systems. | 1143 |
Web Framework | commons-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 |
Servlet | commons-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 |
File | commons-io 1.3.2 Commons-IO contains utility classes, stream implementations, file filters, and endian classes. | 71 |
Data Structure | commons-collections 3.2.1 Types that extend and augment the Java Collections Framework. | 419 |
XML | struts 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 |
Development | tiles-core 2.0.6 Tiles Core Library, including basic implementation of the APIs. | 18 |
JSP | commons-el 1.0 JSP 2.0 Expression Language Interpreter Implementation | 42 |
Data Structure | commons-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 Structure | commons-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 Graphics | batik-awt-util 1.6-1 Batik AWT Utilities | 9 |
The following plugins are used in the tomahawk-1.1.10.jar
The following packages are defined in the tomahawk-1.1.10.jar
org.apache.myfaces.component org.apache.myfaces.component.html.ext org.apache.myfaces.component.html.util org.apache.myfaces.convert 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.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
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>tomahawk</artifactId> <packaging>jar</packaging> <name>Tomahawk Core</name> <description> JSF components and utilities that can be used with any JSF implementation. This library is compatible with both JSF1.1 and JSF1.2; however for JSF1.2 users there is an alternative build of Tomahawk available that takes advantage of JSF1.2 features to offer some additional benefits. </description> <parent> <groupId>org.apache.myfaces.tomahawk</groupId> <artifactId>tomahawk-project</artifactId> <version>1.1.10</version> </parent> <scm> <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/tags/tomahawk-project-1.1.10/core</connection> <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/tags/tomahawk-project-1.1.10/core</developerConnection> <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/tags/tomahawk-project-1.1.10/core</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-el</groupId> <artifactId>commons-el</artifactId> <version>1.0</version> <scope>compile</scope> </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.1.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>batik</groupId> <artifactId>batik-awt-util</artifactId> <version>1.6-1</version> </dependency> <!-- provided dependencies --> <dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-api</artifactId> <version>${myfaces-core11-version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.myfaces.shared</groupId> <artifactId>myfaces-shared-tomahawk</artifactId> <version>${myfaces-shared11-version}</version> <scope>provided</scope> <!-- because we add all classes to the jar directly --> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>jsp-api</artifactId> <version>2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.3</version> <scope>provided</scope> </dependency> <dependency> <groupId>portlet-api</groupId> <artifactId>portlet-api</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.sun.facelets</groupId> <artifactId>jsf-facelets</artifactId> <scope>provided</scope> </dependency> <!-- Required for wrapper of FacesContext (compatible with 1.2) --> <dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-el_1.0_spec</artifactId> </dependency> <!-- test dependencies --> <dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-impl</artifactId> <version>${myfaces-core11-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> <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> <exclude>**/AddResource.properties</exclude> </excludes> </resource> <resource> <directory>src/main/resources-filtered</directory> <filtering>true</filtering> </resource> <!-- <resource> <directory>src/main/resources</directory> <filtering>true</filtering> <includes> --> <!-- Used in the resources URL, to enable caching the resources on the client. See MyfacesResourceLoader.getLastModified() --> <!-- <include>**/AddResource.properties</include> </includes> <excludes> <exclude>**/*.vm</exclude> </excludes> </resource> --> <!-- <resource> <directory>src/main/resources-facesconfig</directory> </resource> --> </resources> <pluginManagement> <plugins> <plugin> <artifactId>maven-jar-plugin</artifactId> <configuration> <archive> <manifestEntries> <X-Compile-Source-JDK>1.4</X-Compile-Source-JDK> <X-Compile-Target-JDK>1.4</X-Compile-Target-JDK> </manifestEntries> </archive> </configuration> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <!-- Used in the resources URL, to enable caching the resources on the client. See MyfacesResourceLoader.getLastModified() --> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <version>1.0-beta-1</version> <executions> <execution> <phase>validate</phase> <goals> <goal>create</goal> </goals> </execution> </executions> <configuration> <doCheck>false</doCheck> <doUpdate>false</doUpdate> <buildNumberPropertyName>tomahawk.lastModified</buildNumberPropertyName> <format>{0,date,yyyy-MM-dd HH:mm:ss Z}</format> <items> <item>timestamp</item> </items> </configuration> </plugin> <plugin> <groupId>org.apache.myfaces.buildtools</groupId> <artifactId>myfaces-builder-plugin</artifactId> <version>${myfaces-builder-plugin-version}</version> <executions> <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> <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> </execution> <execution> <id>makeval</id> <goals> <goal>make-validators</goal> </goals> </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> </configuration> <goals> <goal>make-tags</goal> </goals> </execution> <execution> <id>make_tags_tomahawk</id> <goals> <goal>make-tags</goal> </goals> </execution> <execution> <id>make_validator_tags_tomahawk</id> <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>tomahawk.vm</templateFile> <params> <shortname>t</shortname> <uri>http://myfaces.apache.org/tomahawk</uri> <displayname>Tomahawk tag library.</displayname> <description> MyFaces subproject that contains components and other goodies to be used with any JSF implementation.</description> </params> <modelIds> <modelId>tomahawk</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>tomahawk</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-shared11-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-shared11-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> <source>${project.build.directory}/myfaces-builder-plugin/main/java</source> </sources> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>2.0.4</version> <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.4</source> <target>1.4</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> </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>${myfaces-builder-plugin-version}</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>${myfaces-builder-plugin-version}</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>