{"action":"created","issue":{"url":"https://api.github.com/repos/pgjdbc/pgjdbc/issues/322","labels_url":"https://api.github.com/repos/pgjdbc/pgjdbc/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/pgjdbc/pgjdbc/issues/322/comments","events_url":"https://api.github.com/repos/pgjdbc/pgjdbc/issues/322/events","html_url":"https://github.com/pgjdbc/pgjdbc/pull/322","id":88028485,"number":322,"title":"chore: migrate the build to Maven","user":{"login":"lordnelson","id":1742888,"avatar_url":"https://avatars.githubusercontent.com/u/1742888?v=3","gravatar_id":"","url":"https://api.github.com/users/lordnelson","html_url":"https://github.com/lordnelson","followers_url":"https://api.github.com/users/lordnelson/followers","following_url":"https://api.github.com/users/lordnelson/following{/other_user}","gists_url":"https://api.github.com/users/lordnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/lordnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordnelson/subscriptions","organizations_url":"https://api.github.com/users/lordnelson/orgs","repos_url":"https://api.github.com/users/lordnelson/repos","events_url":"https://api.github.com/users/lordnelson/events{/privacy}","received_events_url":"https://api.github.com/users/lordnelson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-06-13T16:21:33Z","updated_at":"2015-07-01T06:59:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pgjdbc/pgjdbc/pulls/322","html_url":"https://github.com/pgjdbc/pgjdbc/pull/322","diff_url":"https://github.com/pgjdbc/pgjdbc/pull/322.diff","patch_url":"https://github.com/pgjdbc/pgjdbc/pull/322.patch"},"body":"With reference to #313, this is a view of how the project would work using Maven as the build tool. \r\nI have implemented a build profile for Java 6/7/8 and JDBC 4/4.1/4.2 respectively.\r\n\r\nThe change aims to produce a like-for-like build of the artifacts as compared with the existing Ant build. Any improvements to the build process will be submitted as separate PRs.\r\n\r\nStill to do:\r\n- ~~Create the OSGI bundle~~ (**I'd like someone familiar with OSGI to test this**)\r\n- ~~Compare the documentation generation~~ (Existing doc target seems to fail with unknown property)\r\n- ~~Compare the jar pre and post Maven change~~\r\n- ~~Test the deployment to OSS~~ (Added the components but don't have the credentials to test)\r\n- ~~Generate the javadoc~~\r\n- ~~Generate the distribution archive~~\r\n- ~~Generate the MANIFEST.MF entries~~\r\n- ~~Update README.md with build changes~~\r\n\r\nI think this is complete now. Please checkout the branch and have a look.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pgjdbc/pgjdbc/issues/comments/117489669","html_url":"https://github.com/pgjdbc/pgjdbc/pull/322#issuecomment-117489669","issue_url":"https://api.github.com/repos/pgjdbc/pgjdbc/issues/322","id":117489669,"user":{"login":"vlsi","id":213894,"avatar_url":"https://avatars.githubusercontent.com/u/213894?v=3","gravatar_id":"","url":"https://api.github.com/users/vlsi","html_url":"https://github.com/vlsi","followers_url":"https://api.github.com/users/vlsi/followers","following_url":"https://api.github.com/users/vlsi/following{/other_user}","gists_url":"https://api.github.com/users/vlsi/gists{/gist_id}","starred_url":"https://api.github.com/users/vlsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlsi/subscriptions","organizations_url":"https://api.github.com/users/vlsi/orgs","repos_url":"https://api.github.com/users/vlsi/repos","events_url":"https://api.github.com/users/vlsi/events{/privacy}","received_events_url":"https://api.github.com/users/vlsi/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T06:59:48Z","updated_at":"2015-07-01T06:59:48Z","body":"> 2. This is existing behaviour in the build and used to generate the source distribution available on:\r\n\r\nCan't we use \"source\" artifact instead of manual backing of the archive? jar source will be ready-to-use in IDE (for those who do not use maven).\r\n\r\nWhy do you include \"lib\" into new distribution then?\r\nWhy do you include \"doc\" (javadoc) into new distribution then?\r\nWhy don't you include `build.properties`?\r\n"}}