[build] get the javadoc for jruby-complete and -Psnapshots in place again
This commit is contained in:
parent
102da2f66b
commit
697d33e2fd
|
@ -81,8 +81,7 @@ project 'JRuby Complete' do
|
|||
|
||||
# use the javadocs and sources from jruby-core !!!
|
||||
phase :package do
|
||||
set = ['sources']
|
||||
set << 'javadocs' if name != 'snapshots'
|
||||
set = ['sources', 'javadoc' ]
|
||||
plugin :dependency do
|
||||
items = set.collect do |classifier|
|
||||
{ 'groupId' => '${project.groupId}',
|
||||
|
|
6
pom.rb
6
pom.rb
|
@ -108,6 +108,7 @@ project 'JRuby', 'https://github.com/jruby/jruby' do
|
|||
plugin :assembly, '2.4'
|
||||
plugin :install, '2.4'
|
||||
plugin :deploy, '2.7'
|
||||
plugin :javadoc, '2.7'
|
||||
plugin :resources, '2.6'
|
||||
plugin :clean, '2.5'
|
||||
plugin :dependency, '2.8'
|
||||
|
@ -284,9 +285,12 @@ project 'JRuby', 'https://github.com/jruby/jruby' do
|
|||
default_goal :deploy
|
||||
end
|
||||
|
||||
plugin(:source, '2.1.2') do
|
||||
plugin(:source) do
|
||||
execute_goals('jar-no-fork', :id => 'attach-sources')
|
||||
end
|
||||
plugin(:javadoc) do
|
||||
execute_goals('jar', :id => 'attach-javadocs')
|
||||
end
|
||||
end
|
||||
|
||||
profile 'single invoker test' do
|
||||
|
|
16
pom.xml
16
pom.xml
|
@ -235,6 +235,10 @@ DO NOT MODIFIY - GENERATED CODE
|
|||
<artifactId>maven-deploy-plugin</artifactId>
|
||||
<version>2.7</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.7</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
|
@ -821,7 +825,6 @@ DO NOT MODIFIY - GENERATED CODE
|
|||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>2.1.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
|
@ -831,6 +834,17 @@ DO NOT MODIFIY - GENERATED CODE
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<modules>
|
||||
|
|
Loading…
Reference in New Issue