Maven Gemify does not work on Windows
-------------------------------------

                 Key: JRUBY-5706
                 URL: http://jira.codehaus.org/browse/JRUBY-5706
             Project: JRuby
          Issue Type: Bug
          Components: Windows
    Affects Versions: JRuby 1.6
            Reporter: Thomas E Enebo


Given this test (derived from four failing specs on Windows in our internal 
specs):

{noformat}
require 'rubygems'
require 'rubygems/format'
require 'rubygems/maven_gemify'
require 'yaml'

Gem::Maven::Gemify.verbose = true
gemify = Gem::Maven::Gemify.new
specfile = gemify.generate_spec("mvn:commons-lang:commons-lang", "2.5.0")
p specfile
{noformat}

You will see that it does not generate a specfile:

{noformat}
C:\opt\jruby.cygwin>bin\jruby test.rb
Using Maven install at c:/opt/apache-maven-3.0.2/bin
active profiles:
        []
maven goals:
        de.saumya.mojo:gemify-maven-plugin:0.26.0:gemify
system properties:
        gemify.tempDir => C:\Users\enebo\AppData\Local\Temp\gemify26893178728681
39682
        gemify.skipDependencies => true
        gemify.version => 2.5.0
        gemify.gemname => mvn:commons-lang:commons-lang
        gemify.onlySpecs => true

RESULT = Failed to execute goal de.saumya.mojo:gemify-maven-plugin:0.26.0:gemify
 (default-cli) on project standalone-pom: error converting artifact MavenProject
: commons-lang:commons-lang:2.5 @
nil
{noformat}

>From a cursory glance I would guess the mojo itself does not like what it is 
>receiving...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to