Skip to content

Commit d471130

Browse files
committed
Refactor package and group id according to new repo location
1 parent e57b651 commit d471130

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+93
-95
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ script:
1010
if [[ $TRAVIS_TAG =~ ^v.* ]]; then
1111
./gradlew clean build publish -Prelease.useLastTag=true -Psigning.keyId=${GPG_KEY_ID} -Psigning.password=${GPG_KEY_PASSPHRASE}
1212
else
13-
./gradlew clean build snapshot $(if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == 'false' ]]; then echo "publish -Psigning.keyId=${GPG_KEY_ID} -Psigning.password=${GPG_KEY_PASSPHRASE}"; fi)
13+
./gradlew clean build snapshot
1414
fi
1515
1616
before_install:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This is a simple Java library containing a [protocol buffer](https://developers.
66
## Usage
77
**Note:** The examples below just give you a glimpse how the API works. Of course, our intention is not writing protocol buffer files (\*.proto) manually in Java, as show below. If that is your goal, just write \*.proto files directly :) We use this library in generators to transform other code/models into protocol buffer specifications.
88

9-
You find all model classes to represent a proto specification in Java within the `io.github.stefanka.protobufgen.model` package. `io.github.stefanka.protobufgen.model.ProtoSpec` is the root element and with `persistProto(File protoFile)` you can simply serialize the \*.proto file. An example:
9+
You find all model classes to represent a proto specification in Java within the `io.github.microserviceapipatterns.protobufgen.model` package. `ProtoSpec` is the root element and with `persistProto(File protoFile)` you can simply serialize the \*.proto file. An example:
1010

1111
```java
1212
ProtoSpec proto = new ProtoSpec.Builder()
@@ -22,7 +22,7 @@ ProtoSpec proto = new ProtoSpec.Builder()
2222
proto.persistProto(new File("demo.proto"));
2323
```
2424

25-
_Note:_ You can also use the `toString()` method on `io.github.stefanka.protobufgen.model.ProtoSpec` and get the serialized model as a String.
25+
_Note:_ You can also use the `toString()` method on `ProtoSpec` and get the serialized model as a String.
2626

2727
The example above generates the following simple \*.proto file:
2828

build.gradle

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
id 'signing'
77
}
88

9-
group 'io.github.stefan-ka'
9+
group 'io.github.microservice-api-patterns'
1010

1111
sourceCompatibility = 1.8
1212
targetCompatibility = 1.8
@@ -109,26 +109,26 @@ def customizePom(pom) {
109109

110110
description 'A Java Library to Generate/Serialize Protocol Buffer Files (*.proto files)'
111111
name 'protobufgen'
112-
url 'https://github.com/stefan-ka/protobufgen'
112+
url 'https://github.com/Microservice-API-Patterns/protobufgen'
113113
organization {
114-
name 'Stefan Kapferer'
115-
url 'https://stefan.kapferer.ch/'
114+
name 'Microservice API Patterns'
115+
url 'https://github.com/Microservice-API-Patterns/'
116116
}
117117
issueManagement {
118118
system 'GitHub'
119-
url 'https://github.com/stefan-ka/protobufgen/issues'
119+
url 'https://github.com/Microservice-API-Patterns/protobufgen/issues'
120120
}
121121
licenses {
122122
license {
123123
name 'Apache License 2.0'
124-
url 'https://github.com/stefan-ka/protobufgen/blob/master/LICENSE'
124+
url 'https://github.com/Microservice-API-Patterns/protobufgen/blob/master/LICENSE'
125125
distribution 'repo'
126126
}
127127
}
128128
scm {
129-
url 'https://github.com/stefan-ka/protobufgen'
130-
connection 'scm:git:git://github.com/stefan-ka/protobufgen.git'
131-
developerConnection 'scm:git:ssh://[email protected]:stefan-ka/protobufgen.git'
129+
url 'https://github.com/Microservice-API-Patterns/protobufgen'
130+
connection 'scm:git:git://github.com/Microservice-API-Patterns/protobufgen.git'
131+
developerConnection 'scm:git:ssh://[email protected]:Microservice-API-Patterns/protobufgen.git'
132132
}
133133
developers {
134134
developer {

src/main/java/io/github/stefanka/protobufgen/exception/FieldAlreadyExistsException.java renamed to src/main/java/io/github/microserviceapipatterns/protobufgen/exception/FieldAlreadyExistsException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package io.github.stefanka.protobufgen.exception;
16+
package io.github.microserviceapipatterns.protobufgen.exception;
1717

1818
public class FieldAlreadyExistsException extends ProtocolBufferBuilderException {
1919

src/main/java/io/github/stefanka/protobufgen/exception/FieldNumberAlreadyExistsException.java renamed to src/main/java/io/github/microserviceapipatterns/protobufgen/exception/FieldNumberAlreadyExistsException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package io.github.stefanka.protobufgen.exception;
16+
package io.github.microserviceapipatterns.protobufgen.exception;
1717

1818
public class FieldNumberAlreadyExistsException extends ProtocolBufferBuilderException {
1919

src/main/java/io/github/stefanka/protobufgen/exception/FieldNumberOutOfRangeException.java renamed to src/main/java/io/github/microserviceapipatterns/protobufgen/exception/FieldNumberOutOfRangeException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package io.github.stefanka.protobufgen.exception;
16+
package io.github.microserviceapipatterns.protobufgen.exception;
1717

1818
public class FieldNumberOutOfRangeException extends ProtocolBufferBuilderException {
1919

src/main/java/io/github/stefanka/protobufgen/exception/FieldNumberReservedException.java renamed to src/main/java/io/github/microserviceapipatterns/protobufgen/exception/FieldNumberReservedException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package io.github.stefanka.protobufgen.exception;
16+
package io.github.microserviceapipatterns.protobufgen.exception;
1717

1818
public class FieldNumberReservedException extends ProtocolBufferBuilderException {
1919

src/main/java/io/github/stefanka/protobufgen/exception/FirstEnumFieldZeroValueException.java renamed to src/main/java/io/github/microserviceapipatterns/protobufgen/exception/FirstEnumFieldZeroValueException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package io.github.stefanka.protobufgen.exception;
16+
package io.github.microserviceapipatterns.protobufgen.exception;
1717

1818
public class FirstEnumFieldZeroValueException extends ProtocolBufferBuilderException {
1919

src/main/java/io/github/stefanka/protobufgen/exception/NestedMessageAlreadyExistsException.java renamed to src/main/java/io/github/microserviceapipatterns/protobufgen/exception/NestedMessageAlreadyExistsException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package io.github.stefanka.protobufgen.exception;
16+
package io.github.microserviceapipatterns.protobufgen.exception;
1717

1818
public class NestedMessageAlreadyExistsException extends ProtocolBufferBuilderException {
1919

src/main/java/io/github/stefanka/protobufgen/exception/ProtoSerializationException.java renamed to src/main/java/io/github/microserviceapipatterns/protobufgen/exception/ProtoSerializationException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package io.github.stefanka.protobufgen.exception;
16+
package io.github.microserviceapipatterns.protobufgen.exception;
1717

1818
public class ProtoSerializationException extends ProtocolBufferBuilderException {
1919

0 commit comments

Comments
 (0)