Indrajit Raychaudhuri
ea08f86520
Added support for providing basic SCM info
...
Sonatype OSS repo (where many libraries are expected to migrate) requires
populating SCM info in additional to what is already provisioned for
populating in SBT.
We now support populating the basic SCM info as thus:
```
// Usual <scm><url/><connection/></scm>
scmInfo := Some(ScmInfo(url("https://github.com/foo/project "), "scmhttps://github.com/foo/project.git "))
// Also add <developerConnection/>
scmInfo := Some(ScmInfo(url("https://github.com/foo/project "), "scmhttps://github.com/foo/project.git ", Some("dev_connection")))
```
For anything more esoteric than the basic info, there is always `pomPostProcess` :)
2012-02-28 15:30:51 +05:30
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
Mark Harrah
9d21c48f41
revert XNode/Node rename because of shadowing when running full API doc generation
2011-11-19 18:17:30 -05:00
Indrajit Raychaudhuri
0139f15311
Cleanups activities
...
- extract exclusion block to separate method
- replace simple cases of mapping over function with pattern matching
2011-11-20 00:51:04 +05:30
Indrajit Raychaudhuri
e69c1c3827
Add classifier for 'jar' artifact type only. Closes #257 .
2011-11-20 00:10:43 +05:30
Mark Harrah
b2398172b2
use Charset.name instead of toString (which currently calls name)
2011-10-26 19:28:26 -04:00
Indrajit Raychaudhuri
64af38bb84
Use IO.write instead of explicit resource management
2011-10-26 21:43:42 +05:30
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
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
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
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
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
a8fd017499
maven-compatible plugin dependency system
2011-07-27 19:50:59 -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
63857ddd16
add pomAllRepositories option to include module configuration resolvers in pom. closes #39
2011-06-12 21:32:51 -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
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
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
31bfe43786
wrap repositories in <repositories> tag
2010-02-16 12:30:42 -05:00
Mark Harrah
d49cfc6b03
Remove extra whitespace in pom output
2010-02-14 20:24:33 -05:00
Mark Harrah
a33223a02c
legal cleanup
2010-02-07 23:45:19 -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