You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by va...@apache.org on 2011/01/14 16:10:16 UTC

svn commit: r1059036 - /ode/branches/ode-1.3.5.x/Rakefile

Author: vanto
Date: Fri Jan 14 15:10:16 2011
New Revision: 1059036

URL: http://svn.apache.org/viewvc?rev=1059036&view=rev
Log:
make nexus and buildr release happy.

Modified:
    ode/branches/ode-1.3.5.x/Rakefile

Modified: ode/branches/ode-1.3.5.x/Rakefile
URL: http://svn.apache.org/viewvc/ode/branches/ode-1.3.5.x/Rakefile?rev=1059036&r1=1059035&r2=1059036&view=diff
==============================================================================
--- ode/branches/ode-1.3.5.x/Rakefile (original)
+++ ode/branches/ode-1.3.5.x/Rakefile Fri Jan 14 15:10:16 2011
@@ -474,14 +474,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