Commit Graph

1430 Commits

Author SHA1 Message Date
Jeremy Long
5a0e280899 Merge pull request #197 from ahi/master
Removes the test for default Maven repository directory.

Former-commit-id: cc261e0e6b54e169862118003bb639d52f5c94ba
2015-02-18 20:17:17 -05:00
Jeremy Long
ccb5e234b3 moved methods from JarAnalyzer to the new PomUtils so that a POM could be parsed and analyzed within other analyzers (part of patch for issue #196)
Former-commit-id: 4e649f678e59f4eaf379eba21a6ad87348fe8525
2015-02-18 20:14:04 -05:00
Jeremy Long
a28c2819fa added pom URL as part of patch for issue #196 and improved the URL provided for the jar file itself
Former-commit-id: 8f485f53031a7e244d4a8f8d0c055e6b38fca746
2015-02-18 20:09:42 -05:00
Jeremy Long
40beec2e40 additional parsing of the data from Central was used to determine if the POM file is available in Central (part of the patch for issue #196)
Former-commit-id: 1805be75b101546b166c9eb4ad1efc30e53983cf
2015-02-18 20:08:14 -05:00
Jeremy Long
d136aeda84 pom parsing was externalized so that it could be used in multiple locations to assist in the resolution of issue #196
Former-commit-id: cbdde3b4b2dcabf0ff9e3f49cc3d36c62e67a1bb
2015-02-18 20:06:51 -05:00
Jeremy Long
fdd6c47cd5 if pom was not found/analyzed by the JAR Analyzer and the POM exists in Central it is downloaded, parsed, and the resulting evidence is added to the dependency to resolve issue #196
Former-commit-id: 9a36b30d4d4c265a41ae95bf5a9e95b281349425
2015-02-18 20:05:00 -05:00
Jeremy Long
c5a2b5b3d8 minor code cleanup, reformatting, and added some additional verbose logging
Former-commit-id: 9d6cf651a22a679f155a04313a09de56c90e0399
2015-02-18 19:56:56 -05:00
Ahmet Kiyak
babe4739c5 Removes the test for default Maven repository directory.
Error: If the M3_REPO directory is not set to a path that contains */m2/repository/* the DependencyCheck doesn't read <library>.pom file. Some dependencies like "spring-core-3.2.0.RELEASE.jar" are not found due to this error.

Fix: Remove the test for default Maven repository directory. The existing check for the existence of <library>.pom file is sufficient.

Former-commit-id: 8d7c51f611b5d26d505cfc3fe9f8b94c12174000
2015-02-17 18:57:24 +01:00
Jeremy Long
babc016b48 added project references
Former-commit-id: ba4a058648203b8749b31e889994a5ddfc72d7b3
2015-02-12 20:49:04 -05:00
Jeremy Long
a5f378d755 removed commented out code
Former-commit-id: db1075a0d07f4c5af904691e200b3792533521b3
2015-02-12 20:48:36 -05:00
Jeremy Long
423f26852f updated URL to central
Former-commit-id: b2b0741a5c32de3dbfd6e2d7953447b3348ad7e5
2015-02-08 19:28:04 -05:00
Jeremy Long
f931412bee changed the url for Maven Central
Former-commit-id: cfe3c6efd45094b1a12d8e147e1d121064b48630
2015-02-08 07:50:29 -05:00
Jeremy Long
d79d5b5f33 added project references as part of patch for issue #185
Former-commit-id: 3146c47f89031eaf09e513b6eb757bcc98ee9edf
2015-02-08 07:17:16 -05:00
Jeremy Long
4c5489efd3 added project references as part of patch for issue #185
Former-commit-id: 5a4473d0b91b28de8c5caaba51ceed42e670532c
2015-02-08 06:59:06 -05:00
Jeremy Long
a841027d48 added additional supporessions
Former-commit-id: a9810fa2e2051204d481e975de0922ec7d4183ef
2015-02-07 18:15:41 -05:00
Jeremy Long
c2b757ad6f re-added the struts1/2 fix and fixed other bugs in patch for issue #180
Former-commit-id: 93d45b91a46171788ac1a6c703055e5f196dcc0d
2015-01-28 18:50:51 -05:00
Jeremy Long
efeba40f2b fixed bug in patch for issue #180
Former-commit-id: a547268f56b373a6959d1be212629f39d66581d6
2015-01-27 06:57:51 -05:00
Jeremy Long
018e4bc382 patch for issue #180
Former-commit-id: 95760c8ee82b1e382dc3785525ac6027c0be8069
2015-01-25 11:15:43 -05:00
Jeremy Long
4461c2e4a4 patch to resolve the issue with xmltooling discussed in issue #186
Former-commit-id: c3327bee9055c91659648d4835f8436478e7f41d
2015-01-21 18:58:51 -05:00
Hans Joachim Desserud
63c7a9d926 And since the annotation was switched to avoid name collision, the full name is no longer needed
Former-commit-id: ddbe16d074ca2fed635c2e9f4ca8157af0fe9c24
2015-01-11 11:09:02 +01:00
Hans Joachim Desserud
6609481cc1 Switch to non-deprecated FindBugs-SuppressWarnings tags which should avoid name collision
Former-commit-id: a4a978ee4a6621033064488a71577bdb93cddab4
2015-01-10 21:23:44 +01:00
Hans Joachim Desserud
9f348cfa16 The Version-less constructor for StopFilter will simply default to Version.LATEST under the hood which is exactly what we send in.
Former-commit-id: cc3010532e9203d663d977f0df0892d8f5694b5f
2015-01-10 19:41:25 +01:00
Hans Joachim Desserud
ef04c16237 Removed deprecated classes
Former-commit-id: 7b4de8148c8de485d39842b2fdecc8cbc2895da3
2015-01-06 21:23:47 +01:00
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
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
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
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
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
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