Commit Graph

770 Commits

Author SHA1 Message Date
Hans Joachim Desserud
754c2fc9bf Replaced deprecated constructors which contained parameter Version.
When looking into the code, these ended up toggling behaviour if Lucene version was later than 3.1.


Former-commit-id: b7641118b16ccfc904c8aaab3b2636d909d5b1d9
2015-01-05 21:51:11 +01:00
Jeremy Long
d1c27a4298 Merge branch 'minor-fixes' of https://github.com/hansjoachim/DependencyCheck into hansjoachim-minor-fixes
Former-commit-id: b9de007127351691152d0403fa9d7a8656195fd2
2015-01-04 12:35:44 -05:00
Hans Joachim Desserud
08bf16971a Removed redundant semicolon
Former-commit-id: 45e93e66ff7a8f4fc67cb8680ffdbd362d763d5f
2015-01-04 15:01:56 +01:00
Hans Joachim Desserud
ae22719985 This deprecated value should be fixed at least
Former-commit-id: b65317611bbe1784b0b8b14b7c31e86623952cf8
2015-01-03 22:11:05 +01:00
Hans Joachim Desserud
9390e71dd9 Upgrade Apache Lucene to 4.10.3. Would have needed to import the type for a parameter in one constructor, but since it was unused I took the liberty of simply removing it
Former-commit-id: 6e65307276619ed29354269fab2d5458b532766e
2015-01-03 14:23:57 +01:00
Hans Joachim Desserud
6394c1a7b4 Upgraded to Apache Lucene 4.6.1. The method BaseTokenStreamTestCase.checkOneTermReuse was removed in http://svn.apache.org/viewvc?view=revision&revision=1525362, updated copied test case accordingly.
Former-commit-id: 0344bfcec4a08040eb693ca49c91218badbb2c96
2015-01-02 17:41:04 +01:00
Jeremy Long
cfafb4a101 ensured CentralAnalyzer is not enabled during some tests
Former-commit-id: 69ca1ebf12080c448b4a3113f6c90da90e2e6da9
2014-12-31 07:49:27 -05:00
Jeremy Long
943a9ea97e added synchonization to the open method
Former-commit-id: 8be1fcc1b96744dbf4d4f5754f2402be33ed4032
2014-12-28 06:43:45 -05:00
Jeremy Long
2c7ab297d7 removed serialization as Lucene's classes are not serializable
Former-commit-id: 06758ffeca109cb558ca2ac567672153cca71b50
2014-12-28 06:43:11 -05:00
Jeremy Long
e0217fc6c3 checkstyle correction
Former-commit-id: 0bc46c51151eca7d8b6c0abff3b7b9a47cb0529f
2014-12-27 06:52:37 -05:00
Jeremy Long
573c8eb509 added a reset() method as part of resolution for issue #173
Former-commit-id: b07e6a477ebd1b008f9be6f249a531fcb911865a
2014-12-26 07:06:16 -05:00
Jeremy Long
e676e3a14b added a reset method to re-enable the file type analyzers so the engine could be reused to scan files as part of resolution for issue #173
Former-commit-id: 4b2cca05cf9724d58e3a8a7970eb2d05bb553346
2014-12-26 07:05:48 -05:00
Jeremy Long
af8c807ee0 added a getter for the FileTypeAnalyzers to resolve a problem while fixing issue #173
Former-commit-id: 359b9e41a03bd2bd0c9c63e437540bf082c7c92d
2014-12-26 07:04:45 -05:00
Jeremy Long
d6e1352869 made serializable
Former-commit-id: e826b6b05017739cc35641dcdd882e4c62946a12
2014-12-17 11:24:46 -05:00
Jeremy Long
ce8d5bc635 hack resolution to issue #172 - more information is needed to fully resolve the issue though
Former-commit-id: 366299924689cca0e277fd82b9f7bd40b9c19490
2014-12-09 06:36:04 -05:00
Jeremy Long
8fdc2007e0 fixed unit test
Former-commit-id: e1571c23fc236d810b60037f9cd8f7a804b69195
2014-12-09 06:35:07 -05:00
Jeremy Long
88a97769de added additional fine grained logging
Former-commit-id: 782dca3f3ed72da8e6c0b4eb9ee38783dd5690c8
2014-12-08 06:39:51 -05:00
Jeremy Long
589c761cb0 resolved null pointer exception
Former-commit-id: 3cc97c878a2bcc09c8a2cea3802278974d56b954
2014-12-08 05:41:58 -05:00
Jeremy Long
4555b02592 checkstyle, findbugs, and pmd corrections
Former-commit-id: 85573816e82855343af1d41576ffc2479e8595ed
2014-12-06 13:16:06 -05:00
Jeremy Long
e1d4599a93 added test cases for issue #82
Former-commit-id: e823eb5eb2d19b252cb5bd65c3f74891478a69ee
2014-12-06 11:35:49 -05:00
Jeremy Long
33218f41e8 minor changes to support testing
Former-commit-id: ef1a8934c2a118216a06aeba786be0f732a6060a
2014-12-06 11:34:50 -05:00
Jeremy Long
8772cda47a added property to resolve issue #82
Former-commit-id: 711d6f538901aff6a9467fba460b62905dce75b4
2014-12-06 10:20:46 -05:00
Jeremy Long
512eb713e4 added EngineVersionCheck to resolve issue #82
Former-commit-id: ffc483a673187cf7f4a1c3a0ba8a46eb86532316
2014-12-06 10:18:46 -05:00
Jeremy Long
0f90d48c62 added EngineVersionCheck to service loader
Former-commit-id: 8047a173070d8ccaff0e5401472d885245b9ffba
2014-12-06 10:18:03 -05:00
Jeremy Long
658860e396 added new save properties method to support changes for issue #82
Former-commit-id: 56480f2d0233a03aed83ec0e8c8092f599cd0a62
2014-12-06 10:15:28 -05:00
Jeremy Long
5a001a2c32 moved withinRange to a utility class
Former-commit-id: d7bd22e42e6a96306e17229e449b9b052ddcb627
2014-12-06 07:44:07 -05:00
Jeremy Long
13a03eb250 moved withinRange to a utility class
Former-commit-id: aab76247ebf674c0e8cdeba56abedb1d510de41c
2014-12-06 07:37:47 -05:00
Jeremy Long
83b182dda5 modified Settings.getString to use a key instead of hard-coded string
Former-commit-id: 6c047637c1e2bb865d4bb504ff67851398a0d88e
2014-12-06 07:36:15 -05:00
Jeremy Long
78008330fe changed order of operations to ensure the Maven engine doesn't call initialize twice
Former-commit-id: bbf613387adc87b605d0003b923421274979313d
2014-12-03 15:44:29 -05:00
Jeremy Long
0cd43ce35c updates to reduce load times in multi-module projects per issue #168
Former-commit-id: adfaaaddffffa9b078d6b78a1ac031e6d8343f21
2014-12-02 06:43:54 -05:00
Jeremy Long
70a8fc09c6 Merge branch 'master' of github.com:jeremylong/DependencyCheck
Former-commit-id: f91bf00c7865a26cff5e6d4c8d3ea67d8c472a70
2014-11-30 07:47:14 -05:00
Jeremy Long
5b00d05e2e resolved issue #171
Former-commit-id: 28a30d4d76b2bb44247e26fae4601d32c2df12df
2014-11-30 07:46:28 -05:00
Steve Springett
28c1730a02 Merge remote-tracking branch 'origin/master'
Former-commit-id: 43610b7be6f438085abee3054254daedd7c09177
2014-11-26 15:03:37 +02:00
Steve Springett
c54483d36f Adding missing central analyzer config to scan agent
Former-commit-id: 948e67459ba06c7a4f76efaba16d0dfbbba1aa44
2014-11-26 15:03:10 +02:00
Jeremy Long
2dd02ff8cb Merge branch 'master' of github.com:jeremylong/DependencyCheck
Former-commit-id: 17a1b6ffc03aea4c52760a0e8f721f2a017f9c18
2014-11-26 07:03:42 -05:00
Jeremy Long
46c5501b7a changed ensureDataExists method to resolve startup time delays as part of a fix for issue #168
Former-commit-id: 15e85be9e5e01253f4864d18178da4c395b008eb
2014-11-25 05:58:16 -05:00
Jeremy Long
f154826749 added additionial verbose logging
Former-commit-id: 5d65d0186914d7045b6e5d51c10bc2feb8b2aab4
2014-11-25 05:57:02 -05:00
Jeremy Long
96383ef985 added a check to the open function to prevent losing a reference to an open database connection
Former-commit-id: 62e8386dce392d8c7fbc58febc4f5d4bc35e84f0
2014-11-25 05:55:59 -05:00
Jeremy Long
ab4b19dbab added a database check to ensure data exists - this replaces an older method and reduces startup time to help resolve issue #168
Former-commit-id: 4a8b2db9adf91cef2d89148f0c9b9c2327240221
2014-11-25 05:55:01 -05:00
Steve Springett
cdc53ac570 Minor changes to allow for more flexible use of ReportGenerator outside of the core.
Former-commit-id: ce728f6d7a229571d093ed93e829b6597d084507
2014-11-21 17:29:52 -06:00
Jeremy Long
0d90b676bc changed logging message that indicates default state was moved to the log file rather then standard console output
Former-commit-id: e67218ff539a0c2b34cc78d0208f42d815248d7e
2014-11-21 06:36:28 -05:00
Jeremy Long
5fadbb3d25 changed logging level indicating that the central analyzer is being used instead of NexusAnalyzer - since this is the standard use case it clutters the output, the message now only goes to the log
Former-commit-id: d3faf76c59cf5a80070299a99410b1593c91187c
2014-11-21 06:16:05 -05:00
Jeremy Long
180a420219 changed checkstyle off on markers
Former-commit-id: 1a6a854e34d834cf7532439279f55e5538eb1b5d
2014-11-16 12:46:28 -05:00
Jeremy Long
297a5e516f switched to using commons.io.FileUtils to delete files
Former-commit-id: e63309f20e7af759233db5486acc85f2c5c6806d
2014-11-16 08:24:55 -05:00
Jeremy Long
92b11526be updated log messages
Former-commit-id: 4f58ed64efbee2a2d604bdc5bd51394e152bd408
2014-11-16 08:24:17 -05:00
Jeremy Long
299350f655 correctly closed streams when extracting a gzip archive
Former-commit-id: 0a0c917cc3e4c4a004823fba9b7f8ab53f90d557
2014-11-16 06:21:02 -05:00
Jeremy Long
127eafc9b3 removed unused field
Former-commit-id: f44e6398f946abe2faa8ab1b2e3813a6831b9c66
2014-11-16 06:20:27 -05:00
Jeremy Long
ad1ad3a997 turned off checkstyle for a few lines
Former-commit-id: 62bf63649427363c0d86bd72acbb76a9772d1da3
2014-11-16 06:20:07 -05:00
Jeremy Long
82151c5b3f initial version of the test for DownloadTask
Former-commit-id: 5c82a5dda739525be25eed5ee763effe839758d0
2014-11-15 08:23:54 -05:00
Jeremy Long
aa126039e5 updated NVD CVE URLs to use gzipped files
Former-commit-id: 25c0c2e5df3a6626fae5401209fac93b105b3392
2014-11-15 08:21:44 -05:00