diff options
author | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-14 17:27:47 +0300 |
---|---|---|
committer | Sergey Mashkov <sergey.mashkov@jetbrains.com> | 2015-07-14 19:33:22 +0300 |
commit | 2bd7a4ac79bfa813a0c19bdcd417c44039b38480 (patch) | |
tree | 09edf865642ed449091c70387267f293787aae1e /maven-plugin/pom.xml | |
parent | 1a79c5d46536f1140f6348868aa14974182114ba (diff) | |
download | dokka-2bd7a4ac79bfa813a0c19bdcd417c44039b38480.tar.gz dokka-2bd7a4ac79bfa813a0c19bdcd417c44039b38480.tar.bz2 dokka-2bd7a4ac79bfa813a0c19bdcd417c44039b38480.zip |
Build fatjar by gradle and use it's output as dependency for maven and gradle plugins.
Eliminate local repository in out dir.
Diffstat (limited to 'maven-plugin/pom.xml')
-rw-r--r-- | maven-plugin/pom.xml | 49 |
1 files changed, 11 insertions, 38 deletions
diff --git a/maven-plugin/pom.xml b/maven-plugin/pom.xml index ad2117a8..71cc856d 100644 --- a/maven-plugin/pom.xml +++ b/maven-plugin/pom.xml @@ -44,27 +44,14 @@ </dependency> <dependency> - <groupId>org.fusesource.jansi</groupId> - <artifactId>jansi</artifactId> - <version>1.11</version> - </dependency> - - <dependency> <groupId>org.jetbrains.dokka</groupId> <artifactId>dokka-fatjar</artifactId> - <version>1.0</version> + <version>(,0.2)</version> <type>jar</type> <scope>compile</scope> </dependency> </dependencies> - <repositories> - <repository> - <id>my-local-repo</id> - <url>file://${basedir}/../out/repo</url> - </repository> - </repositories> - <build> <sourceDirectory>src/main/kotlin</sourceDirectory> @@ -116,39 +103,25 @@ <goalPrefix>dokka</goalPrefix> </configuration> </plugin> - - <!-- disable default jar building: we use assembly-plugin instead --> <plugin> - <artifactId>maven-jar-plugin</artifactId> - <version>2.6</version> - <executions> - <execution> - <id>default-jar</id> - <phase>none</phase> - </execution> - </executions> - </plugin> + <artifactId>maven-source-plugin</artifactId> + <version>2.4</version> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <version>2.5.5</version> - <configuration> - <descriptorRefs> - <descriptorRef>jar-with-dependencies</descriptorRef> - </descriptorRefs> - <appendAssemblyId>false</appendAssemblyId> - </configuration> <executions> <execution> - <id>make-assembly</id> - <phase>package</phase> + <id>attach-sources</id> + <phase>verify</phase> <goals> - <goal>single</goal> + <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> + + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <version>2.6</version> + </plugin> </plugins> </build> |