Commit Graph

12 Commits

Author SHA1 Message Date
Mick Semb Wever ce49e775f7
Missing license info and headers
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-18807
2023-08-31 22:30:42 +02:00
Stefan Miklosovic 357c0d5a89 Expand build.dir property in rat targets
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18183
2023-01-23 14:45:39 +01:00
Stefan Miklosovic 2b31675fbd Fix running Ant rat targets without git
patch by Stefan Miklosovic; reviewed by Michael Semb Wever for CASSANDRA-17974
2022-10-21 09:58:43 +02:00
Mick Semb Wever 3259d6de37 Migrate dependency handling from maven-ant-tasks to resolver-ant-tasks
- This removes lib/ from version control.
- The generated pom files are now the source of truth to the project's depdendencies, and the lib/ folder re-created during the build from compile scope dependencies excluding provided and system scopes. Project dependencies are first downloaded to the maven local repository at `~/.m2/repository`.
- Maven is now required to be installed to build, that is the `mvn` command needs to be found in the path.
- The new resolver-ant-tasks targets have been encapsulated into the `build/build-resolver.xml` ant file.
- Most classpaths in build.xml are replaced with resolver:resolve definitions.
- The build-deps-pom generated pom file is now only used for declaring test dependencies.

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16557
2021-07-25 11:35:45 -05:00
Sam Tunnicliffe 4763d5625a Merge branch 'cassandra-2.2' into cassandra-3.0 2021-04-27 11:56:07 +01:00
Sam Tunnicliffe 26163bb12a Follow up fixes to CASSANDRA-16633
* Don't run rat check if git fails or not available
* Check for presence of rat.txt before running eclipse-warnings task
  (to ensure that the report is always generated by CI runs)

Patch by Sam Tunnicliffe; reviewed by Mick Semb Wever for CASSANDRA-16633
2021-04-27 11:12:07 +01:00
Sam Tunnicliffe ad2f41ef88 Merge branch 'cassandra-2.2' into cassandra-3.0 2021-04-27 09:18:50 +01:00
Sam Tunnicliffe bd270260c8 Only include versioned files in rat-report
Patch by Sam Tunnicliffe; reviewed by Benedict Elliott Smith
and Mick Semb Wever for CASSANDRA-16633
2021-04-27 09:17:56 +01:00
Sam Tunnicliffe 5be6d7e6b1 Only include versioned files in rat-report
Patch by Sam Tunnicliffe; reviewed by Benedict Elliott Smith
and Mick Semb Wever for CASSANDRA-16633
2021-04-27 08:57:50 +01:00
Mick Semb Wever ad16aa1763
Provide a better failure message when the rat check fails
patch by Mick Semb Wever; reviewed by David Capwell, Ekaterina Dimitrova for CASSANDRA-16620
2021-04-23 14:56:00 +02:00
Ekaterina Dimitrova 8b977d0da9 Ninja fix, add header to the Circle LOWRES and HIGHRES config files 2021-04-19 14:13:49 -04:00
Mick Semb Wever 53b0661cbb
Fix rat checking for files with missing license headers
patch by Mick Semb Wever; reviewed by Brandon Williams, Ekaterina Dimitrova for CASSANDRA-16558
2021-04-19 17:18:26 +02:00