Permalink
Browse files

cleanup

  • Loading branch information...
1 parent d4f3722 commit 68d7962bfb5955706deae4b18734c50c9d304b9d @mkristian committed Jul 28, 2010
Showing with 10 additions and 6 deletions.
  1. +10 −6 pom.xml
View
16 pom.xml
@@ -75,7 +75,13 @@
<groupId>de.saumya.mojo</groupId>
<artifactId>gem-maven-plugin</artifactId>
<version>${jruby.plugins.version}</version>
- <extensions>true</extensions>
+ <extensions>true</extensions>
+ <configuration>
+ <rdocOptions>--main, README.txt</rdocOptions>
+ <extraRdocFiles>History.txt, README.txt</extraRdocFiles>
+ <extraFiles>Rakefile</extraFiles>
+ <gemspecOverwrite>true</gemspecOverwrite>
+ </configuration>
</plugin>
<plugin>
<groupId>de.saumya.mojo</groupId>
@@ -86,9 +92,6 @@
<goals>
<goal>test</goal>
</goals>
- <configuration>
- <specSourceDirectory>spec</specSourceDirectory>
- </configuration>
</execution>
</executions>
</plugin>
@@ -104,8 +107,9 @@
</goals>
<configuration>
<script>
+ version = '${project.version}'.sub(/-SNAPSHOT/, '')
puts "module Slf4r"
- puts " VERSION = '${project.version}'".sub(/-SNAPSHOT/, '')
+ puts " VERSION = '#{version}'.freeze"
puts "end"
</script>
<outputFile>lib/slf4r/version.rb</outputFile>
@@ -117,6 +121,6 @@
</build>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <jruby.plugins.version>0.20.0-SNAPSHOT</jruby.plugins.version>
+ <jruby.plugins.version>0.20.0</jruby.plugins.version>
</properties>
</project>

0 comments on commit 68d7962

Please sign in to comment.