BUG-41915 ranger source jar required changes.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/c6e5a126 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/c6e5a126 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/c6e5a126 Branch: refs/heads/HDP-2.3.2-groupid Commit: c6e5a126a45f1c931e4cf9e345a4b5b577618d40 Parents: 1c894ad Author: vijayk <[email protected]> Authored: Mon Aug 3 15:58:55 2015 +0000 Committer: vijayk <[email protected]> Committed: Mon Aug 3 15:58:55 2015 +0000 ---------------------------------------------------------------------- pom.xml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/c6e5a126/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 31344bc..6ac6500 100644 --- a/pom.xml +++ b/pom.xml @@ -439,15 +439,13 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> - <version>2.2.1</version> - <configuration> - <attach>true</attach> - </configuration> + <version>2.4</version> <executions> <execution> - <id>create-source-jar</id> + <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> + <goal>test-jar-no-fork</goal> </goals> </execution> </executions> @@ -476,8 +474,11 @@ </pluginManagement> <plugins> - - <plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + </plugin> + <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <version>0.11</version> @@ -492,14 +493,12 @@ <configuration> <excludeSubProjects>false</excludeSubProjects> <excludes> - <exclude>**/dependency-reduced-pom.xml</exclude> + <exclude>**/dependency-reduced-pom.xml</exclude> <exclude>**/robots.txt</exclude> <exclude>**/MANIFEST.MF</exclude> <exclude>**/bootstrap.min.js</exclude> - <exclude>**/src/main/webapp/fonts/**</exclude> <exclude>**/src/main/webapp/libs/**</exclude> - <exclude>.git/**</exclude> <exclude>.pc/**</exclude> <exclude>debian/**</exclude> @@ -522,10 +521,9 @@ <exclude>**/.externalToolBuilders/*</exclude> <exclude>*.patch</exclude> <exclude>atlassian-ide-plugin.xml</exclude> - <exclude>**/.pydevproject</exclude> - <exclude>**/*CHANGES.txt</exclude> + <exclude>**/.pydevproject</exclude> + <exclude>**/*CHANGES.txt</exclude> </excludes> - </configuration> </plugin>
