{"action":"created","issue":{"url":"https://api.github.com/repos/JFrogDev/build-info/issues/72","labels_url":"https://api.github.com/repos/JFrogDev/build-info/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/JFrogDev/build-info/issues/72/comments","events_url":"https://api.github.com/repos/JFrogDev/build-info/issues/72/events","html_url":"https://github.com/JFrogDev/build-info/issues/72","id":122248057,"number":72,"title":"Maven plugin StackOverflowError in multimodule projects with extensions","user":{"login":"slawekjaranowski","id":3578921,"avatar_url":"https://avatars.githubusercontent.com/u/3578921?v=3","gravatar_id":"","url":"https://api.github.com/users/slawekjaranowski","html_url":"https://github.com/slawekjaranowski","followers_url":"https://api.github.com/users/slawekjaranowski/followers","following_url":"https://api.github.com/users/slawekjaranowski/following{/other_user}","gists_url":"https://api.github.com/users/slawekjaranowski/gists{/gist_id}","starred_url":"https://api.github.com/users/slawekjaranowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slawekjaranowski/subscriptions","organizations_url":"https://api.github.com/users/slawekjaranowski/orgs","repos_url":"https://api.github.com/users/slawekjaranowski/repos","events_url":"https://api.github.com/users/slawekjaranowski/events{/privacy}","received_events_url":"https://api.github.com/users/slawekjaranowski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-15T11:07:04Z","updated_at":"2015-12-16T09:29:23Z","closed_at":null,"body":"In maven project with many modules and if one of them we use plugin as extension during \"deploy\" we got StackOverflowError.\r\n\r\nBuild generate many logs and don't stop.\r\n\r\nYou can test example project: \r\nhttps://github.com/PayU-Tech/artifactory-test\r\n\r\nFragment of log:\r\n```\r\nCaused by: java.lang.RuntimeException: org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionStarted() listener has failed:\r\n        ... 1024 more\r\nCaused by: java.lang.StackOverflowError\r\n        at java.io.ExpiringCache.entryFor(ExpiringCache.java:103)\r\n        at java.io.ExpiringCache.get(ExpiringCache.java:78)\r\n        at java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:406)\r\n        at java.io.File.getCanonicalPath(File.java:618)\r\n        at java.io.FilePermission$1.run(FilePermission.java:215)\r\n        at java.io.FilePermission$1.run(FilePermission.java:203)\r\n        at java.security.AccessController.doPrivileged(Native Method)\r\n        at java.io.FilePermission.init(FilePermission.java:203)\r\n        at java.io.FilePermission.<init>(FilePermission.java:277)\r\n        at sun.net.www.protocol.file.FileURLConnection.getPermission(FileURLConnection.java:228)\r\n        at sun.net.www.protocol.jar.JarFileFactory.getPermission(JarFileFactory.java:166)\r\n        at sun.net.www.protocol.jar.JarFileFactory.getCachedJarFile(JarFileFactory.java:136)\r\n        at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:91)\r\n        at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:122)\r\n        at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150)\r\n        at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:238)\r\n        at org.jfrog.build.extractor.maven.BuildInfoModelPropertyResolver.getMavenVersion(BuildInfoModelPropertyResolver.java:181)\r\n        at org.jfrog.build.extractor.maven.BuildInfoModelPropertyResolver.resolveProperties(BuildInfoModelPropertyResolver.java:54)\r\n        at org.jfrog.build.extractor.maven.BuildInfoRecorder.sessionStarted(BuildInfoRecorder.java:129)\r\n        ... 1005 more\r\n```"},"comment":{"url":"https://api.github.com/repos/JFrogDev/build-info/issues/comments/165045529","html_url":"https://github.com/JFrogDev/build-info/issues/72#issuecomment-165045529","issue_url":"https://api.github.com/repos/JFrogDev/build-info/issues/72","id":165045529,"user":{"login":"slawekjaranowski","id":3578921,"avatar_url":"https://avatars.githubusercontent.com/u/3578921?v=3","gravatar_id":"","url":"https://api.github.com/users/slawekjaranowski","html_url":"https://github.com/slawekjaranowski","followers_url":"https://api.github.com/users/slawekjaranowski/followers","following_url":"https://api.github.com/users/slawekjaranowski/following{/other_user}","gists_url":"https://api.github.com/users/slawekjaranowski/gists{/gist_id}","starred_url":"https://api.github.com/users/slawekjaranowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slawekjaranowski/subscriptions","organizations_url":"https://api.github.com/users/slawekjaranowski/orgs","repos_url":"https://api.github.com/users/slawekjaranowski/repos","events_url":"https://api.github.com/users/slawekjaranowski/events{/privacy}","received_events_url":"https://api.github.com/users/slawekjaranowski/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T09:29:23Z","updated_at":"2015-12-16T09:29:23Z","body":"Proposed solution with disabled configuration inheritance is not acceptable for us.\r\n\r\nWe have many projects which use artifactory, and we have one project called \"Super POM\" where we have global configuration.\r\n\r\nSo when we disable configuration inheritance we must copy configuration from one place to many other projects. Of course it will produce many work with maintenance.\r\n\r\nDo you have another proposition how to maintain configuration for artifactory in one place for many projects?"}}