194fd59bc4
Switch building instructions from Maven 1 to Maven 2.
Dennis Lundberg2007-08-23 21:40:51 +00:00
8b1aa6bc00
Replace "JCL" with "Commons Logging". Reformat sligthly because "Commons Logging" is wider than "JCL".
Dennis Lundberg2007-08-23 20:56:51 +00:00
b8942956c0
Clearly state that Maven 2 is used on JDK 1.4 to build Commons Logging. Add a couple of fixed issues. Deprecate the Maven 1 build.
Dennis Lundberg2007-08-23 20:55:49 +00:00
9594959e89
Updated commons parent version to 4.
Phil Steitz2007-08-19 23:06:31 +00:00
b193ab4a4b
Set release date for 1.1.1 to "coming soon" so the website can be refreshed from svn trunk now without misleading info.
Simon Kitching2007-08-07 12:28:10 +00:00
b310a4ef0e
Use a dummy exception class when calling log(exception). This makes the unit test output less confusing.
Simon Kitching2007-08-06 15:08:05 +00:00
58eff81387
TLP Move change wiki URLs from "wiki.apache.org/jakarta-commons" to "wiki.apache.org/commons"
Niall Kegan Pemberton2007-08-05 21:10:51 +00:00
cb1675052f
Remove the file as per Simon's comment on the dev list. The file is no longer used by the Maven 2 build.
Dennis Lundberg2007-07-28 20:13:54 +00:00
970a0be14d
Attach the adapters and api jars to the normal artifact. This way they will be deployed when the normal artifact is deployed.
Dennis Lundberg2007-07-28 18:55:53 +00:00
f11b488e01
- Add an antrun execution to copy site resources. - Set the scope of servlet-api to provided. - Add the jdepend-maven-plugin report. - Set maven.compile.target to 1.1 to match the value used in the Ant build. - Remove the bogus repository from distributionManagement. - Fix the site url in distributionManagement.
Dennis Lundberg2007-07-23 00:20:03 +00:00
7e10c9fd4b
Add instructions that we have to run Ant without the JIT compiler to get around bugs in early JVMs.
Dennis Lundberg2007-07-22 23:58:45 +00:00
9f95a43ec8
Exclude the security tests because they rely on the MockSecurityManager that uses code that was first introduced in Java 1.4.
Dennis Lundberg2007-07-22 23:20:07 +00:00
ed4281ba02
A first shot at an Ant script for running the tests using the classes that were built by Maven.
Dennis Lundberg2007-07-04 21:29:56 +00:00
5bb3afca27
Use the new location of the Maven 1 repository.
Dennis Lundberg2007-07-04 19:29:23 +00:00
3ff8593524
Update NOTICE files in trunks-proper in light of TLP move (and add component names to NOTICEs where missing).
Rahul Akolkar2007-07-04 18:26:27 +00:00
2978f2059e
Update to a more recent parent and remove stuff that is inherited from that parent.
Dennis Lundberg2007-05-01 15:14:01 +00:00
ba09ed3d2d
Add missing developerConnection. Update to a released parent and remove stuff that is available in that version of the parent. Add properties to compile for Java 1.2.
Dennis Lundberg2007-05-01 14:55:13 +00:00
1151b0dd01
Remove reference to old maven-xdoc-plugin. Add the same reports as for Maven 1: javadoc, jdepend, cross reference and test results.
Dennis Lundberg2006-12-30 17:43:18 +00:00
b7ecf17217
First try at a Maven 2 generated site. Requires commons-parent 2-SNAPSHOT because it inherits parts of the site.xml from it.
Dennis Lundberg2006-12-30 14:17:06 +00:00
b691c20076
Use source.version and target.version when compiling test classes.
Dennis Lundberg2006-12-30 11:15:59 +00:00
256ada0e80
Handle null log4j logger param to constructor better than just causing NullPointerException. Thanks to Lilianne E. Blaze for the patch; see jira LOGGING-111.
Simon Kitching2006-11-19 08:57:51 +00:00
342bbe7a7a
Improve diagnostics when underlying lib throws InvocationTargetException. Patch provided by Lilliane E. Blaze. See Jira issue LOGGING-111.
Simon Kitching2006-11-19 08:50:31 +00:00
531990ff9a
Fix use of optional dependencies; optional is a separate flag, not a scope. Thanks to Wendy Smoak for pointing this out.
Simon Kitching2006-11-18 22:32:29 +00:00
e248866959
Add comments about unusual dependency-handling approach.
Simon Kitching2006-11-18 03:41:32 +00:00
252b42770d
Fix thread-safety bug (SimpleDateFormat.format is not thread-safe). Thanks to Martin Wilson of bright-interactive for the bug report.
Simon Kitching2006-10-15 03:11:19 +00:00
c9d05cd4b6
Remove optional from both dependencies, it's not needed for scope test or plugins, as suggested by Carlos Sanchez.
Dennis Lundberg2006-08-11 19:00:50 +00:00
ff8a0111c0
Have DefaultConfigTestCase explicitly set up its classpath. When run from ant, log4j is not on the classpath so using the default setup works; however when run from maven2 surefire, log4j is on the path. Explicitly controlling the test classpath works in both cases.
Simon Kitching2006-08-02 00:08:20 +00:00
c340a77d5b
Manually force our custom java.util.logging.Handler class to be loaded via the system classloader. This means that the unit test can successfully run even when the class is not in the system classpath (as happens when running tests with maven2's surefire plugin for example).
Simon Kitching2006-08-01 23:48:14 +00:00
60e84957f8
When multiple jars on classpath match logical lib name, use jar with shortest name. Also remove debug print statement.
Simon Kitching2006-08-01 23:45:58 +00:00
be64ad867c
Minor test tidyups (including fixing incorrect comment due to copy-and-paste).
Simon Kitching2006-08-01 03:10:13 +00:00
9ee6adc5d9
Copy resources into test jar. Also minor layout tidyups.
Simon Kitching2006-08-01 03:08:15 +00:00
563417f77e
Change test to be compatible with maven2 surefire; when using surefire, junit is not loaded via the system classpath.
Simon Kitching2006-08-01 01:16:02 +00:00
8b353e9470
Change key of servlet api jar from "servletapi" to "servlet-api". The maven2 tests pull this jar from the maven2 repository, and in there the jarfile has a different name from the jarfile in the maven1 repo where ant pulls it from :-(.
Simon Kitching2006-08-01 01:14:53 +00:00
e7ab5b24d8
Allow libs for test to be discovered via the classpath as well as via system properties. This has been implemented to suppprt running tests via the maven surefire plugin, but is a general-purpose mechanism.
Simon Kitching2006-08-01 01:13:11 +00:00
f7a013c518
Rework packaging phase. JCL now builds correctly with maven2 (though unit tests don't run).
Simon Kitching2006-07-27 23:09:24 +00:00
833ff6bead
Exclude LogFactoryImpl anonymous inner classes from adapter jar that shouldn't be included.
Simon Kitching2006-07-27 23:05:22 +00:00
8a0a4017b9
Initial attempt at building commons-logging using maven2; not fully functional yet.
Simon Kitching2006-07-25 01:37:50 +00:00
effb1b152a
Replace confusing variable use with plain text. There's no need for flexibility here as the artifact id is really unlikely to change, and if it does we can just search-and-replace.
Simon Kitching2006-07-25 01:32:04 +00:00
557f97f1a5
Make unit tests compatible with maven2 Surefire plugin.
Simon Kitching2006-07-25 01:30:16 +00:00
cd2518594b
Add javadoc about setExplicitLoader/addLogicalLib.
Simon Kitching2006-07-25 01:26:37 +00:00
f69077181d
Fix for LOGGING-107. JCL failed when run under a security policy that prevented calling ClassLoader.getParent. We now catch SecurityException in this case, and also use an AccessController so JCL can be granted permissions without needing the caller to have those permissions too.
Simon Kitching2006-07-21 00:09:23 +00:00