James Roper
5755689a8c
String upper/lower case no longer locale dependent
...
Fixed many instances of the Turkish i bug.
Spare a thought for the poor Turks!
2013-09-24 08:14:15 -04:00
Mark Harrah
b7770bc52e
parse external pom.xml with CustomPomParser to handle multiple definitions.
...
Fixes #758 . This is the same issue fixed by 74c07c64a7
but in this case the cause was the top-level pom.xml, which didn't go through CustomPomParser.
2013-09-16 11:58:13 -04:00
Mark Harrah
d9ce0a0a04
don't transform a module descriptor after it has already been processed by this sbt version. Ref #876 .
2013-09-13 23:19:06 -04:00
Mark Harrah
da1b8e1f55
do custom pom processing when reading from cache, fixes #876
2013-09-13 23:18:13 -04:00
Mark Harrah
b408a9f057
Move some logic in custom pom parser to separate methods
2013-09-13 16:37:22 -04:00
William Benton
ba7f3db5a0
Add factory methods to PatternsBasedRepository
...
This commit adds convenience methods to PatternsBasedRepository that
produce a copy of the repository with metadata optional or with
consistency checking disabled.
2013-08-26 14:06:21 -04:00
William Benton
298292c8c5
Additional options for Ivy resolvers.
...
Specify an Ivy resolver with ", descriptorOptional" to make Ivy
descriptor files optional for that repository or with
", skipConsistencyCheck" to disable Ivy consistency checks for
that repository.
2013-08-26 14:06:21 -04:00
Mark Harrah
8463792b99
API docs for CrossVersion
2013-08-16 14:21:44 -04:00
Mark Harrah
a76f59c575
Use repo.scala-sbt.org everywhere to be more independent of hosting details.
2013-08-07 18:24:19 -04:00
Mark Harrah
ae0b9457b2
Revert packaging='pom' behavior change introduced in c5823ad1e7. Fixes #810 . Ref #636 .
2013-07-11 18:49:30 -04:00
Mark Harrah
c2724510e5
clean up some ConvertResolver parameter lists
2013-07-11 18:49:30 -04:00
Mark Harrah
c924862d1c
Better auto project ID handling. Ref #776 .
...
* Consolidate project ID validation and normalization into Project methods
* Provide an earlier and more detailed error message when the directory
name can't be used for the project ID
2013-06-23 19:57:30 -04:00
Mark Harrah
141d608ed7
Move deprecated scala-tools conveniences to private[sbt] accessibility
2013-06-19 17:15:22 -04:00
Mark Harrah
64dc140e48
Invalidate cache when metadata came from ProjectResolver. Based on the core idea in #770 by @ezh.
...
Fixes #768 , closes #770 , fixes #773 .
2013-06-05 19:55:24 -04:00
Mark Harrah
7440613ec2
Fix regression in 0.12.3 where artifacts without an explicit configuration wouldn't be listed in ivy.xml.
2013-06-04 11:10:12 -04:00
Mark Harrah
d7e85f5877
ProjectResolver should throw an exception when called to retrieve dependency.
...
As suggested by @ezh, ref #770 .
2013-06-03 22:49:48 -04:00
Mark Harrah
0051af6a48
additional docs on ModuleID.extra
2013-06-01 10:56:30 -04:00
Mark Harrah
64257e427c
Test case and comment fixes #760 .
...
The actual fix was introduced in 6d5d641dd7 .
2013-05-28 15:08:13 -04:00
Mark Harrah
7cdb83693f
Use publication date from metadata instead of original file's last modified time. Fixes #764 .
2013-05-28 11:08:49 -04:00
Mark Harrah
cee19a157e
Fix for cache issues when developing sbt itself.
...
Ivy still seems to remember the resolver that found the metadata
and records that as the resolver to use for the artifact. Previous
fixes have attempted to ignore or blank this resolver. The issue
this fix addresses comes from inter-project not being ignored/blanked.
inter-project can't provide artifacts because it is only for projects
in the current build under development and not for modules in a repository.
The symptom is that compiling a build definition fails because the
sbt jars aren't on the classpath, but it is ultimately due to the
inter-project resolver incorrectly being used to resolve artifacts.
2013-05-05 15:42:15 -04:00
Mark Harrah
48f9ff2ec3
account for localOnly when cache subclass overrides isChanging
2013-05-05 15:42:15 -04:00
Mark Harrah
0fde230314
Merge branch 'feature/inc-track-inherit' into 0.13
2013-05-01 19:25:01 -04:00
Mark Harrah
cba7fb053d
Merge remote-tracking branch 'scalatest/new-framework-api-12' into 0.13
2013-05-01 08:34:01 -04:00
Mark Harrah
7bda0fad17
Better auto-generated IDs for default projects. Fixes #554 .
...
For the global plugins project, the default ID is "global-plugins".
For a normal project, the default ID is the name of the build directory.
The ID of a build definition for one of the above appends -build.
2013-04-10 20:15:28 -04:00
Mark Harrah
ea48770534
Correct data constructor for CrossVersion.binaryMapping. Fixes #716 .
2013-03-27 09:17:54 -04:00
Mark Harrah
bd134f1f27
add publish-m2 task for publishing to ~/.m2/repository. Fixes #485 .
2013-03-27 09:17:53 -04:00
Mark Harrah
f728912f12
use separate ivy home directories in component provider test so tests can run concurrently
2013-03-18 09:52:57 -04:00
Mark Harrah
55b986e6ec
Remove the conflict warnings based on the evicted modules. Ref #709 .
...
This aspect is better served by a standard Ivy conflict manager.
2013-03-14 16:17:12 -04:00
Mark Harrah
364e469947
Publish test artifacts in Test configuration and corrects classifier to 'tests'. Fixes #683
2013-03-08 20:11:53 -05:00
Mark Harrah
03dd25c15e
ivy cache: ignore the original resolver in more places. Fixes #704
2013-03-08 14:23:31 -05:00
Brendan W. McAdams
e87136a352
Resolves #645 : Added 'xml:space="preserve"' attribute to extraDependencyAttributes XML Block * This will keep PrettyPrinter from clobbering and breaking pom files for plugins dependent on other plugins
2013-02-28 18:00:40 -05:00
Mark Harrah
825f9b54b8
deprecations
2013-02-25 09:24:04 -05:00
Mark Harrah
4e1aa282b7
Use Ivy's default name for the resolution report.
...
Ivy hardcodes the resolution report name in the stylesheet that renders the
HTML from the XML report. This means that the links to other configurations
are broken when using a custom name.
2013-02-19 14:33:22 -05:00
Mark Harrah
9fdbf0537e
-Xlint
2013-02-04 17:30:31 -05:00
Eugene Yokota
c763b3c757
support binary version in launcher
2013-01-29 16:55:13 -05:00
Eugene Yokota
71473e99f2
add more CrossVersionTest
2013-01-24 13:03:40 -05:00
Eugene Yokota
a6e7f4dc8f
add CrossVersionTest
2013-01-24 13:03:40 -05:00
Eugene Yokota
b677915016
deprecate binaryVersion
2013-01-24 13:03:40 -05:00
Eugene Yokota
7f44e0070d
adds sbtApiVersion and scalaApiVersion
...
sbtApiVersion and scalaApiVersion each calculates the API
version of release builds as well as milestones and RCs.
scalaBinaryVersion and sbtBinaryVersion are now aware of
scalaApiVersion and sbtApiVersion respectively.
For example, sbtBinaryVersion for "0.13.0-SNAPSHOT" now evaluates to
"0.13.0-SNAPSHOT" instead of "0.13".
2013-01-24 08:21:11 -05:00
Paolo G. Giarrusso
a2224ba0ff
Silence boring Eclipse warnings: catching all exceptions, part 2
...
These warning fixes are new since my last pull request, please verify.
2013-01-22 09:05:15 -05:00
Paolo G. Giarrusso
5d696e5428
Silence boring Eclipse warnings: @SuppressWarnings("rawtypes")
...
Add @SuppressWarnings("rawtypes") to ResolverAdapter, since it has a comment
making pretty clear that using raw types is intended.
2013-01-22 09:05:15 -05:00
Mark Harrah
6f1bdc9aa6
Only include standard scopes in pom.xml.
2013-01-16 10:26:33 -05:00
Mark Harrah
95ded675b1
follow-up to invalidating changing artifacts: super.cacheModuleDescriptor can be null
2013-01-16 10:26:33 -05:00
Mark Harrah
b212d80ac6
Ivy Artifact needs wildcard configuration added if no explicit ones are defined. Fixes #439 .
2013-01-16 10:26:33 -05:00
Mark Harrah
9be353e247
Invalidate artifacts not recorded in the original metadata when a module marked as changing changes. Fixes #637 , #641 .
2013-01-15 08:22:00 -05:00
Mark Harrah
5070104cce
Warn and optionally error when multiple cross version suffixes for a module are detected. Fixes #639 .
2013-01-15 08:21:53 -05:00
Mark Harrah
5523d16a77
Configurable conflict manager and corresponding documentation on conflictManager, dependencyOverrides, and force(). Fixes #603 .
2013-01-11 16:01:31 -05:00
Mark Harrah
1d70775d7b
Don't try to automatically detect a main artifact when packaging=pom. Fixes #636 .
...
For the rare case where a main artifact is expected, add an explicit jar()
to the dependency declaration.
2013-01-11 16:01:30 -05:00
Mark Harrah
d0815e88ae
Split IvyInterface into Artifact, Configuration, ModuleID, and Resolver source files
2013-01-10 16:06:13 -05:00
Mark Harrah
bad48a6f0d
API documentation for ModuleID methods
2013-01-10 16:06:12 -05:00