Jan Berkel
7508f7a7ea
Added support for <classifier> in makePom
...
Avoid second call to getExtraAttribute
2011-10-12 02:59:16 +02:00
Mark Harrah
30e3c3e3e4
fixes #212 . dependencies on plugins must be encoded in <properties> element.
2011-10-01 19:47:06 -04:00
Mark Harrah
baee7b0f61
require metadata by default
2011-09-21 22:49:58 -04:00
Mark Harrah
7aeea2528b
work around for Ivy-899. fixes #194
2011-09-20 20:51:47 -04:00
Mark Harrah
dcea4f2293
make ComponentManager honor value of Ivy home provided by the launcher
2011-09-16 23:08:01 -04:00
Indrajit Raychaudhuri
bd8d1c0698
Support for simple exclusion rules in inline dependencies
...
This support excluding a library from the dependency tree for a given
set of `ExclusionRule`s. There are two ways to achieve this:
- Using `organization` and `name` pairs:
val dep = "org" % "name" % "version" exclude("commons-codec", "commons-codec") exclude("org.slf4j", "slf4j-log4j")
- Using `ExclusionRule`:
val dep = "org" % "name" % "version" excludeAll(ExclusionRule("commons-codec", "commons-codec"), ExclusionRule("org.slf4j", "slf4j-log4j"))
2011-09-10 04:32:47 +05:30
Indrajit Raychaudhuri
1647efd6f8
Honor <exclusions/> in <dependency/> when available
2011-09-06 17:29:42 +05:30
Indrajit Raychaudhuri
7f9adf31b8
Add start-year for compliance in ProjectInfo
2011-09-03 02:19:08 +05:30
Mark Harrah
950bf200dc
clean up optional dependency handling for make-pom. fixes #162
2011-08-26 23:27:03 -04:00
Mark Harrah
fcdcdb4eaa
more on #155
2011-08-23 19:51:50 -04:00
Mark Harrah
d2ed74a5dd
minor improvements to conflict message. closes #132
2011-08-23 19:51:50 -04:00
Mark Harrah
a3460698bb
improved fix for #155
2011-08-22 22:48:35 -04:00
Mark Harrah
967deece9c
better error when publish resolver from custom configuration doesn't exist
2011-08-22 22:48:21 -04:00
Mark Harrah
ba33a73271
remove duplication in conflict warning message
2011-08-22 22:48:21 -04:00
Mark Harrah
c121c1745a
append sbt pattern to leave the default IBiblioResolver pattern in place. fixes #155
2011-08-19 22:13:56 -04:00
Mark Harrah
b36e40a8f7
move to 2.9.1 (RC3), bump to 0.11.0-SNAPSHOT
2011-08-16 17:32:26 -04:00
Indrajit Raychaudhuri
bb75b74eb6
Remove some deprecations and redundant code
2011-08-05 13:30:04 +05:30
Mark Harrah
8f519a21c0
remove obsolete assertion. ref #143
2011-08-04 18:08: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
Indrajit Raychaudhuri
60aa517cd2
JavaNet1Repository should have legacy layout (see: http://maven.apache.org/pom.html#Repository )
2011-07-31 20:47:10 +05:30
Indrajit Raychaudhuri
5e002782f1
Add java.net M2 repo for convenience
2011-07-31 20:47:10 +05:30
Indrajit Raychaudhuri
0a4cb0efba
fix distribution method (see: http://maven.apache.org/pom.html#Licenses )
2011-07-31 20:47:10 +05:30
Mark Harrah
0509424635
fix pom packaging autodetection
2011-07-30 18:11:20 -04:00
Mark Harrah
213399c40c
fix inter-project dependencies involving extra attributes
2011-07-29 23:33:10 -04:00
Mark Harrah
a8fd017499
maven-compatible plugin dependency system
2011-07-27 19:50:59 -04:00
Mark Harrah
3975ade5aa
explicitly set pattern for Maven resolver for more control
2011-07-27 19:50:59 -04:00
Mark Harrah
0357cf88ff
log conflict messages as one unit
2011-07-27 19:50:58 -04:00
Mark Harrah
1d478fa437
fix spurious extra attributes warning
2011-07-25 21:38:01 -04:00
Mark Harrah
5903fb88a2
includes sbt, Scala version extra attributes in repository/cache patterns
2011-07-23 23:07:54 -04:00
Mark Harrah
e81d7087ed
includes extra attributes in ModuleID.toString
2011-07-23 23:07:54 -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
7066036084
drop problem summary for update-seems entirely redundant
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
3f0644d136
use launcher repositories for update-sbt-classifiers. fixes #88
2011-07-19 21:29:05 -04:00
Mark Harrah
bcc3e12abc
use 'scalaVersion in update' for cross building, IvyScala.substituteCross for generality. fixes #86
...
also, 'scalaVersion in artifactName` for the version to append to artifacts
2011-07-17 11:26:27 -04:00
Mark Harrah
0ea418e985
provide better indication of cause of incompatible sbt versions
2011-07-16 12:53:29 -04:00
Mark Harrah
ed20823886
cleanup
2011-07-13 18:08:29 -04:00
Mark Harrah
199737f7b5
use \n for make-pom because PrettyPrinter hard codes it. fixes #95
2011-07-12 07:47:31 -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
15427d32b3
Include evicted modules and statistics in UpdateReport
2011-07-08 21:54:59 -04:00
Mark Harrah
aebde6b3e6
move dependency mapping to IvySbt#Module
2011-07-06 07:30:47 -04:00
Mark Harrah
8d61d78c2b
return Provided to be transitive, ref #42
2011-07-03 15:44:53 -04:00
Mark Harrah
090acd6549
add methods for directly working with credentials
2011-06-26 12:27:06 -04:00
Mark Harrah
5d0cdc8de4
use ivyConfigurations for interDependencies instead of scope configurations
2011-06-22 19:17:10 -04:00
Mark Harrah
4921be04c8
add ChainedResolver(name: String, resolvers: Seq[Resolver]), closes #63
2011-06-20 15:25:23 -04:00
Mark Harrah
c4ac9445e3
cache failing classifiers. fixes #46
2011-06-19 21:01:29 -04:00
Mark Harrah
a028f8e6d7
fixes issue with inter-project resolution when project delegates are defined
2011-06-18 20:17:50 -04:00
Mark Harrah
69fec711be
inject internal configurations into pom ModuleDescriptor. fixes #59
2011-06-17 21:56:52 -04:00
Mark Harrah
02d11e3115
fixes #55
...
updated dependency-management/sources test covers this
2011-06-15 19:09:31 -04:00
Mark Harrah
540f7df9e1
cleaning up artifact configurations
2011-06-14 19:32:36 -04:00
Mark Harrah
9f5d219310
Define 'type' for builtin artifacts based on classifier
2011-06-12 21:32:52 -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
9cd575e861
convenience method on UpdateReport for extracting contents as sequence of tuples
2011-06-10 08:08:51 -04:00
Mark Harrah
c501635240
make provided intransitive, fixes #42
2011-06-10 08:08:51 -04:00
Mark Harrah
6643250f78
remove code obsolete after 0.7.1
2011-06-10 08:08:51 -04:00
Mark Harrah
9b984d07c3
use artifact patterns as ivy pattern defaults
2011-06-02 18:35:25 -04:00
Mark Harrah
b26a2aa2c0
Include dependency ID in explicit Scala version checking error message
2011-05-30 22:10:00 -04:00
Mark Harrah
fcddde02e6
drop custom conflict manager to fix IvyNode-related exception
2011-05-29 19:17:31 -04:00
Mark Harrah
85a55c25bf
settle scala-library situation
2011-05-25 22:44:22 -04:00
Mark Harrah
4509428af9
locking of boot directory can be disabled by with [boot].lock: true in boot.properties
2011-05-19 22:04:05 -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
60eda4bb20
Implement optional/provided configurations, closes #8
2011-04-19 22:24:52 -04:00
Mark Harrah
5806dbaab0
work on dependency management tests
2011-04-16 16:38:47 -04:00
Mark Harrah
fee9429b03
more work on dependency management tests
2011-04-16 11:22:10 -04:00
Mark Harrah
de2d26d94c
fix handling of custom ivy home directory
2011-04-15 20:13:39 -04:00
Mark Harrah
a15bd90309
artifact and cross-naming fixes/improvements
2011-04-15 20:13:38 -04:00
Mark Harrah
0b4d0e1062
inject sbt-managed Scala libraries into the UpdateReport
2011-04-15 18:32:20 -04:00
Mark Harrah
4328d7d1f1
Hack to avoid Ivy checking for sources/javadocs for every module
2011-04-15 18:31:16 -04:00
Mark Harrah
3e29126cbf
support checksum generation and checking, enable by default
2011-04-15 18:25:54 -04:00
Mark Harrah
7fb97c6353
fix Scala version transitively (by default)
2011-04-14 21:48:12 -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
132278d1d8
Ivy home configurable instead of cache directory, work on artifact test
2011-04-13 19:03:36 -04:00
Mark Harrah
00722de739
fix configurations name
2011-04-11 10:19:04 -04:00
Mark Harrah
715f7b8574
some API documentation for UpdateReport
2011-04-10 21:30:03 -04:00
Mark Harrah
673f9923ab
dependency filters, selecting/filtering UpdateReport
2011-04-10 16:22:48 -04:00
Mark Harrah
1b147b4953
reorganize main
2011-04-08 19:15:13 -04:00
Mark Harrah
159a3fe8f3
credentials and patterns for resolvers
2011-04-05 18:44:47 -04:00
Mark Harrah
1f52591fcb
Credentials for publishing
2011-04-04 22:46:51 -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
15e785a1e4
more stable managed classpath ordering
2011-03-16 22:21:02 -04:00
Mark Harrah
b1d39404a1
make default conflict manager ignore force
...
see comment on IvySbt.latestNoForce
2011-03-16 20:10:41 -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
d371ff9314
more consistent configuration of the Ivy user directory
2011-03-12 10:28:53 -05:00
Mark Harrah
b7f92ae07f
2.9 compatibility fixes
2011-03-04 06:16:35 -05:00
Mark Harrah
df1c9c00c7
include Scala version to artifact names to match expected names for publishing
2011-02-21 10:22:39 -05:00
Mark Harrah
8c9e89850a
configure Ivy cache to ignore original resolver
2011-02-17 16:20:30 -05:00
Mark Harrah
dcd24f5dc4
implement %%
2011-02-14 18:57:54 -05:00
Mark Harrah
032f638549
fix stray Ivy logging message when directly accessing IvySbt#Module
2011-02-11 20:09:42 -05:00
Mark Harrah
1124cc59d9
package, package-doc, package-src
2011-02-10 08:16:07 -05:00
Mark Harrah
4d6f6ca9f8
fix ProjectResolver to properly ignore artifacts
2011-02-08 20:32:11 -05:00
Mark Harrah
ae7e029a46
fix deadlock caused by lazy val synchronization
2011-02-05 21:34:17 -05:00
Mark Harrah
8e2588ec10
Configuration-related tweaks
2011-02-02 19:32:24 -05:00
Mark Harrah
087bc569e0
multi-project model based on Settings and ProjectRef
2011-01-18 18:48:32 -05:00
Mark Harrah
9e045edab8
always use 'jar' as packaging type if there is an artifact with a 'jar' type
2011-01-04 11:10:31 -05:00
Mark Harrah
fbd24d2241
update deliver,make-pom,publish-local to be usable
2010-12-02 19:56:19 -05:00