Author: oheger Date: Wed Jul 5 19:44:53 2017 New Revision: 1800920 URL: http://svn.apache.org/viewvc?rev=1800920&view=rev Log: Added a parent pom for Jelly tag lib projects.
Added junit tag library project. Added: commons/proper/jelly/trunk/jelly-tags/junit/pom.xml commons/proper/jelly/trunk/jelly-tags/junit/src/main/ commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/ commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/ commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/ commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/ commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/ commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/ commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/ commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertTag.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertTagSupport.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertTagSupport.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertThrowsTag.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertThrowsTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/CaseTag.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/CaseTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/FailTag.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/FailTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/JUnitTagLibrary.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JUnitTagLibrary.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/JellyAssertionFailedError.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyAssertionFailedError.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/RunTag.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/RunTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/SuiteTag.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/SuiteTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/package.html - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/package.html commons/proper/jelly/trunk/jelly-tags/junit/src/test/java/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/java/org/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/java/org/apache/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/java/org/apache/commons/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/java/org/apache/commons/jelly/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/java/org/apache/commons/jelly/tags/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/java/org/apache/commons/jelly/tags/junit/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/java/org/apache/commons/jelly/tags/junit/TestJUnit.java - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/TestJUnit.java commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/jelly/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/jelly/tags/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/jelly/tags/junit/ commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/jelly/tags/junit/runSuite.jelly - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/runSuite.jelly commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/jelly/tags/junit/suite.jelly - copied, changed from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly commons/proper/jelly/trunk/jelly-tags/pom.xml Removed: commons/proper/jelly/trunk/jelly-tags/junit/build.xml commons/proper/jelly/trunk/jelly-tags/junit/maven.xml commons/proper/jelly/trunk/jelly-tags/junit/project.properties commons/proper/jelly/trunk/jelly-tags/junit/project.xml commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertTagSupport.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertThrowsTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/CaseTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/FailTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JUnitTagLibrary.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyAssertionFailedError.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/RunTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/SuiteTag.java commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/package.html commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/TestJUnit.java commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/runSuite.jelly commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly Modified: commons/proper/jelly/trunk/pom.xml Added: commons/proper/jelly/trunk/jelly-tags/junit/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/pom.xml?rev=1800920&view=auto ============================================================================== --- commons/proper/jelly/trunk/jelly-tags/junit/pom.xml (added) +++ commons/proper/jelly/trunk/jelly-tags/junit/pom.xml Wed Jul 5 19:44:53 2017 @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>commons-jelly</groupId> + <artifactId>commons-jelly-tags</artifactId> + <version>1.1-SNAPSHOT</version> + </parent> + + <artifactId>commons-jelly-tags-junit</artifactId> + <packaging>jar</packaging> + <name>commons-jelly-tags-junit</name> + <description>The Jelly JUnit Tag Library</description> + + <dependencies> + <!-- START for compilation --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>3.8.1</version> + </dependency> + + <!-- END for compilation --> + + <!-- START for running demos --> + + <dependency> + <groupId>commons-cli</groupId> + <artifactId>commons-cli</artifactId> + <version>1.0</version> + </dependency> + + <!-- END for running demos --> + </dependencies> +</project> Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertEqualsTag.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileContainsTag.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileExistsTag.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertFileNotFoundTag.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertTag.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertTag.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertTag.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertTag.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertTag.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertTagSupport.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertTagSupport.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertTagSupport.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertTagSupport.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertTagSupport.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertThrowsTag.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertThrowsTag.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertThrowsTag.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/AssertThrowsTag.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/AssertThrowsTag.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/CaseTag.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/CaseTag.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/CaseTag.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/CaseTag.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/CaseTag.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/FailTag.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/FailTag.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/FailTag.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/FailTag.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/FailTag.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/JUnitTagLibrary.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JUnitTagLibrary.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/JUnitTagLibrary.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/JUnitTagLibrary.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JUnitTagLibrary.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/JellyAssertionFailedError.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyAssertionFailedError.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/JellyAssertionFailedError.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/JellyAssertionFailedError.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyAssertionFailedError.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/JellyTestSuite.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/RunTag.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/RunTag.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/RunTag.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/RunTag.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/RunTag.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/SuiteTag.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/SuiteTag.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/SuiteTag.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/SuiteTag.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/SuiteTag.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/package.html (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/package.html) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/package.html?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/main/java/org/apache/commons/jelly/tags/junit/package.html&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/java/org/apache/commons/jelly/tags/junit/package.html&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/test/java/org/apache/commons/jelly/tags/junit/TestJUnit.java (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/TestJUnit.java) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/test/java/org/apache/commons/jelly/tags/junit/TestJUnit.java?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/test/java/org/apache/commons/jelly/tags/junit/TestJUnit.java&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/TestJUnit.java&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/jelly/tags/junit/runSuite.jelly (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/runSuite.jelly) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/jelly/tags/junit/runSuite.jelly?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/jelly/tags/junit/runSuite.jelly&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/runSuite.jelly&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== (empty) Copied: commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/jelly/tags/junit/suite.jelly (from r1800918, commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly) URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/jelly/tags/junit/suite.jelly?p2=commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/jelly/tags/junit/suite.jelly&p1=commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly&r1=1800918&r2=1800920&rev=1800920&view=diff ============================================================================== --- commons/proper/jelly/trunk/jelly-tags/junit/src/test/org/apache/commons/jelly/tags/junit/suite.jelly (original) +++ commons/proper/jelly/trunk/jelly-tags/junit/src/test/resources/org/apache/commons/jelly/tags/junit/suite.jelly Wed Jul 5 19:44:53 2017 @@ -6,65 +6,65 @@ The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> -<test:suite xmlns:j="jelly:core" +<test:suite xmlns:j="jelly:core" xmlns:test="jelly:junit"> <test:case name="assertTests"> - + <test:assert test="${2 == 2}">This should never fail</test:assert> - + <j:catch var="ex"> <test:assert test="${2 != 2}">This should always fail</test:assert> - </j:catch> - + </j:catch> + <test:assert test="${ex != null}">We should have created an exception</test:assert> - - The exception was: ${ex.message} - + + The exception was: ${ex.message} + </test:case> <test:case name="failTests"> - + <j:catch var="ex"> <test:fail>This should always fail</test:fail> - </j:catch> - + </j:catch> + <test:assert test="${ex != null}">We should have created an exception</test:assert> - - The exception was: ${ex.message} - + + The exception was: ${ex.message} + <j:catch var="ex"> <test:fail message="This should always fail"/> - </j:catch> - - <test:assert test="${ex != null}">We should have created an exception</test:assert> - The exception was: ${ex.message} + </j:catch> + + <test:assert test="${ex != null}">We should have created an exception</test:assert> + The exception was: ${ex.message} </test:case> - + <test:case name="assertEqualTests"> - + <j:set var="foo" value="abc"/> - + <test:assertEquals actual="${foo}" expected="abc">This should never fail</test:assertEquals> - + <j:catch var="ex"> <test:assertEquals actual="${foo}" expected="def">This should always fail</test:assertEquals> - </j:catch> - + </j:catch> + <test:assert test="${ex != null}">We should have created an exception</test:assert> - - The exception was: ${ex.message} + + The exception was: ${ex.message} </test:case> @@ -99,7 +99,7 @@ <test:fail message="This should always fail"/> </test:assertThrows> </j:catch> - + <test:assert test="${ex != null}">We should have created an exception</test:assert> <!-- test with no exception from body --> @@ -107,9 +107,9 @@ <test:assertThrows> </test:assertThrows> </j:catch> - + <test:assert test="${ex != null}">assertThrows should fail when nothing is thrown from within it</test:assert> - + <test:assert test="${ex.message.endsWith('No exception was thrown.')}"/> <test:assertEquals actual="${ex.elementName}" expected="test:assertThrows"/> @@ -119,18 +119,18 @@ </test:case> <!-- - + #### uncomment when assertEquals supports type conversions - + <test:case name="assertEqualsConversion"> - + <test:assertEquals expected="${4}" actual="${2+2}"/> </test:case> --> <test:case name="assertFileExists"> - <test:assertFileExists file="${basedir}/project.xml">Project file not found</test:assertFileExists> + <test:assertFileExists file="${basedir}/pom.xml">Project file not found</test:assertFileExists> <test:assertThrows var="ex"> <test:assertFileExists file="${basedir}/dummydummy">Bad file</test:assertFileExists> @@ -143,19 +143,19 @@ <test:assertFileNotFound file="${basedir}/dummydummy">Dummy file found</test:assertFileNotFound> <test:assertThrows var="ex"> - <test:assertFileNotFound file="${basedir}/project.xml">Bad file</test:assertFileNotFound> + <test:assertFileNotFound file="${basedir}/pom.xml">Bad file</test:assertFileNotFound> </test:assertThrows> <test:assert test="${ex != null}">No exception thrown for file that exists</test:assert> </test:case> - + <test:case name="assertFileContains"> <!-- check that the pom contains a name element --> - <test:assertFileContains file="${basedir}/project.xml" match="<name>commons-jelly-tags-junit">Couldn't find name in pom</test:assertFileContains> - + <test:assertFileContains file="${basedir}/pom.xml" match="<name>commons-jelly-tags-junit">Couldn't find name in pom</test:assertFileContains> + <test:assertThrows var="ex" expected="org.apache.commons.jelly.tags.junit.JellyAssertionFailedError"> - <test:assertFileContains file="${basedir}/project.xml" match="DUMMY">Bad contents</test:assertFileContains> + <test:assertFileContains file="${basedir}/pom.xml" match="DUMMY">Bad contents</test:assertFileContains> </test:assertThrows> - + <test:assert test="${ex != null and ex.message != null}"/> </test:case> </test:suite> Added: commons/proper/jelly/trunk/jelly-tags/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/pom.xml?rev=1800920&view=auto ============================================================================== --- commons/proper/jelly/trunk/jelly-tags/pom.xml (added) +++ commons/proper/jelly/trunk/jelly-tags/pom.xml Wed Jul 5 19:44:53 2017 @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>commons-jelly</groupId> + <artifactId>commons-jelly-parent</artifactId> + <version>1.1-SNAPSHOT</version> + </parent> + + <artifactId>commons-jelly-tags</artifactId> + <packaging>pom</packaging> + <name>Apache Commons Jelly Tag Libraries Parent</name> + <description>Parent pom for tag library projects.</description> + + <modules> + <module>junit</module> + </modules> + + <build> + <plugins> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + </plugin> + <plugin> + <artifactId>maven-jar-plugin</artifactId> + </plugin> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>commons-jelly</groupId> + <artifactId>commons-jelly</artifactId> + <version>${project.version}</version> + </dependency> + </dependencies> +</project> Modified: commons/proper/jelly/trunk/pom.xml URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/pom.xml?rev=1800920&r1=1800919&r2=1800920&view=diff ============================================================================== --- commons/proper/jelly/trunk/pom.xml (original) +++ commons/proper/jelly/trunk/pom.xml Wed Jul 5 19:44:53 2017 @@ -16,6 +16,7 @@ <modules> <module>core</module> + <module>jelly-tags</module> </modules> <url>http://commons.apache.org/proper/commons-jelly/</url>