Mark Harrah
b15fb72727
Fail publishing when artifacts to publish do not exist.
2012-09-11 11:37:41 -04:00
Mark Harrah
14952e00b6
Second part of resolution cache work. Fixes #532 .
...
Replaces the standard Ivy resolution cache:
1. Separate the cached resolved Ivy files from resolution reports,
making resolution reports easier to find (target/resolution-cache/reports/)
2. Cache location includes extra attributes so that cross builds of a plugin
do not overwrite each other.
2012-08-29 11:13:48 -04:00
Mark Harrah
c7f6ce4aec
per-project resolution cache that deletes cached files before each update
...
These are the ivy files, properties, and resolve reports for the project,
not dependencies and their artifacts.
2012-08-28 11:55:24 -04:00
Mark Harrah
74c07c64a7
Merge multiple dependency definitions for the same ID. Fixes #468 , #285 , #419 , #480 .
...
This is only a workaround. Multiple dependency definitions should be avoided
in general.
2012-08-27 10:49:13 -04:00
Mark Harrah
59a7432cf8
update-classifiers fixes: mark modules intransitive and don't exclude sources/docs for scala jars
2012-05-02 19:56:35 -04:00
Mark Harrah
5e155900da
rework cross versioning to account for prerelease Scala versions
2012-01-22 22:06:53 -05:00
Indrajit Raychaudhuri
fba4953c32
Miscellaneous updates
...
- honor includeTypes to filter dependency artifact candidates for classifier setting
- prefer the more stable Seq[_] instead of Iterable[_]
- import cleanups
2011-11-22 02:08:16 +05:30
Indrajit Raychaudhuri
0270ac078f
Support for enhanced cross build suffix in dependencies. Closes #267
...
Overloading `%%` for library dependency to allow using a library built
with an alternative version of Scala that is different from the Scala
version used in the current build (but hopefully binary compatible).
This is useful in cases, where the binary build of a dependency with
the exact Scala version isn't yet available but an otherwise binary
compatible build (maybe with a previous Scala release) is available.
2011-11-17 22:17:06 +05:30
Mark Harrah
16eee17503
drop configurations when storing unavailable classifiers. fixes #46
2011-10-16 17:27:36 -04:00
Indrajit Raychaudhuri
1647efd6f8
Honor <exclusions/> in <dependency/> when available
2011-09-06 17:29:42 +05:30
Mark Harrah
967deece9c
better error when publish resolver from custom configuration doesn't exist
2011-08-22 22:48:21 -04:00
Indrajit Raychaudhuri
67102aadff
- Extra Settings are now available to control project information, viz., name, description, homepage, organization name, organization homepage, licenses
...
- Modified name/signature of some private types/methods to reduce confusion (all in limited scope, so nothing should change from end user's pov)
- Enriched Ivy and Maven descriptors produced out of the box (see Keys.scala and Defaults.scala for more)
- Projects do not need to create custom Ivy <info/> block anymore, there is more settings-specific control instead
2011-08-03 08:49:46 +05:30
Mark Harrah
a6ef6481ac
use configurations for modules for update-classifiers. fixes #104
2011-07-31 22:17:50 -04:00
Mark Harrah
1d478fa437
fix spurious extra attributes warning
2011-07-25 21:38:01 -04:00
Mark Harrah
69f6887ea1
extra information when dependencies with extra attributes cannot be resolved
2011-07-23 23:07:54 -04:00
Mark Harrah
33736edb29
preserve extraAttributes in a couple of places
2011-07-23 23:07:54 -04:00
Mark Harrah
6acbbb05a3
support configuring checksums differently for publish, publish-local, update, and update-sbt-classifiers. fixes #115
2011-07-21 22:03:56 -04:00
Mark Harrah
1d792c3601
warn when there is an sbt version conflict. fixes #80
2011-07-08 21:54:59 -04:00
Mark Harrah
c4ac9445e3
cache failing classifiers. fixes #46
2011-06-19 21:01:29 -04:00
Mark Harrah
02d11e3115
fixes #55
...
updated dependency-management/sources test covers this
2011-06-15 19:09:31 -04:00
Mark Harrah
63857ddd16
add pomAllRepositories option to include module configuration resolvers in pom. closes #39
2011-06-12 21:32:51 -04:00
Mark Harrah
b97eb58396
define type for artifacts looked up by update-classifiers, fixes #49
2011-06-11 20:09:15 -04:00
Mark Harrah
06ec88af3d
build sxr, api docs and use sbinary 0.4.0
2011-05-17 20:09:20 -04:00
Mark Harrah
5806dbaab0
work on dependency management tests
2011-04-16 16:38:47 -04:00
Mark Harrah
a15bd90309
artifact and cross-naming fixes/improvements
2011-04-15 20:13:38 -04:00
Mark Harrah
5dcc1bc9bc
direct Artifact->File map, removing source patterns
...
build and publish main sources and docs by default
control built-in artifacts with 'publish-artifact'
// disable publishing docs
publishArtifact in (Compile,packageDoc) := false
// enable publishing test jar, docs, and sources
publishArtifact in Test := true
2011-04-14 07:32:42 -04:00
Mark Harrah
d79fa21348
fix publish patterns for maven style publishing
2011-04-01 21:06:07 -04:00
Mark Harrah
8c0d441fec
clean up Ivy-related logging
2011-03-22 20:53:33 -04:00
Mark Harrah
4a8e79befb
retrieve to build, update-classifiers action
...
set retrieve := true to have dependencies retrieved to the build
the location is by default shared by all projects in a build
(<built-root>/lib_managed/), but can be per-project
update-classifiers and update-sbt-classifiers retrieves artifacts with classifiers
for project dependencies and for sbt, respectively
The default setting is classifiers := Seq("javadoc", "sources")
2011-03-15 22:12:59 -04:00
Mark Harrah
787f00985b
detailed UpdateReport replaces Map[String,Seq[File]]
...
the information included is:
configuration -> module -> artifact -> file
2011-03-13 21:40:49 -04:00
Mark Harrah
b7f92ae07f
2.9 compatibility fixes
2011-03-04 06:16:35 -05:00
Mark Harrah
fbd24d2241
update deliver,make-pom,publish-local to be usable
2010-12-02 19:56:19 -05:00
Mark Harrah
1567de67b2
fix update, default project supports triggered execution
2010-09-21 22:38:18 -04:00
Mark Harrah
2e3367d6d6
first part of fixing #44
2010-09-04 08:42:37 -04:00
Mark Harrah
b2077ce60c
more 2.8 updates, launcher compiles and runs with 2.8
2010-06-15 20:38:18 -04:00
Mark Harrah
33d29a4768
* can now set 'offline' property to 'true' to not refresh dynamic revisions (not needed if no -SNAPSHOT versions used)
...
* more control over Ivy logging: override ivyUpdateLogging = UpdateLogging.Full,DownloadOnly (default), or Quiet
2010-05-02 19:15:01 -04:00
Mark Harrah
a2126f19db
* Added pomRepositoryFilter(repo: MavenRepository): Boolean that excludes local repositories by default
...
* Added pomPostProcess(pom: Node): Node to make advanced manipulation of the default pom easier (pomExtra covers basic cases)
2010-04-23 21:20:07 -04:00
Mark Harrah
9720566f84
detect packaging for make-pom
2010-03-30 09:19:36 -04:00
Mark Harrah
a33223a02c
legal cleanup
2010-02-07 23:45:19 -05:00
Mark Harrah
6a6ae03ad6
Throw a custom exception when there is an Ivy resolve error
2010-02-06 17:43:14 -05:00
Mark Harrah
a5732b56ab
* Basic support for writing repositories to the pom in make-pom.
...
* Pretty-print pom in make-pom
2010-01-30 10:46:47 -05:00
Mark Harrah
3b67efa0d4
Use custom pom generation instead of Ivy's built-in generation in order to support extra information like licenses.
2010-01-29 20:31:07 -05:00
Mark Harrah
fa93a64cf9
Replace Ivy interface with the component from xsbt
2010-01-15 19:05:23 -05:00
Mark Harrah
b2fdc07505
Turned sbt launcher into a general Scala application launcher as described in launch.specification
2009-09-27 14:39:26 -04:00
Mark Harrah
108807a773
Tests and fixes for component manager and cache interface.
2009-08-20 00:02:06 -04:00
Mark Harrah
67e13ad887
Setup interface project for testing
2009-08-18 00:51:08 -04:00
Mark Harrah
65fc0e0453
Initial xsbt commit
2009-08-16 14:29:08 -04:00