jruby / jruby-maven-plugins

maven plugin to handle rubygems in a maven way. including support for rspec, rails, cucumber, rake, etc
MIT License
112 stars 46 forks source link

NPE on gem-maven-plugin initialize #45

Closed sheeley closed 11 years ago

sheeley commented 11 years ago

Hey, I just started playing with the gem maven last night (so I may be missing something), and I'm getting this NPE:

mvn -X -U clean install
Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
Maven home: /usr/share/maven
Java version: 1.6.0_43, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.8.3", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
[DEBUG] Reading user settings from /Users/jsheeley/.m2/settings.xml
[DEBUG] Using local repository at /Users/jsheeley/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for /Users/jsheeley/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.test.presentation:scss:jar:0.0.1-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.test.presentation:scss:jar:0.0.1-SNAPSHOT
[DEBUG] Tasks:   [clean, install]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building scss 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       com.test.presentation:scss:0.0.1-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, runtime, test]
[DEBUG] Repositories (dependencies): [rubygems-release (http://rubygems-proxy.torquebox.org/releases, releases+snapshots), central (http://repo1.maven.org/maven2, releases)]
[DEBUG] Repositories (plugins)     : [central (http://repo1.maven.org/maven2, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <directory default-value="${project.build.directory}"/>
  <excludeDefaultDirectories default-value="false">${clean.excludeDefaultDirectories}</excludeDefaultDirectories>
  <failOnError default-value="true">${maven.clean.failOnError}</failOnError>
  <followSymLinks default-value="false">${clean.followSymLinks}</followSymLinks>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <reportDirectory default-value="${project.reporting.outputDirectory}"/>
  <skip default-value="false">${clean.skip}</skip>
  <testOutputDirectory default-value="${project.build.testOutputDirectory}"/>
  <verbose>${clean.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          de.saumya.mojo:gem-maven-plugin:0.29.1:initialize (default)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <args>${args}</args>
  <binDirectory>${gem.binDirectory}</binDirectory>
  <classRealm>${dummyExpression}</classRealm>
  <gemHome default-value="${project.build.directory}/rubygems">${gem.home}</gemHome>
  <gemPath default-value="${project.build.directory}/rubygems">${gem.path}</gemPath>
  <gemUseSystem default-value="false">${gem.useSystem}</gemUseSystem>
  <includeOpenSSL default-value="true">${gem.includeOpenSSL}</includeOpenSSL>
  <includeRubygemsInTestResources default-value="true">${gem.includeRubygemsInTestResources}</includeRubygemsInTestResources>
  <installRDoc default-value="false">${gem.installRDoc}</installRDoc>
  <installRI default-value="false">${gem.installRI}</installRI>
  <jrubyFork default-value="true">${jruby.fork}</jrubyFork>
  <jrubyJvmArgs>${jruby.jvmargs}</jrubyJvmArgs>
  <jrubySwitches>${jruby.switches}</jrubySwitches>
  <jrubyVerbose default-value="false">${jruby.verbose}</jrubyVerbose>
  <jrubyVersion>${jruby.version}</jrubyVersion>
  <launchDirectory default-value="${project.basedir}">${jruby.launchDirectory}</launchDirectory>
  <libDirectory default-value="lib">${jruby.lib}</libDirectory>
  <localRepository default-value="${localRepository}"/>
  <plugin>${plugin}</plugin>
  <project>${project}</project>
  <rubySourceDirectory default-value="src/main/ruby">${jruby.sourceDirectory}</rubySourceDirectory>
  <supportNative default-value="false">${gem.supportNative}</supportNative>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources (default-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <buildFilters default-value="${project.build.filters}"/>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString default-value="${maven.resources.escapeString}"/>
  <escapeWindowsPaths default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
  <includeEmptyDirs default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project default-value="${project}"/>
  <resources default-value="${project.resources}"/>
  <session default-value="${session}"/>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir default-value="${basedir}"/>
  <buildDirectory default-value="${project.build.directory}"/>
  <classpathElements default-value="${project.compileClasspathElements}"/>
  <compileSourceRoots default-value="${project.compileSourceRoots}"/>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <fork default-value="false">${maven.compiler.fork}</fork>
  <generatedSourcesDirectory default-value="${project.build.directory}/generated-sources/annotations"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <outputFileName>${project.build.finalName}</outputFileName>
  <projectArtifact default-value="${project.artifact}"/>
  <session default-value="${session}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <source default-value="1.5">${maven.compiler.source}</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.5">${maven.compiler.target}</target>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:2.4.3:testResources (default-testResources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <buildFilters default-value="${project.build.filters}"/>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <escapeString default-value="${maven.resources.escapeString}"/>
  <escapeWindowsPaths default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
  <includeEmptyDirs default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project default-value="${project}"/>
  <resources>${project.testResources}</resources>
  <session default-value="${session}"/>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir default-value="${basedir}"/>
  <buildDirectory default-value="${project.build.directory}"/>
  <classpathElements default-value="${project.testClasspathElements}"/>
  <compileSourceRoots default-value="${project.testCompileSourceRoots}"/>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <fork default-value="false">${maven.compiler.fork}</fork>
  <generatedTestSourcesDirectory default-value="${project.build.directory}/generated-sources/test-annotations"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.testOutputDirectory}"/>
  <outputFileName>${project.build.finalName}</outputFileName>
  <session default-value="${session}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skip>${maven.test.skip}</skip>
  <source default-value="1.5">${maven.compiler.source}</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.5">${maven.compiler.target}</target>
  <testSource>${maven.compiler.testSource}</testSource>
  <testTarget>${maven.compiler.testTarget}</testTarget>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <argLine>${argLine}</argLine>
  <basedir default-value="${basedir}"/>
  <childDelegation default-value="false">${childDelegation}</childDelegation>
  <classesDirectory default-value="${project.build.outputDirectory}"/>
  <debugForkedProcess>${maven.surefire.debug}</debugForkedProcess>
  <disableXmlReport default-value="false">${disableXmlReport}</disableXmlReport>
  <enableAssertions default-value="true">${enableAssertions}</enableAssertions>
  <excludedGroups>${excludedGroups}</excludedGroups>
  <failIfNoTests>${failIfNoTests}</failIfNoTests>
  <forkMode default-value="once">${forkMode}</forkMode>
  <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
  <groups>${groups}</groups>
  <junitArtifactName default-value="junit:junit">${junitArtifactName}</junitArtifactName>
  <jvm>${jvm}</jvm>
  <localRepository>${localRepository}</localRepository>
  <objectFactory>${objectFactory}</objectFactory>
  <parallel>${parallel}</parallel>
  <parallelMavenExecution default-value="${session.parallel}"/>
  <perCoreThreadCount default-value="true">${perCoreThreadCount}</perCoreThreadCount>
  <pluginArtifactMap>${plugin.artifactMap}</pluginArtifactMap>
  <printSummary default-value="true">${surefire.printSummary}</printSummary>
  <project default-value="${project}"/>
  <projectArtifactMap>${project.artifactMap}</projectArtifactMap>
  <redirectTestOutputToFile default-value="false">${maven.test.redirectTestOutputToFile}</redirectTestOutputToFile>
  <remoteRepositories>${project.pluginArtifactRepositories}</remoteRepositories>
  <reportFormat default-value="brief">${surefire.reportFormat}</reportFormat>
  <reportsDirectory default-value="${project.build.directory}/surefire-reports"/>
  <runOrder default-value="filesystem"/>
  <session>${session}</session>
  <skip default-value="false">${maven.test.skip}</skip>
  <skipExec>${maven.test.skip.exec}</skipExec>
  <skipTests default-value="false">${skipTests}</skipTests>
  <test>${test}</test>
  <testClassesDirectory default-value="${project.build.testOutputDirectory}"/>
  <testFailureIgnore default-value="false">${maven.test.failure.ignore}</testFailureIgnore>
  <testNGArtifactName default-value="org.testng:testng">${testNGArtifactName}</testNGArtifactName>
  <testSourceDirectory default-value="${project.build.testSourceDirectory}"/>
  <threadCount>${threadCount}</threadCount>
  <trimStackTrace default-value="true">${trimStackTrace}</trimStackTrace>
  <useFile default-value="true">${surefire.useFile}</useFile>
  <useManifestOnlyJar default-value="true">${surefire.useManifestOnlyJar}</useManifestOnlyJar>
  <useSystemClassLoader default-value="true">${surefire.useSystemClassLoader}</useSystemClassLoader>
  <useUnlimitedThreads default-value="false">${useUnlimitedThreads}</useUnlimitedThreads>
  <workingDirectory>${basedir}</workingDirectory>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar (default-jar)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <classesDirectory>${project.build.outputDirectory}</classesDirectory>
  <defaultManifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</defaultManifestFile>
  <finalName default-value="${project.build.finalName}">${jar.finalName}</finalName>
  <forceCreation default-value="false">${jar.forceCreation}</forceCreation>
  <outputDirectory>${project.build.directory}</outputDirectory>
  <project>${project}</project>
  <useDefaultManifestFile default-value="false">${jar.useDefaultManifestFile}</useDefaultManifestFile>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <artifact default-value="${project.artifact}"/>
  <attachedArtifacts default-value="${project.attachedArtifacts}"/>
  <createChecksum default-value="false">${createChecksum}</createChecksum>
  <localRepository>${localRepository}</localRepository>
  <packaging default-value="${project.packaging}"/>
  <pomFile default-value="${project.file}"/>
  <updateReleaseInfo default-value="false">${updateReleaseInfo}</updateReleaseInfo>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Could not find metadata com.github.jnr:jffi/maven-metadata.xml in local (/Users/jsheeley/.m2/repository)
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://repo1.maven.org/maven2
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for https://oss.sonatype.org/content/repositories/snapshots
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://rubygems-proxy.torquebox.org/releases
Downloading: http://repo1.maven.org/maven2/com/github/jnr/jffi/maven-metadata.xml
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml
Downloading: http://rubygems-proxy.torquebox.org/releases/com/github/jnr/jffi/maven-metadata.xml
Downloaded: http://repo1.maven.org/maven2/com/github/jnr/jffi/maven-metadata.xml (574 B at 4.2 KB/sec)
[DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties
[DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties
[DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties
[DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties
Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml (361 B at 0.4 KB/sec)
[DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties
[DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties
[DEBUG] Could not find metadata com.github.jnr:jffi/maven-metadata.xml in rubygems-release (http://rubygems-proxy.torquebox.org/releases)
[DEBUG] Could not find metadata com.github.jnr:jffi/maven-metadata.xml in local (/Users/jsheeley/.m2/repository)
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for https://oss.sonatype.org/content/repositories/snapshots
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://repo1.maven.org/maven2
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://rubygems-proxy.torquebox.org/releases
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml
Downloading: http://repo1.maven.org/maven2/com/github/jnr/jffi/maven-metadata.xml
Downloading: http://rubygems-proxy.torquebox.org/releases/com/github/jnr/jffi/maven-metadata.xml
Downloaded: http://repo1.maven.org/maven2/com/github/jnr/jffi/maven-metadata.xml (574 B at 10.0 KB/sec)
[DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties
[DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties
[DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties
[DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties
Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml (361 B at 0.5 KB/sec)
[DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties
[DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties
[DEBUG] Could not find metadata com.github.jnr:jffi/maven-metadata.xml in rubygems-release (http://rubygems-proxy.torquebox.org/releases)
[DEBUG] Could not find metadata com.github.jnr:jnr-x86asm/maven-metadata.xml in local (/Users/jsheeley/.m2/repository)
[DEBUG] [DEBUG] Using connector WagonRepositoryConnector with priority 0 for https://oss.sonatype.org/content/repositories/snapshots
[DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://repo1.maven.org/maven2
Using connector WagonRepositoryConnector with priority 0 for http://rubygems-proxy.torquebox.org/releases
Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jnr-x86asm/maven-metadata.xml
Downloading: http://repo1.maven.org/maven2/com/github/jnr/jnr-x86asm/maven-metadata.xml
Downloading: http://rubygems-proxy.torquebox.org/releases/com/github/jnr/jnr-x86asm/maven-metadata.xml
Downloaded: http://repo1.maven.org/maven2/com/github/jnr/jnr-x86asm/maven-metadata.xml (362 B at 3.5 KB/sec)
[DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jnr-x86asm/resolver-status.properties
[DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jnr-x86asm/resolver-status.properties
[DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jnr-x86asm/resolver-status.properties
[DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jnr-x86asm/resolver-status.properties
[DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jnr-x86asm/resolver-status.properties
[DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jnr-x86asm/resolver-status.properties
[DEBUG] Could not find metadata com.github.jnr:jnr-x86asm/maven-metadata.xml in rubygems-release (http://rubygems-proxy.torquebox.org/releases)
[DEBUG] Could not find metadata com.github.jnr:jnr-x86asm/maven-metadata.xml in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots)
[DEBUG] com.test.presentation:scss:jar:0.0.1-SNAPSHOT
[DEBUG]    commons-io:commons-io:jar:2.4:compile
[DEBUG]    org.jruby:jruby-core:jar:1.7.0.RC1:compile
[DEBUG]       org.jruby:jruby-stdlib:jar:1.7.0.RC1:compile
[DEBUG]       org.jruby.joni:joni:jar:1.1.8:compile
[DEBUG]       com.github.jnr:jnr-netdb:jar:1.1.1:compile
[DEBUG]       com.github.jnr:jnr-unixsocket:jar:0.1:compile
[DEBUG]          com.github.jnr:jnr-enxio:jar:0.2:compile
[DEBUG]       com.github.jnr:jnr-posix:jar:2.3.0:compile
[DEBUG]       org.jruby.extras:bytelist:jar:1.0.10:compile
[DEBUG]       com.github.jnr:jnr-constants:jar:0.8.4:compile
[DEBUG]       org.jruby.jcodings:jcodings:jar:1.0.9:compile
[DEBUG]       com.github.jnr:jffi:jar:1.2.5:compile
[DEBUG]       org.yaml:snakeyaml:jar:1.10:compile
[DEBUG]       jline:jline:jar:2.7:compile
[DEBUG]       joda-time:joda-time:jar:2.1:compile
[DEBUG]       com.jcraft:jzlib:jar:1.1.1:compile
[DEBUG]       org.bouncycastle:bcmail-jdk15on:jar:1.46:compile
[DEBUG]          org.bouncycastle:bcprov-jdk15on:jar:1.46:compile
[DEBUG]       com.github.jnr:jnr-ffi:jar:0.7.7:compile
[DEBUG]          com.github.jnr:jffi:jar:native:1.2.6:runtime
[DEBUG]          com.github.jnr:jnr-x86asm:jar:1.0.2:compile
[DEBUG]    rubygems:sass:gem:3.2.7:compile
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ scss ---
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.sonatype.aether.transfer < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.sonatype.aether.metadata < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.sonatype.aether.collection < plexus.core
[DEBUG]   Imported: org.sonatype.aether.version < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.sonatype.aether.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.sonatype.aether.artifact < plexus.core
[DEBUG]   Imported: org.sonatype.aether.spi < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.sonatype.aether.graph < plexus.core
[DEBUG]   Imported: org.sonatype.aether.* < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.sonatype.aether.impl < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.sonatype.aether.deployment < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.sonatype.aether.installation < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.sonatype.aether.resolution < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG] Populating class realm maven.api
[DEBUG] org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:2.0.6:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:2.0.5:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1
[DEBUG]   Included: org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.5
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1, parent: sun.misc.Launcher$AppClassLoader@1d9f953d]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean' with basic configurator -->
[DEBUG]   (f) directory = /Users/jsheeley/git/java-sass/target
[DEBUG]   (f) excludeDefaultDirectories = false
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) followSymLinks = false
[DEBUG]   (f) outputDirectory = /Users/jsheeley/git/java-sass/target/classes
[DEBUG]   (f) reportDirectory = /Users/jsheeley/git/java-sass/target/site
[DEBUG]   (f) skip = false
[DEBUG]   (f) testOutputDirectory = /Users/jsheeley/git/java-sass/target/test-classes
[DEBUG] -- end configuration --
[DEBUG] Skipping non-existing directory /Users/jsheeley/git/java-sass/target
[DEBUG] Skipping non-existing directory /Users/jsheeley/git/java-sass/target/classes
[DEBUG] Skipping non-existing directory /Users/jsheeley/git/java-sass/target/test-classes
[DEBUG] Skipping non-existing directory /Users/jsheeley/git/java-sass/target/site
[INFO]
[INFO] --- gem-maven-plugin:0.29.1:initialize (default) @ scss ---
[DEBUG] de.saumya.mojo:gem-maven-plugin:jar:0.29.1:
[DEBUG]    de.saumya.mojo:jruby-maven-plugin:jar:0.29.1:compile
[DEBUG]       de.saumya.mojo:ruby-tools:jar:0.29.1:compile
[DEBUG]          ant:ant:jar:1.6.5:compile
[DEBUG]          org.codehaus.plexus:plexus-archiver:jar:1.2:compile
[DEBUG]             org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
[DEBUG]                junit:junit:jar:3.8.1:compile
[DEBUG]                classworlds:classworlds:jar:1.1-alpha-2:compile
[DEBUG]             org.codehaus.plexus:plexus-io:jar:1.0.1:compile
[DEBUG]          de.saumya.mojo:maven-tools:jar:0.29.0:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.0.3:compile
[DEBUG]       org.apache.maven:maven-model:jar:3.0.3:compile
[DEBUG]       org.sonatype.sisu:sisu-inject-plexus:jar:2.1.1:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-bean:jar:2.1.1:compile
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:no_aop:2.9.4:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.0.3:compile
[DEBUG]       org.apache.maven:maven-settings:jar:3.0.3:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.0.3:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.0.3:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.0.3:compile
[DEBUG]       org.apache.maven:maven-aether-provider:jar:3.0.3:compile
[DEBUG]          org.sonatype.aether:aether-spi:jar:1.11:compile
[DEBUG]       org.sonatype.aether:aether-impl:jar:1.11:compile
[DEBUG]       org.sonatype.aether:aether-api:jar:1.11:compile
[DEBUG]       org.sonatype.aether:aether-util:jar:1.11:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:2.0.6:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.4:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:3.0.3:compile
[DEBUG] Created new class realm plugin>de.saumya.mojo:gem-maven-plugin:0.29.1
[DEBUG] Importing foreign packages into class realm plugin>de.saumya.mojo:gem-maven-plugin:0.29.1
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>de.saumya.mojo:gem-maven-plugin:0.29.1
[DEBUG]   Included: de.saumya.mojo:gem-maven-plugin:jar:0.29.1
[DEBUG]   Included: de.saumya.mojo:jruby-maven-plugin:jar:0.29.1
[DEBUG]   Included: de.saumya.mojo:ruby-tools:jar:0.29.1
[DEBUG]   Included: ant:ant:jar:1.6.5
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:1.2
[DEBUG]   Included: junit:junit:jar:3.8.1
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:1.0.1
[DEBUG]   Included: de.saumya.mojo:maven-tools:jar:0.29.0
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:2.1.1
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:no_aop:2.9.4
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.11
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.6
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
[DEBUG]   Excluded: classworlds:classworlds:jar:1.1-alpha-2
[DEBUG]   Excluded: org.apache.maven:maven-plugin-api:jar:3.0.3
[DEBUG]   Excluded: org.apache.maven:maven-model:jar:3.0.3
[DEBUG]   Excluded: org.sonatype.sisu:sisu-inject-plexus:jar:2.1.1
[DEBUG]   Excluded: org.apache.maven:maven-core:jar:3.0.3
[DEBUG]   Excluded: org.apache.maven:maven-settings:jar:3.0.3
[DEBUG]   Excluded: org.apache.maven:maven-settings-builder:jar:3.0.3
[DEBUG]   Excluded: org.apache.maven:maven-repository-metadata:jar:3.0.3
[DEBUG]   Excluded: org.apache.maven:maven-model-builder:jar:3.0.3
[DEBUG]   Excluded: org.apache.maven:maven-aether-provider:jar:3.0.3
[DEBUG]   Excluded: org.sonatype.aether:aether-spi:jar:1.11
[DEBUG]   Excluded: org.sonatype.aether:aether-impl:jar:1.11
[DEBUG]   Excluded: org.sonatype.aether:aether-api:jar:1.11
[DEBUG]   Excluded: org.codehaus.plexus:plexus-classworlds:jar:2.4
[DEBUG]   Excluded: org.apache.maven:maven-artifact:jar:3.0.3
[DEBUG] Configuring mojo de.saumya.mojo:gem-maven-plugin:0.29.1:initialize from plugin realm ClassRealm[plugin>de.saumya.mojo:gem-maven-plugin:0.29.1, parent: sun.misc.Launcher$AppClassLoader@1d9f953d]
[DEBUG] Configuring mojo 'de.saumya.mojo:gem-maven-plugin:0.29.1:initialize' with basic configurator -->
[DEBUG]   (f) classRealm = org.codehaus.classworlds.ClassRealmAdapter@540a6997
[DEBUG]   (f) gemHome = /Users/jsheeley/git/java-sass/target/rubygems
[DEBUG]   (f) gemPath = /Users/jsheeley/git/java-sass/target/rubygems
[DEBUG]   (f) gemUseSystem = false
[DEBUG]   (f) includeOpenSSL = true
[DEBUG]   (f) includeRubygemsInTestResources = true
[DEBUG]   (f) installRDoc = false
[DEBUG]   (f) installRI = false
[DEBUG]   (f) jrubyFork = true
[DEBUG]   (f) jrubyVerbose = false
[DEBUG]   (f) launchDirectory = /Users/jsheeley/git/java-sass
[DEBUG]   (f) libDirectory = /Users/jsheeley/git/java-sass/lib
[DEBUG]   (f) localRepository =        id: local
      url: file:///Users/jsheeley/.m2/repository/
   layout: none

[DEBUG]   (f) plugin = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.ListMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:list'
role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.PomMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:pom'
role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.GemMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:gem'
role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.InstallMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:install'
role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.GemifyMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:gemify'
role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.PackageMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:package'
role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.InitializeMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:initialize'
role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.PushMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:push'
role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.SpecMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:spec'
role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.ExecuteInPhaseMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:execute_in_phase'
role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.HelpMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:help'
role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.IrbMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:irb'
role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.ExecMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:exec'

---
[DEBUG]   (f) project = MavenProject: com.test.presentation:scss:0.0.1-SNAPSHOT @ /Users/jsheeley/git/java-sass/pom.xml
[DEBUG]   (f) rubySourceDirectory = /Users/jsheeley/git/java-sass/src/main/ruby
[DEBUG]   (f) supportNative = false
[DEBUG] -- end configuration --
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.953s
[INFO] Finished at: Tue Apr 02 23:12:25 PDT 2013
[INFO] Final Memory: 7M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:0.29.1:initialize (default) on project scss: Execution default of goal de.saumya.mojo:gem-maven-plugin:0.29.1:initialize failed. NullPointerException -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.saumya.mojo:gem-maven-plugin:0.29.1:initialize (default) on project scss: Execution default of goal de.saumya.mojo:gem-maven-plugin:0.29.1:initialize failed.
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal de.saumya.mojo:gem-maven-plugin:0.29.1:initialize failed.
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    ... 19 more
Caused by: java.lang.NullPointerException
    at de.saumya.mojo.gem.AbstractGemMojo.newScriptFactory(AbstractGemMojo.java:161)
    at de.saumya.mojo.jruby.AbstractJRubyMojo.newScriptFactory(AbstractJRubyMojo.java:160)
    at de.saumya.mojo.jruby.AbstractJRubyMojo.execute(AbstractJRubyMojo.java:202)
    at de.saumya.mojo.gem.AbstractGemMojo.execute(AbstractGemMojo.java:155)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    ... 20 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

Here's my pom:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <groupId>com.test</groupId>
    <artifactId>scss</artifactId>
    <version>0.0.1-SNAPSHOT</version>

    <repositories>
        <repository>
            <id>rubygems-release</id>
            <url>http://rubygems-proxy.torquebox.org/releases</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>commons-io</groupId>
            <artifactId>commons-io</artifactId>
            <version>2.4</version>
        </dependency>
        <dependency>
            <groupId>org.jruby</groupId>
            <artifactId>jruby-complete</artifactId>
            <version>1.7.0.RC1</version>
        </dependency>
        <!-- <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId>
            <version>1.6.4</version> </dependency> -->
        <dependency>
            <groupId>rubygems</groupId>
            <artifactId>sass</artifactId>
            <version>3.2.7</version>
            <type>gem</type>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>de.saumya.mojo</groupId>
                <artifactId>gem-maven-plugin</artifactId>
                <version>0.29.1</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>initialize</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
        <pluginManagement>
            <plugins>
                <!--This plugin's configuration is used to store Eclipse m2e settings
                    only. It has no influence on the Maven build itself. -->
                <plugin>
                    <groupId>org.eclipse.m2e</groupId>
                    <artifactId>lifecycle-mapping</artifactId>
                    <version>1.0.0</version>
                    <configuration>
                        <lifecycleMappingMetadata>
                            <pluginExecutions>
                                <pluginExecution>
                                    <pluginExecutionFilter>
                                        <groupId>
                                            de.saumya.mojo
                                        </groupId>
                                        <artifactId>
                                            gem-maven-plugin
                                        </artifactId>
                                        <versionRange>
                                            [0.29.1,)
                                        </versionRange>
                                        <goals>
                                            <goal>initialize</goal>
                                        </goals>
                                    </pluginExecutionFilter>
                                    <action>
                                        <execute></execute>
                                    </action>
                                </pluginExecution>
                            </pluginExecutions>
                        </lifecycleMappingMetadata>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
    </build>
</project>
mkristian commented 11 years ago

please use gem-maven-plugin version 1.0.0-beta/ http://repo1.maven.org/maven2/de/saumya/mojo/gem-maven-plugin/1.0.0-beta/

at $ mvn initialize works with me and your pom

On Wed, Apr 3, 2013 at 10:10 PM, Johnny Sheeley notifications@github.comwrote:

Hey, I just started playing with the gem maven last night (so I may be missing something), and I'm getting this NPE:

mvn -X -U clean install Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) Maven home: /usr/share/maven Java version: 1.6.0_43, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x", version: "10.8.3", arch: "x86_64", family: "mac" [INFO] Error stacktraces are turned on. [DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml [DEBUG] Reading user settings from /Users/jsheeley/.m2/settings.xml [DEBUG] Using local repository at /Users/jsheeley/.m2/repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10 for /Users/jsheeley/.m2/repository [INFO] Scanning for projects... [DEBUG] Extension realms for project com.test.presentation:scss:jar:0.0.1-SNAPSHOT: (none) [DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null] [DEBUG] === REACTOR BUILD PLAN ================================================ [DEBUG] Project: com.test.presentation:scss:jar:0.0.1-SNAPSHOT [DEBUG] Tasks: [clean, install] [DEBUG] Style: Regular [DEBUG] ======================================================================= [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building scss 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] [DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] [DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] [DEBUG] === PROJECT BUILD PLAN ================================================ [DEBUG] Project: com.test.presentation:scss:0.0.1-SNAPSHOT [DEBUG] Dependencies (collect): [] [DEBUG] Dependencies (resolve): [compile, runtime, test] [DEBUG] Repositories (dependencies): [rubygems-release (http://rubygems-proxy.torquebox.org/releases, releases+snapshots), central (http://repo1.maven.org/maven2, releases)] [DEBUG] Repositories (plugins) : [central (http://repo1.maven.org/maven2, releases)] [DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${clean.excludeDefaultDirectories} ${maven.clean.failOnError} ${clean.followSymLinks} ${clean.skip} ${clean.verbose}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: de.saumya.mojo:gem-maven-plugin:0.29.1:initialize (default) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${args} ${gem.binDirectory} ${dummyExpression} ${gem.home} ${gem.path} ${gem.useSystem} ${gem.includeOpenSSL} ${gem.includeRubygemsInTestResources} ${gem.installRDoc} ${gem.installRI} ${jruby.fork} ${jruby.jvmargs} ${jruby.switches} ${jruby.verbose} ${jruby.version} ${jruby.launchDirectory} ${jruby.lib} ${plugin} ${project} ${jruby.sourceDirectory} ${gem.supportNative}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources (default-resources) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${encoding} ${maven.resources.escapeWindowsPaths} ${maven.resources.includeEmptyDirs} ${maven.resources.overwrite}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${maven.compiler.compilerId} ${maven.compiler.compilerVersion} ${maven.compiler.debug} ${maven.compiler.debuglevel} ${encoding} ${maven.compiler.executable} ${maven.compiler.failOnError} ${maven.compiler.fork} ${maven.compiler.maxmem} ${maven.compiler.meminitial} ${maven.compiler.optimize} ${project.build.finalName} ${maven.compiler.showDeprecation} ${maven.compiler.showWarnings} ${maven.compiler.source} ${lastModGranularityMs} ${maven.compiler.target} ${maven.compiler.verbose}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:2.4.3:testResources (default-testResources) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${encoding} ${maven.resources.escapeWindowsPaths} ${maven.resources.includeEmptyDirs} ${project.build.testOutputDirectory} ${maven.resources.overwrite} ${project.testResources}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${maven.compiler.compilerId} ${maven.compiler.compilerVersion} ${maven.compiler.debug} ${maven.compiler.debuglevel} ${encoding} ${maven.compiler.executable} ${maven.compiler.failOnError} ${maven.compiler.fork} ${maven.compiler.maxmem} ${maven.compiler.meminitial} ${maven.compiler.optimize} ${project.build.finalName} ${maven.compiler.showDeprecation} ${maven.compiler.showWarnings} ${maven.test.skip} ${maven.compiler.source} ${lastModGranularityMs} ${maven.compiler.target} ${maven.compiler.testSource} ${maven.compiler.testTarget} ${maven.compiler.verbose}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:2.7.2:test (default-test) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${argLine} ${childDelegation} ${maven.surefire.debug} ${disableXmlReport} ${enableAssertions} ${excludedGroups} ${failIfNoTests} ${forkMode} ${surefire.timeout} ${groups} ${junitArtifactName} ${jvm} ${localRepository} ${objectFactory} ${parallel} ${perCoreThreadCount} ${plugin.artifactMap} ${surefire.printSummary} ${project.artifactMap} ${maven.test.redirectTestOutputToFile} ${project.pluginArtifactRepositories} ${surefire.reportFormat} ${session} ${maven.test.skip} ${maven.test.skip.exec} ${skipTests} ${test} ${maven.test.failure.ignore} ${testNGArtifactName} ${threadCount} ${trimStackTrace} ${surefire.useFile} ${surefire.useManifestOnlyJar} ${surefire.useSystemClassLoader} ${useUnlimitedThreads} ${basedir}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-jar-plugin:2.3.1:jar (default-jar) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${project.build.outputDirectory} ${project.build.outputDirectory}/META-INF/MANIFEST.MF ${jar.finalName} ${jar.forceCreation} ${project.build.directory} ${project} ${jar.useDefaultManifestFile}

[DEBUG] ----------------------------------------------------------------------- [DEBUG] Goal: org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) [DEBUG] Style: Regular [DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>

${createChecksum} ${localRepository} ${updateReleaseInfo}

[DEBUG] ======================================================================= [DEBUG] Could not find metadata com.github.jnr:jffi/maven-metadata.xml in local (/Users/jsheeley/.m2/repository) [DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://repo1.maven.org/maven2 [DEBUG] Using connector WagonRepositoryConnector with priority 0 for https://oss.sonatype.org/content/repositories/snapshots [DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://rubygems-proxy.torquebox.org/releases Downloading: http://repo1.maven.org/maven2/com/github/jnr/jffi/maven-metadata.xml Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml Downloading: http://rubygems-proxy.torquebox.org/releases/com/github/jnr/jffi/maven-metadata.xml Downloaded: http://repo1.maven.org/maven2/com/github/jnr/jffi/maven-metadata.xml (574 B at 4.2 KB/sec) [DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties [DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties [DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties [DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml (361 B at 0.4 KB/sec) [DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties [DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties [DEBUG] Could not find metadata com.github.jnr:jffi/maven-metadata.xml in rubygems-release (http://rubygems-proxy.torquebox.org/releases) [DEBUG] Could not find metadata com.github.jnr:jffi/maven-metadata.xml in local (/Users/jsheeley/.m2/repository) [DEBUG] Using connector WagonRepositoryConnector with priority 0 for https://oss.sonatype.org/content/repositories/snapshots [DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://repo1.maven.org/maven2 [DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://rubygems-proxy.torquebox.org/releases Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml Downloading: http://repo1.maven.org/maven2/com/github/jnr/jffi/maven-metadata.xml Downloading: http://rubygems-proxy.torquebox.org/releases/com/github/jnr/jffi/maven-metadata.xml Downloaded: http://repo1.maven.org/maven2/com/github/jnr/jffi/maven-metadata.xml (574 B at 10.0 KB/sec) [DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties [DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties [DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties [DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties Downloaded: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jffi/maven-metadata.xml (361 B at 0.5 KB/sec) [DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties [DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jffi/resolver-status.properties [DEBUG] Could not find metadata com.github.jnr:jffi/maven-metadata.xml in rubygems-release (http://rubygems-proxy.torquebox.org/releases) [DEBUG] Could not find metadata com.github.jnr:jnr-x86asm/maven-metadata.xml in local (/Users/jsheeley/.m2/repository) [DEBUG] [DEBUG] Using connector WagonRepositoryConnector with priority 0 for https://oss.sonatype.org/content/repositories/snapshots [DEBUG] Using connector WagonRepositoryConnector with priority 0 for http://repo1.maven.org/maven2 Using connector WagonRepositoryConnector with priority 0 for http://rubygems-proxy.torquebox.org/releases Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/github/jnr/jnr-x86asm/maven-metadata.xml Downloading: http://repo1.maven.org/maven2/com/github/jnr/jnr-x86asm/maven-metadata.xml Downloading: http://rubygems-proxy.torquebox.org/releases/com/github/jnr/jnr-x86asm/maven-metadata.xml Downloaded: http://repo1.maven.org/maven2/com/github/jnr/jnr-x86asm/maven-metadata.xml (362 B at 3.5 KB/sec) [DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jnr-x86asm/resolver-status.properties [DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jnr-x86asm/resolver-status.properties [DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jnr-x86asm/resolver-status.properties [DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jnr-x86asm/resolver-status.properties [DEBUG] Reading resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jnr-x86asm/resolver-status.properties [DEBUG] Writing resolution tracking file /Users/jsheeley/.m2/repository/com/github/jnr/jnr-x86asm/resolver-status.properties [DEBUG] Could not find metadata com.github.jnr:jnr-x86asm/maven-metadata.xml in rubygems-release (http://rubygems-proxy.torquebox.org/releases) [DEBUG] Could not find metadata com.github.jnr:jnr-x86asm/maven-metadata.xml in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots) [DEBUG] com.test.presentation:scss:jar:0.0.1-SNAPSHOT [DEBUG] commons-io:commons-io:jar:2.4:compile [DEBUG] org.jruby:jruby-core:jar:1.7.0.RC1:compile [DEBUG] org.jruby:jruby-stdlib:jar:1.7.0.RC1:compile [DEBUG] org.jruby.joni:joni:jar:1.1.8:compile [DEBUG] com.github.jnr:jnr-netdb:jar:1.1.1:compile [DEBUG] com.github.jnr:jnr-unixsocket:jar:0.1:compile [DEBUG] com.github.jnr:jnr-enxio:jar:0.2:compile [DEBUG] com.github.jnr:jnr-posix:jar:2.3.0:compile [DEBUG] org.jruby.extras:bytelist:jar:1.0.10:compile [DEBUG] com.github.jnr:jnr-constants:jar:0.8.4:compile [DEBUG] org.jruby.jcodings:jcodings:jar:1.0.9:compile [DEBUG] com.github.jnr:jffi:jar:1.2.5:compile [DEBUG] org.yaml:snakeyaml:jar:1.10:compile [DEBUG] jline:jline:jar:2.7:compile [DEBUG] joda-time:joda-time:jar:2.1:compile [DEBUG] com.jcraft:jzlib:jar:1.1.1:compile [DEBUG] org.bouncycastle:bcmail-jdk15on:jar:1.46:compile [DEBUG] org.bouncycastle:bcprov-jdk15on:jar:1.46:compile [DEBUG] com.github.jnr:jnr-ffi:jar:0.7.7:compile [DEBUG] com.github.jnr:jffi:jar:native:1.2.6:runtime [DEBUG] com.github.jnr:jnr-x86asm:jar:1.0.2:compile [DEBUG] rubygems:sass:gem:3.2.7:compile [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ scss --- [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.sonatype.aether.transfer < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.sonatype.aether.metadata < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.sonatype.aether.collection < plexus.core [DEBUG] Imported: org.sonatype.aether.version < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.sonatype.aether.repository < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.sonatype.aether.artifact < plexus.core [DEBUG] Imported: org.sonatype.aether.spi < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.sonatype.aether.graph < plexus.core [DEBUG] Imported: org.sonatype.aether.* < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.sonatype.aether.impl < plexus.core [DEBUG] Imported: org.apache.maven.wagon.* < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.sonatype.aether.deployment < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.sonatype.aether.installation < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.* < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.sonatype.aether.resolution < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.codehaus.plexus.* < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Populating class realm maven.api [DEBUG] org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:2.0.5:compile [DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1 [DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1 [DEBUG] Included: org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.5 [DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:2.0.6 [DEBUG] Configuring mojo org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-clean-plugin:2.4.1, parent: sun.misc.Launcher$AppClassLoader@1d9f953d] [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean' with basic configurator --> DEBUG directory = /Users/jsheeley/git/java-sass/target DEBUG excludeDefaultDirectories = false DEBUG failOnError = true DEBUG followSymLinks = false DEBUG outputDirectory = /Users/jsheeley/git/java-sass/target/classes DEBUG reportDirectory = /Users/jsheeley/git/java-sass/target/site DEBUG skip = false DEBUG testOutputDirectory = /Users/jsheeley/git/java-sass/target/test-classes [DEBUG] -- end configuration -- [DEBUG] Skipping non-existing directory /Users/jsheeley/git/java-sass/target [DEBUG] Skipping non-existing directory /Users/jsheeley/git/java-sass/target/classes [DEBUG] Skipping non-existing directory /Users/jsheeley/git/java-sass/target/test-classes [DEBUG] Skipping non-existing directory /Users/jsheeley/git/java-sass/target/site [INFO] [INFO] --- gem-maven-plugin:0.29.1:initialize (default) @ scss --- [DEBUG] de.saumya.mojo:gem-maven-plugin:jar:0.29.1: [DEBUG] de.saumya.mojo:jruby-maven-plugin:jar:0.29.1:compile [DEBUG] de.saumya.mojo:ruby-tools:jar:0.29.1:compile [DEBUG] ant:ant:jar:1.6.5:compile [DEBUG] org.codehaus.plexus:plexus-archiver:jar:1.2:compile [DEBUG] org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile [DEBUG] junit:junit:jar:3.8.1:compile [DEBUG] classworlds:classworlds:jar:1.1-alpha-2:compile [DEBUG] org.codehaus.plexus:plexus-io:jar:1.0.1:compile [DEBUG] de.saumya.mojo:maven-tools:jar:0.29.0:compile [DEBUG] org.apache.maven:maven-plugin-api:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-model:jar:3.0.3:compile [DEBUG] org.sonatype.sisu:sisu-inject-plexus:jar:2.1.1:compile [DEBUG] org.sonatype.sisu:sisu-inject-bean:jar:2.1.1:compile [DEBUG] org.sonatype.sisu:sisu-guice:jar:no_aop:2.9.4:compile [DEBUG] org.apache.maven:maven-core:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-settings:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-settings-builder:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-model-builder:jar:3.0.3:compile [DEBUG] org.apache.maven:maven-aether-provider:jar:3.0.3:compile [DEBUG] org.sonatype.aether:aether-spi:jar:1.11:compile [DEBUG] org.sonatype.aether:aether-impl:jar:1.11:compile [DEBUG] org.sonatype.aether:aether-api:jar:1.11:compile [DEBUG] org.sonatype.aether:aether-util:jar:1.11:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.14:compile [DEBUG] org.codehaus.plexus:plexus-utils:jar:2.0.6:compile [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.4:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.4:compile [DEBUG] org.apache.maven:maven-artifact:jar:3.0.3:compile [DEBUG] Created new class realm plugin>de.saumya.mojo:gem-maven-plugin:0.29.1 [DEBUG] Importing foreign packages into class realm plugin>de.saumya.mojo:gem-maven-plugin:0.29.1 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm plugin>de.saumya.mojo:gem-maven-plugin:0.29.1 [DEBUG] Included: de.saumya.mojo:gem-maven-plugin:jar:0.29.1 [DEBUG] Included: de.saumya.mojo:jruby-maven-plugin:jar:0.29.1 [DEBUG] Included: de.saumya.mojo:ruby-tools:jar:0.29.1 [DEBUG] Included: ant:ant:jar:1.6.5 [DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:1.2 [DEBUG] Included: junit:junit:jar:3.8.1 [DEBUG] Included: org.codehaus.plexus:plexus-io:jar:1.0.1 [DEBUG] Included: de.saumya.mojo:maven-tools:jar:0.29.0 [DEBUG] Included: org.sonatype.sisu:sisu-inject-bean:jar:2.1.1 [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:no_aop:2.9.4 [DEBUG] Included: org.sonatype.aether:aether-util:jar:1.11 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.14 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:2.0.6 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.4 [DEBUG] Excluded: org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1 [DEBUG] Excluded: classworlds:classworlds:jar:1.1-alpha-2 [DEBUG] Excluded: org.apache.maven:maven-plugin-api:jar:3.0.3 [DEBUG] Excluded: org.apache.maven:maven-model:jar:3.0.3 [DEBUG] Excluded: org.sonatype.sisu:sisu-inject-plexus:jar:2.1.1 [DEBUG] Excluded: org.apache.maven:maven-core:jar:3.0.3 [DEBUG] Excluded: org.apache.maven:maven-settings:jar:3.0.3 [DEBUG] Excluded: org.apache.maven:maven-settings-builder:jar:3.0.3 [DEBUG] Excluded: org.apache.maven:maven-repository-metadata:jar:3.0.3 [DEBUG] Excluded: org.apache.maven:maven-model-builder:jar:3.0.3 [DEBUG] Excluded: org.apache.maven:maven-aether-provider:jar:3.0.3 [DEBUG] Excluded: org.sonatype.aether:aether-spi:jar:1.11 [DEBUG] Excluded: org.sonatype.aether:aether-impl:jar:1.11 [DEBUG] Excluded: org.sonatype.aether:aether-api:jar:1.11 [DEBUG] Excluded: org.codehaus.plexus:plexus-classworlds:jar:2.4 [DEBUG] Excluded: org.apache.maven:maven-artifact:jar:3.0.3 [DEBUG] Configuring mojo de.saumya.mojo:gem-maven-plugin:0.29.1:initialize from plugin realm ClassRealm[plugin>de.saumya.mojo:gem-maven-plugin:0.29.1, parent: sun.misc.Launcher$AppClassLoader@1d9f953d] [DEBUG] Configuring mojo 'de.saumya.mojo:gem-maven-plugin:0.29.1:initialize' with basic configurator --> DEBUG classRealm = org.codehaus.classworlds.ClassRealmAdapter@540a6997 DEBUG gemHome = /Users/jsheeley/git/java-sass/target/rubygems DEBUG gemPath = /Users/jsheeley/git/java-sass/target/rubygems DEBUG gemUseSystem = false DEBUG includeOpenSSL = true DEBUG includeRubygemsInTestResources = true DEBUG installRDoc = false DEBUG installRI = false DEBUG jrubyFork = true DEBUG jrubyVerbose = false DEBUG launchDirectory = /Users/jsheeley/git/java-sass DEBUG libDirectory = /Users/jsheeley/git/java-sass/lib DEBUG localRepository = id: local url: file:///Users/jsheeley/.m2/repository/ layout: none

DEBUG plugin = Component Descriptor: role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.ListMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:list' role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.PomMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:pom' role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.GemMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:gem' role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.InstallMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:install' role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.GemifyMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:gemify' role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.PackageMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:package' role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.InitializeMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:initialize' role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.PushMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:push' role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.SpecMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:spec' role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.ExecuteInPhaseMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:execute_in_phase' role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.HelpMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:help' role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.IrbMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:irb'

role: 'org.apache.maven.plugin.Mojo', implementation: 'de.saumya.mojo.gem.ExecMojo', role hint: 'de.saumya.mojo:gem-maven-plugin:0.29.1:exec'

DEBUG project = MavenProject: com.test.presentation:scss:0.0.1-SNAPSHOT @ /Users/jsheeley/git/java-sass/pom.xml DEBUG rubySourceDirectory = /Users/jsheeley/git/java-sass/src/main/ruby DEBUG supportNative = false [DEBUG] -- end configuration -- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.953s [INFO] Finished at: Tue Apr 02 23:12:25 PDT 2013 [INFO] Final Memory: 7M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:0.29.1:initialize (default) on project scss: Execution default of goal de.saumya.mojo:gem-maven-plugin:0.29.1:initialize failed. NullPointerException -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal de.saumya.mojo:gem-maven-plugin:0.29.1:initialize (default) on project scss: Execution default of goal de.saumya.mojo:gem-maven-plugin:0.29.1:initialize failed. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default of goal de.saumya.mojo:gem-maven-plugin:0.29.1:initialize failed. at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.NullPointerException at de.saumya.mojo.gem.AbstractGemMojo.newScriptFactory(AbstractGemMojo.java:161) at de.saumya.mojo.jruby.AbstractJRubyMojo.newScriptFactory(AbstractJRubyMojo.java:160) at de.saumya.mojo.jruby.AbstractJRubyMojo.execute(AbstractJRubyMojo.java:202) at de.saumya.mojo.gem.AbstractGemMojo.execute(AbstractGemMojo.java:155) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) ... 20 more [ERROR] [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

Here's my pom:

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

4.0.0
<groupId>com.test</groupId>
<artifactId>scss</artifactId>
<version>0.0.1-SNAPSHOT</version>
<repositories>
    <repository>
        <id>rubygems-release</id>
        <url>http://rubygems-proxy.torquebox.org/releases</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>commons-io</groupId>
        <artifactId>commons-io</artifactId>
        <version>2.4</version>
    </dependency>
    <dependency>
        <groupId>org.jruby</groupId>
        <artifactId>jruby-complete</artifactId>
        <version>1.7.0.RC1</version>
    </dependency>
    <!-- <dependency> <groupId>joda-time</groupId> <artifactId>joda-time</artifactId>
        <version>1.6.4</version> </dependency> -->
    <dependency>
        <groupId>rubygems</groupId>
        <artifactId>sass</artifactId>
        <version>3.2.7</version>
        <type>gem</type>
    </dependency>
</dependencies>

<build>
    <plugins>
        <plugin>
            <groupId>de.saumya.mojo</groupId>
            <artifactId>gem-maven-plugin</artifactId>
            <version>0.29.1</version>
            <executions>
                <execution>
                    <goals>
                        <goal>initialize</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
    <pluginManagement>
        <plugins>
            <!--This plugin's configuration is used to store Eclipse m2e settings
                only. It has no influence on the Maven build itself. -->
            <plugin>
                <groupId>org.eclipse.m2e</groupId>
                <artifactId>lifecycle-mapping</artifactId>
                <version>1.0.0</version>
                <configuration>
                    <lifecycleMappingMetadata>
                        <pluginExecutions>
                            <pluginExecution>
                                <pluginExecutionFilter>
                                    <groupId>
                                        de.saumya.mojo
                                    </groupId>
                                    <artifactId>
                                        gem-maven-plugin
                                    </artifactId>
                                    <versionRange>
                                        [0.29.1,)
                                    </versionRange>
                                    <goals>
                                        <goal>initialize</goal>
                                    </goals>
                                </pluginExecutionFilter>
                                <action>
                                    <execute></execute>
                                </action>
                            </pluginExecution>
                        </pluginExecutions>
                    </lifecycleMappingMetadata>
                </configuration>
            </plugin>
        </plugins>
    </pluginManagement>
</build>

— Reply to this email directly or view it on GitHubhttps://github.com/torquebox/jruby-maven-plugins/issues/45 .

sheeley commented 11 years ago

@mkristian thanks! should've checked that. Now I'm getting:

LoadError: no such file to load -- sass
  require at org/jruby/RubyKernel.java:1019
  require at jar:file:/Users/jsheeley/maven.repo/org/jruby/jruby-complete/1.7.0.RC1/jruby-complete-1.7.0.RC1.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36
   (root) at <script>:1

Sass is showing up as resolved in my pom - I'm simply doing this:

ScriptEngineManager sem = new ScriptEngineManager();
ScriptEngine engine = sem.getEngineByName("jruby");
engine.eval("require 'sass'"); 

Any ideas?

mkristian commented 11 years ago

I suppose you run the java code in some phase of maven. the test-phase the gem-plugin adds target/rubygems/ path to the test-classloader/test-classpath like that

   <resources>
      <resource>
        <directory>target/rubygems</directory>
        <includes>
          <include>specifications/**</include>
          <include>gems/**</include>
       </includes>
      </resource>
    </resources>

or just put into a testcase.

sheeley commented 11 years ago

Excellent, thanks! Added to my build path and seems to be working.

mkristian commented 11 years ago

great - I guess we should add that to the build-path per default