Skip to content

Instantly share code, notes, and snippets.

<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>
<parent>
<groupId>installatend</groupId>
<artifactId>parent</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>../parent</relativePath>
</parent>
[INFO]
[INFO] --- maven-bundle-plugin:2.4.0:bundle (default-bundle) @ nexus-staging-plugin ---
[WARNING] Bundle com.sonatype.nexus.plugins:nexus-staging-plugin:bundle:3.0.0-SNAPSHOT : Export com.sonatype.nexus.staging.legacy, has 1, private references [com.sonatype.nexus.staging.internal.persist],
[WARNING] Bundle com.sonatype.nexus.plugins:nexus-staging-plugin:bundle:3.0.0-SNAPSHOT : Export com.sonatype.nexus.staging.rest, has 1, private references [com.sonatype.nexus.staging.internal.persist],
[WARNING] Bundle com.sonatype.nexus.plugins:nexus-staging-plugin:bundle:3.0.0-SNAPSHOT : Export com.sonatype.nexus.staging.rest.upload, has 1, private references [com.sonatype.nexus.staging.internal.persist],
[WARNING] Bundle com.sonatype.nexus.plugins:nexus-staging-plugin:bundle:3.0.0-SNAPSHOT : Export com.sonatype.nexus.staging.support.capability, has 2, private references [com.sonatype.nexus.staging.internal, com.sonatype.nexus.staging.internal.persist],

Keybase proof

I hereby claim:

  • I am cstamas on github.
  • I am cstamas (https://keybase.io/cstamas) on keybase.
  • I have a public key whose fingerprint is 2BE1 3D05 2E9A A567 D657 D979 1FD5 0715 4FB9 BA39

To claim this, I am signing this object:

Bunny

Bunny takes a walk in the forest. During his walk, he meets with a pack of skinheads gathering around of a big oak tree.

  • Oi! Bunny, do you have a cigarette?
  • Um, yes. Just a moment. -- says Bunny and takes out a pack from his pocket -- Here it is, grab some.
  • Bunny, are these filterless or with filter?
  • Well, filterless.
  • We want with filter! -- yells one of them, and the skins beat the hell out of little Bunny.
diff --git a/enunciate/xml/src/main/resources/org/codehaus/enunciate/modules/xml/wadl.fmt b/enunciate/xml/src/main/resources/org/codehaus/enunciate/modules/xml/wadl.fmt
index 19210fe..66abac4 100644
--- a/enunciate/xml/src/main/resources/org/codehaus/enunciate/modules/xml/wadl.fmt
+++ b/enunciate/xml/src/main/resources/org/codehaus/enunciate/modules/xml/wadl.fmt
@@ -31,7 +31,7 @@ Template library for WADL.
<${wadl}:resources base="${baseDeploymentAddress}">
[@forEachRESTResourceListByPath]
- <${wadl}:resource path="${(resources?first).metaData.defaultSubcontext!"/rest"}[#if !(resources?first).path.starts_with("/")]/[/#if]${(resources?first).path}">
+ <${wadl}:resource path="${(resources?first).metaData.defaultSubcontext!"/rest"}/${(resources?first).path}">
[cstamas@marvin ~]$ gem list --local
*** LOCAL GEMS ***
builder (2.1.2)
jruby-openssl (0.6)
rake (0.8.7)
rspec (1.2.9)
sources (0.0.1)
[cstamas@Marvin ~]$ gem install org.apache.xmlrpc.xmlrpc-client --source http://gems.sonatype.org/content/shadows/central-gems/ -V
GET 304 Not Modified: http://gems.sonatype.org/content/shadows/central-gems/latest_specs.4.8.gz
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/org.apache.xmlrpc.xmlrpc-client-3.0.1-java.gemspec.rz
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/specs.4.8.gz
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/org.apache.xmlrpc.xmlrpc-common-3.0.1-java.gemspec.rz
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/org.apache.ws.commons.ws-commons-util-1.0.1-java.gemspec.rz
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/xml-apis.xml-apis-999.0.0-java.gemspec.rz
Installing gem xml-apis.xml-apis-999.0.0-java
Downloading gem xml-apis.xml-apis-999.0.0-java.gem
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/gems/xml-
jvm 1 | Exception in thread "Thread-10" org.jruby.embed.EvalFailedException: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
jvm 1 | at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:130)
jvm 1 | at org.sonatype.nexus.plugins.ruby.JRubyRubyGateway.gemGenerateLazyIndexes(JRubyRubyGateway.java:48)
jvm 1 | at org.sonatype.nexus.plugins.ruby.DefaultRubyIndexer$IndexerThread.reindexNow(DefaultRubyIndexer.java:147)
jvm 1 | at org.sonatype.nexus.plugins.ruby.DefaultRubyIndexer$IndexerThread.run(DefaultRubyIndexer.java:193)
jvm 1 | Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
jvm 1 | at java.lang.String.checkBounds(String.java:397)
jvm 1 | at java.lang.String.<init>(String.java:442)
jvm 1 | at org.yecht.ruby.RubyErrHandler.handle(RubyErrHandler.java:28)
jvm 1 | at org.yecht.TokenScanner.error(TokenScanner.java:19)
jvm 1 | 2010-01-07 16:03:06 INFO - o.s.n.p.r.ShadowRep~:maven2-~ - Forcing Ruby reindex after 5000 count of lazy Gems created.
jvm 1 | 2010-01-07 16:03:06 INFO - o.s.n.p.r.RubyGatew~ - Invoking Gem::NexusIndexer for basedir "/home/nexus/nexus-webapp-1.4.2-SNAPSHOT/bin/jsw/linux-x86-32/../../../../sonatype-work/nexus/storage/central-gems"...
jvm 1 | java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jruby/ext/posix/LinuxLibC
jvm 1 | at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.generateInterfaceImpl(AsmLibraryLoader.java:256)
jvm 1 | at com.kenai.jaffl.provider.jffi.AsmLibraryLoader.loadLibrary(AsmLibraryLoader.java:121)
jvm 1 | at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:30)
jvm 1 | at com.kenai.jaffl.provider.jffi.Provider.loadLibrary(Provider.java:24)
jvm 1 | at com.kenai.jaffl.Library.loadLibrary(Library.java:73)
jvm 1 | at org.jruby.ext.posix.POSIXFactory$LinuxLibCProvider$SingletonHolder.<clinit>(POSIXFactory.java:105)
j
[cstamas@marvin ~]$ gem install com.lowagie.itext-rtf --source http://gems.sonatype.org/content/shadows/central-gems/ -V
GET 304 Not Modified: http://gems.sonatype.org/content/shadows/central-gems/latest_specs.4.8.gz
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/com.lowagie.itext-rtf-2.1.7-java.gemspec.rz
GET 304 Not Modified: http://gems.sonatype.org/content/shadows/central-gems/specs.4.8.gz
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/bouncycastle.bcmail-jdk14-138-java.gemspec.rz
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/bouncycastle.bcprov-jdk14-138-java.gemspec.rz
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/quick/Marshal.4.8/bouncycastle.bctsp-jdk14-138-java.gemspec.rz
Installing gem bouncycastle.bcmail-jdk14-138-java
Downloading gem bouncycastle.bcmail-jdk14-138-java.gem
GET 200 OK: http://gems.sonatype.org/content/shadows/central-gems/gems/bouncycastle.bcmail-jdk14