Commit Graph

38 Commits

Author SHA1 Message Date
Oleg Zhurakousky
2fca52c583 INT-1817 added SI test to gradle.build for JMX module 2011-03-09 17:25:38 -05:00
Chris Beams
0f390cb64c Upgrade to JavaMail 1.4.3
Requires addition of java.net repository, as 1.4.3 is not available
from Maven Central (whereas 1.4.1 was).
2011-01-07 09:04:28 -08:00
Chris Beams
454f349163 Remove workaround for GRADLE-1079
Previously, `gradle eclipse` would generate .classpath files with
GRADLE_CACHE references.  Now it generates fully-qualified paths to
the user's home directory by default.  This means we can remove the
    eclipseClasspath.variables = [:]
workaround.
2010-12-28 05:29:18 -08:00
Mark Fisher
7c7edd3e40 added stax dependency for xml module tests 2010-12-21 19:44:24 -05:00
Mark Fisher
c866dee048 trying a different jaxb version 2010-12-21 19:33:33 -05:00
Mark Fisher
6d2b4ae6ab updating build.gradle for test dependencies needed on jdk 5: stax for ws and jaxb for xml 2010-12-21 18:56:40 -05:00
Chris Beams
8429135370 Eliminate all unintentional output during build
Redirect all stdout for the test task to LogLevel.INFO, effectively
suppressing it from the default LogLevel of LIFECYCLE.

Gradle actually does this redirection during testing anyway, but for
non-main threads that exit after the test task has completed, their
output makes its way to the console.  This is why, prior to this commit
verbose 'intentional test failure' stack traces could be seen polluting
the console.

Also tuned the Xlint flags to javac on a project-by-project basis. Only
those projects that have spurious path warnings get '-path'; only those
projects with spurious deprecation warnings get '-deprecation', and so
on. This way, there's no blanket policy applied too liberally to all
projects; if path or deprecation errors crop up in a different module,
folks should see them rather than having them automatically suppressed.
2010-11-29 00:52:22 -07:00
Chris Beams
1d3f4b2987 Upgrade junit:junit:4.7 -> junit:junit-dep:4.8.2
junit-dep does not bundle dependencies like hamcrest. This avoids
'duplicate package org.hamcrest' errors during javadoc generation
2010-11-22 15:06:02 -07:00
Mark Fisher
bad0612dc7 INT-1614 removed all dependency info for commons-lang and commons-io (no longer used in any of our modules) from build.gradle 2010-11-21 13:17:46 -05:00
Mark Fisher
7687dc67ee INT-1614 removing dependencies on commons-lang 2010-11-21 12:57:36 -05:00
Chris Beams
1dc64b2914 Eliminate "bad path element" warnings from build output (GRADLE-6) 2010-11-19 04:14:01 -07:00
Mark Fisher
cf45498376 INT-1635 upgraded Spring Security dependency to 3.0.5.RELEASE 2010-11-18 17:18:20 -05:00
Oleg Zhurakousky
09d5bae0cc INT-1614 added more tests, added si-test as sftp project dependency to fix the previosu build error, code coverage 77% 2010-11-16 14:23:07 -05:00
Chris Beams
536fda2200 Check in Gradle-generated poms for convenience (INT-1609)
For ease of use by those (a) more familiar with Maven or (b) relying
on m2eclipse support within Eclipse/STS, generated poms are now checked
in. Changes to these files will be overwritted on subsequent gradle
builds.

Any changes to project dependencies should first be reflected in
build.gradle; then run `gradle generatePom` or simply `gradle build`
to see the change reflected in the pom(s).

Note that org.springframework.integration.ip.tcp.TcpInboundGatewayTests
currently fails when running `mvn clean test` from the root. This
problem does not manifest when running `gradle clean test`. The latter
is what's most important; Gary has been contacted to take a look at the
former.

Issues resolved:
    INT-1609, INT-1610, INT-1611
2010-11-12 23:27:32 -08:00
Chris Beams
b3f18afdd7 Further reorganization and polish of build script 2010-11-10 08:09:26 -08:00
Chris Beams
a34f10c230 Polish 2010-11-09 16:31:53 -08:00
Chris Beams
af26423502 Move docs/build.gradle -> buildSrc/docs.gradle 2010-11-09 16:02:07 -08:00
Chris Beams
9eb0a6c2bc Initial cut at schema publication. No symlinks yet. 2010-11-09 15:56:00 -08:00
Chris Beams
6f1c83c4ea Pick up buildSrc changes for Version and preconditions 2010-11-09 15:43:39 -08:00
Chris Beams
edae65ae52 Eliminate gradle directory in favor of shared buildSrc
.gradle scripts once in gradle/ dir now live in shared buildSrc/ dir.

Some hard-coding of Spring Integration specifics still remain and will
be removed shortly.
2010-11-09 15:07:22 -08:00
Chris Beams
25e5756337 Initial cut of bundlor plugin 2010-11-09 10:55:19 -08:00
Chris Beams
9202dd01b2 Polish whitespace 2010-11-09 10:53:32 -08:00
Oleg Zhurakousky
e85adbba9c INT-1554 removed Presence headers, Inbound/Outboound Message Mapper, fixed schema and tests 2010-11-05 10:42:23 -04:00
Chris Beams
7ea55fdc71 Add ability to generate poms for use at build time
Generate poms from Gradle metadata with

    `gradle generatePom`

This will create a root pom with a <modules> section as well as a pom
for every individual module.

These poms are suitable for use with m2eclipse (e.g., File->Import->
Existing Maven project), or at the command line for basic build goals
such as `mvn test`.

These poms are not capable of producing distribution artifacts or
deployment of artifacts.

pom.xml and target will remain in .gitignore as these artifacts are
transient and for developer convenience only.
2010-11-04 16:54:06 -06:00
Mark Fisher
6eb8f16cb4 INT-1584 upgraded the Spring Security dependency to 3.0.4.RELEASE 2010-11-03 17:13:31 -04:00
Mark Fisher
117f3206ca INT-1578 added source/target compatibility setting, but it's not clear yet that it has an impact 2010-11-02 15:18:32 -04:00
Chris Beams
ea58a1dedb Add spring-integration-test dependency for Twitter and XMPP 2010-10-28 15:35:35 -04:00
Chris Beams
9619e5591b JDBC module's generateSql no longer tied to build lifecycle
Changes requiring schema generation are exceedingly rare; favor
manual execution of `gradle generateSql` for the time being.

Generated sources are checked into the tree at
src/main/resources/org/springframework/integration; simply regenerate
and copy to this location manually as necessary.
2010-10-28 14:20:21 -04:00
Chris Beams
627ea3cff4 Fix exclusions that were not showing up in generated poms
This was due to Gradle's silent failure to match exclusions detailed
at http://jira.codehaus.org/browse/GRADLE-1028. Everything is working
as expected now after this update, however.
2010-10-28 11:37:06 -04:00
Chris Beams
a72d327db6 Mark dependencies 'optional' or 'provided' as appropriate
Requires significant pom customization in maven-deployment.gradle
which has been verified at `gradle install` time, but not yet at
`gradle uploadArchives` time.  Need to figure out how to eliminate
the duplication going on there.
2010-10-28 11:16:03 -04:00
Chris Beams
947a8c08a1 Re-order dependencies 2010-10-28 10:40:33 -04:00
Chris Beams
f2a9e803b4 Mark dependency as needing to be optional 2010-10-27 07:43:23 -04:00
Chris Beams
9cfa0af674 Replace external module dependencies with project dependencies 2010-10-27 07:25:22 -04:00
Chris Beams
677fca51a9 Major progress on Gradle port
Complete:
--------
- src/* documentation resources moved to 'docs' subproject

- docbook sources upgraded to Docbook 5

- formatted all docbook sources to strip tab characters and
  eliminate trailing whitespace

- all projects compile and test successfully

- all artifacts upload successfully to s3, static.sf.org, etc.

Remaining:
---------
- documentation L&F needs work. CSS, images, and highlighting aren't
  hooked up properly

- spring-integration-jdbc codegen bits in Maven POM need to be
  transcribed into gradle

- dependencies that were optional or provided scope in maven are
  currently 'compile' scope in Gradle.  Need to figure out support
  in Gradle to fix this.

- run through Eclipse classpath and project generation scenarios

- delete all Maven artifacts
2010-10-26 18:51:08 -04:00
Mark Fisher
d677da9c62 added major/minor version properties to version class 2010-10-26 12:53:36 -04:00
Mark Fisher
886ac004c0 added all modules to build.gradle and settings.gradle 2010-10-26 11:35:13 -04:00
Mark Fisher
97ae4b898b added event and feed to build 2010-10-25 20:56:31 -04:00
Mark Fisher
8025f72d00 adding basic gradle config 2010-10-25 19:18:49 -04:00