File: README.md

package info (click to toggle)
ruby-jar-dependencies 0.5.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,172 kB
  • sloc: ruby: 2,407; sh: 137; xml: 117; java: 20; makefile: 9
file content (28 lines) | stat: -rw-r--r-- 343 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# using maven-3.9.x to build jar and pack gem

the ruby DSL for maven is configured by .mvn/extensions.xml

## build compile and create jar

```
mvn prepare-package
```

## pack gem

```
mvn package
```

## deploy gem tio rubygems.prg

```
mvn push
```

## just run the code

make sure you use jruby (via rbenv, rvm, etc)
```
jruby test.rb
```