Author: vanto
Date: Fri Jan 14 18:56:39 2011
New Revision: 1059110
URL: http://svn.apache.org/viewvc?rev=1059110&view=rev
Log:
make nexus and buildr release happy.
Modified:
ode/trunk/Rakefile
Modified: ode/trunk/Rakefile
URL:
http://svn.apache.org/viewvc/ode/trunk/Rakefile?rev=1059110&r1=1059109&r2=1059110&view=diff
==============================================================================
--- ode/trunk/Rakefile (original)
+++ ode/trunk/Rakefile Fri Jan 14 18:56:39 2011
@@ -480,14 +480,12 @@ define "ode" do
bnd['-exportcontents'] = ""
bnd['Include-Resource'] = _('src/main/resources')
end
+ # we package sources and javadocs separately to give them a custom id
+ package(:sources, :id => "helloworld-bundle")
# This project does not contain java classes, hence there are no
javadocs.
# But since Nexus will complain about a missing javadoc artifact, we
make sure that an empty one is created.
- package(:javadoc).enhance { mkdir_p _("target/doc") }
-
- # we package sources and javadocs separately to give them a custom id
- package(:sources, :id => "helloworld-bundle")
- package(:javadoc, :id => "helloworld-bundle")
+ package(:javadoc, :id => "helloworld-bundle").enhance { mkdir_p
_("target/doc") }
end
define "ping-pong-osgi" do