make nexus and buildr release happy.
git-svn-id: https://svn.apache.org/repos/asf/ode/branches/ode-1.3.5.x@1059036 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/Rakefile b/Rakefile
index 7a4d43c..c7ce096 100644
--- a/Rakefile
+++ b/Rakefile
@@ -474,14 +474,12 @@
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