I'm a newbie to Maven and Continuum, so aplogies if this is obvious. I'm
not sure if this is a Maven question or Continuum question, or perhaps
both, so I thought I'd try here first.
When dealing with multiple projects which need different JDK for
compilation, it's possible to use the source and target elements for the
maven-compiler-plugin for each project to define the desired byte-code:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
but, to avoid JDK library swapping, I would much rather be able to defined
which one of my multiple JDKs should be used for compilation and test
execution, akin to what is done in Eclipse with configured JDKs. Is this
possible in Maven and/or Continuum.
Specifically, I have code which must be JDK 1.3 only, I have library code
which needs to be JDK 1.3 compatible but typically runs in a JDK 5
environment, and I have application code which is JDK 5 only. My
mixed-mode library code has backport of some of the JDK 1.4 and JDK 5
functionality which if I're running in JDK 5 environment I take advantage
of via reflection; otherwise, these services are implemented with JDK 1.3
constructs. My test code needs to test both modes of operation, i.e., JDK
1.3 environments and JDK 5 environments so my unit tests for this library
must be executed twice, once in each environment, and my code must be
compiled in JDK 1.3. Does that make sense?
Any thoughts?
Many thanks,
-Jan
Jan Nielsen * System Architect * SunGard Higher Education * Tel +1 801 257
4155 * Fax +1 801 485 6606 * [EMAIL PROTECTED] * www.sungardhe.com
* 90 South 400 West, Suite 500, Salt Lake City, UT USA
CONFIDENTIALITY: This email (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited. If you received this email in error,
please notify the sender and delete this email from your system. Thank
you.
"Andrew Williams (JIRA)" <[EMAIL PROTECTED]>
08/11/2006 02:03 PM
Please respond to
[email protected]
To
[email protected]
cc
Subject
[jira] Commented: (MAVENUPLOAD-1032) IRCLib from org.schwering
[
http://jira.codehaus.org/browse/MAVENUPLOAD-1032?page=comments#action_72181
]
Andrew Williams commented on MAVENUPLOAD-1032:
----------------------------------------------
Many apologies - I must have been very tired at the time
the correct URL is:
http://maven.rectang.com/irclib-1.04-bsd_uploadbundle.jar
> IRCLib from org.schwering
> -------------------------
>
> Key: MAVENUPLOAD-1032
> URL: http://jira.codehaus.org/browse/MAVENUPLOAD-1032
> Project: maven-upload-requests
> Issue Type: Task
> Reporter: Andrew Williams
>
> IRClib is a free Java implementation of the IRC protocol.
> The upload is needed to support some new Plexus IRC features :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]