Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
incu6us committed Jan 18, 2019
1 parent d0f33a5 commit a0d5382
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ all: build deploy

build:
./mvnw -DgroupId=${GROUP_ID} -DartifactId=${ARTIFACT_ID} -Dversion=${VERSION} -DprotoSourceRoot=./proto/ clean package
mkdir -p ./build/java
cp ./target/*.jar ./build/java/
mkdir -p ./proto/build/java
cp ./target/*.jar ./proto/build/java/

deploy:
./mvnw -DserverUrl=${SERVER_URL} -DgroupId=${GROUP_ID} -DartifactId=${ARTIFACT_ID} -Dversion=${VERSION} --settings ${SETTINGS} deploy
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ docker run --rm \
-e GROUP_ID=com.egt \
-e ARTIFACT_ID=some-lib \
-e VERSION=0.0.2 \
protobuf-generator
egtukraine/protobuf-generator
```

To play with this you could run the [Nexus Docker Image](https://hub.docker.com/r/sonatype/nexus/) and start it locally.
Expand All @@ -33,13 +33,13 @@ To use the options you should just add `make build` or `make deploy` in the end
```
docker run --rm \
...
protobuf-generator make build
egtukraine/protobuf-generator make build
```

or

```
docker run --rm \
...
protobuf-generator make deploy
egtukraine/protobuf-generator make deploy
```
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<excludes>
<exclude>**.proto</exclude>
</excludes>
</configuration>
</plugin>

<!-- https://www.xolstice.org/protobuf-maven-plugin -->
Expand Down

0 comments on commit a0d5382

Please sign in to comment.