Details
-
Type:
Wish
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Hello,
Can I request that the Ant tasks for Maven do not include the third
party Jsch libraries in their own jar
It may seem a good solution to your dependencies -bundle them in your
own JAR, but the consequences are
-unless you release the libs in perfect syncrhonisation with the jsch
releases, your version will be behind
-if someone has a different version of the jsch stuff on the
classpath, they may not get what they want
-the ant team ends up fielding the bug reports
We have problems with existing libraries including stuff like oro and
antlr, and have documented it
http://ant.apache.org/manual/install.html#librarydependencies
Please dont add to the list.
I understand the value in secure downloads, but feel this is the wrong
tactic. If having the library is a prerequisite, please point to the
library at download time. Otherwise, well, surely dynamic downloading of
stuff is what the library is meant to be good at?
Issue Links
- depends upon
-
MNG-226
need to be able to dynamically register providers for wagon and scm
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 2.0-beta-1 [ 11040 ] |
| Assignee | Brett Porter [ brettporter ] |
| Workflow | jira [ 35828 ] | Maven [ 37333 ] |
| Priority | Major [ 3 ] | Critical [ 2 ] |
| Original Estimate | 2 hours [ 7200 ] | |
| Remaining Estimate | 2 hours [ 7200 ] |
| Status | Open [ 1 ] | In Progress [ 3 ] |
-
- Time Spent:
- 2 hours
-
about 1.5h was for syncing up to artifact library changes :)
added install-provider task
| Remaining Estimate | 2 hours [ 7200 ] | 0 minutes [ 0 ] |
| Time Spent | 2 hours [ 7200 ] |
| Resolution | Fixed [ 1 ] | |
| Status | In Progress [ 3 ] | Closed [ 6 ] |
| Workflow | Maven [ 37333 ] | Maven New [ 47761 ] |
| Key | MNG-586 |
|
| Project | Maven 2 [ 10500 ] | Maven 2.x Ant Tasks [ 11533 ] |
| Fix Version/s | 2.0-beta-1 [ 11040 ] | |
| Fix Version/s | 2.0 [ 13395 ] | |
| Component/s | Ant tasks [ 11532 ] |
Yep, this is a matter of convenient distribution, there is the
standalone antlib which is quite small but requires all the
dependencies in the classpath, or the fat one that has everything.
I want to trim them down a bit anyway, and cull some providers as you
suggest and provide easy ways to add them. Perhaps another task for
ensuring the presence of a wagon provider and its dependencies which
would be simple enough - we haven't solved that problem for Maven
itself yet either.