{"action":"created","issue":{"url":"https://api.github.com/repos/jcabi/jcabi-maven-plugin/issues/40","labels_url":"https://api.github.com/repos/jcabi/jcabi-maven-plugin/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/jcabi/jcabi-maven-plugin/issues/40/comments","events_url":"https://api.github.com/repos/jcabi/jcabi-maven-plugin/issues/40/events","html_url":"https://github.com/jcabi/jcabi-maven-plugin/issues/40","id":114190185,"number":40,"title":"cleanup of temp directory is required","user":{"login":"benoitdechateauvieux","id":1567831,"avatar_url":"https://avatars.githubusercontent.com/u/1567831?v=3","gravatar_id":"","url":"https://api.github.com/users/benoitdechateauvieux","html_url":"https://github.com/benoitdechateauvieux","followers_url":"https://api.github.com/users/benoitdechateauvieux/followers","following_url":"https://api.github.com/users/benoitdechateauvieux/following{/other_user}","gists_url":"https://api.github.com/users/benoitdechateauvieux/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitdechateauvieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitdechateauvieux/subscriptions","organizations_url":"https://api.github.com/users/benoitdechateauvieux/orgs","repos_url":"https://api.github.com/users/benoitdechateauvieux/repos","events_url":"https://api.github.com/users/benoitdechateauvieux/events{/privacy}","received_events_url":"https://api.github.com/users/benoitdechateauvieux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jcabi/jcabi-maven-plugin/labels/30%20mins","name":"30 mins","color":"eb6421"},{"url":"https://api.github.com/repos/jcabi/jcabi-maven-plugin/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/jcabi/jcabi-maven-plugin/labels/DEV","name":"DEV","color":"bfd4f3"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-30T03:05:12Z","updated_at":"2016-01-19T09:57:40Z","closed_at":null,"body":"Hi,\r\n\r\nI use the following settings:\r\n```xml\r\n<plugin>\r\n          <groupId>com.jcabi</groupId>\r\n          <artifactId>jcabi-maven-plugin</artifactId>\r\n          <version>${version.jcabi.plugin}</version>\r\n          <executions>\r\n            <execution>\r\n              <id>weave-classes</id>\r\n              <phase>process-classes</phase>\r\n              <goals>\r\n                <goal>ajc</goal>\r\n              </goals>\r\n              <configuration>\r\n                <classesDirectory>${project.build.outputDirectory}</classesDirectory>\r\n              </configuration>\r\n            </execution>\r\n            <execution>\r\n              <id>weave-test-classes</id>\r\n              <phase>process-test-classes</phase>\r\n              <goals>\r\n                <goal>ajc</goal>\r\n              </goals>\r\n              <configuration>\r\n                <classesDirectory>${project.build.testOutputDirectory}</classesDirectory>\r\n              </configuration>\r\n            </execution>\r\n          </executions>\r\n        </plugin>\r\n```\r\n\r\nThe result is:\r\n- all the classes declared in src/main/java are compiled in target/classes\r\n- all the classes declared in src/test/java **and src/main/java** are compiled in target/test-classes\r\n\r\nThis doesn't match the Maven convention (src/main/xxx => target/classes, src/test/xxx => target/test-classes)\r\n\r\nThis jar hell is detected by Elasticsearch BootstrapForTesting tool and thus Elasticsearch refuses to start.\r\n\r\nAm I wrong in the way I setup the plugin ?\r\nI there any way to fix that?\r\nThanks !"},"comment":{"url":"https://api.github.com/repos/jcabi/jcabi-maven-plugin/issues/comments/172798645","html_url":"https://github.com/jcabi/jcabi-maven-plugin/issues/40#issuecomment-172798645","issue_url":"https://api.github.com/repos/jcabi/jcabi-maven-plugin/issues/40","id":172798645,"user":{"login":"dmarkov","id":5993843,"avatar_url":"https://avatars.githubusercontent.com/u/5993843?v=3","gravatar_id":"","url":"https://api.github.com/users/dmarkov","html_url":"https://github.com/dmarkov","followers_url":"https://api.github.com/users/dmarkov/followers","following_url":"https://api.github.com/users/dmarkov/following{/other_user}","gists_url":"https://api.github.com/users/dmarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmarkov/subscriptions","organizations_url":"https://api.github.com/users/dmarkov/orgs","repos_url":"https://api.github.com/users/dmarkov/repos","events_url":"https://api.github.com/users/dmarkov/events{/privacy}","received_events_url":"https://api.github.com/users/dmarkov/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T09:57:40Z","updated_at":"2016-01-19T09:57:40Z","body":"@piddubnyi please help, the task is yours"}}