Skip to content

Commit

Permalink
Fix fabric8io#2201: Uberjar doesn't contain model classes anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
rohanKanojia committed May 7, 2020
1 parent 9069bb5 commit ac97885
Show file tree
Hide file tree
Showing 2 changed files with 107 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### 4.10-SNAPSHOT
#### Bugs
* Fix #2201: Uberjar doesn't contain model classes anymore

#### Improvements

Expand Down
106 changes: 106 additions & 0 deletions uberjar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,28 @@
<configuration>
<artifactSet>
<includes>
<include>io.fabric8:kubernetes-model-common</include>
<include>io.fabric8:kubernetes-model-annotator</include>
<include>io.fabric8:kubernetes-model</include>
<include>io.fabric8:kubernetes-model-core</include>
<include>io.fabric8:kubernetes-model-rbac</include>
<include>io.fabric8:kubernetes-model-admissionregistration</include>
<include>io.fabric8:kubernetes-model-apiextensions</include>
<include>io.fabric8:kubernetes-model-apps</include>
<include>io.fabric8:kubernetes-model-autoscaling</include>
<include>io.fabric8:kubernetes-model-batch</include>
<include>io.fabric8:kubernetes-model-certificates</include>
<include>io.fabric8:kubernetes-model-coordination</include>
<include>io.fabric8:kubernetes-model-discovery</include>
<include>io.fabric8:kubernetes-model-events</include>
<include>io.fabric8:kubernetes-model-extensions</include>
<include>io.fabric8:kubernetes-model-networking</include>
<include>io.fabric8:kubernetes-model-metrics</include>
<include>io.fabric8:kubernetes-model-policy</include>
<include>io.fabric8:kubernetes-model-scheduling</include>
<include>io.fabric8:kubernetes-model-settings</include>
<include>io.fabric8:kubernetes-model-storageclass</include>
<include>io.fabric8:openshift-model</include>
<include>io.fabric8:kubernetes-client</include>
<include>io.fabric8:kubernetes-server-mock</include>
<include>io.fabric8:openshift-client</include>
Expand All @@ -213,7 +234,28 @@
<shadedClassifierName>versioned</shadedClassifierName>
<artifactSet>
<includes>
<include>io.fabric8:kubernetes-model-common</include>
<include>io.fabric8:kubernetes-model-annotator</include>
<include>io.fabric8:kubernetes-model</include>
<include>io.fabric8:kubernetes-model-core</include>
<include>io.fabric8:kubernetes-model-rbac</include>
<include>io.fabric8:kubernetes-model-admissionregistration</include>
<include>io.fabric8:kubernetes-model-apiextensions</include>
<include>io.fabric8:kubernetes-model-apps</include>
<include>io.fabric8:kubernetes-model-autoscaling</include>
<include>io.fabric8:kubernetes-model-batch</include>
<include>io.fabric8:kubernetes-model-certificates</include>
<include>io.fabric8:kubernetes-model-coordination</include>
<include>io.fabric8:kubernetes-model-discovery</include>
<include>io.fabric8:kubernetes-model-events</include>
<include>io.fabric8:kubernetes-model-extensions</include>
<include>io.fabric8:kubernetes-model-networking</include>
<include>io.fabric8:kubernetes-model-metrics</include>
<include>io.fabric8:kubernetes-model-policy</include>
<include>io.fabric8:kubernetes-model-scheduling</include>
<include>io.fabric8:kubernetes-model-settings</include>
<include>io.fabric8:kubernetes-model-storageclass</include>
<include>io.fabric8:openshift-model</include>
<include>io.fabric8:kubernetes-client</include>
<include>io.fabric8:kubernetes-server-mock</include>
<include>io.fabric8:openshift-client</include>
Expand All @@ -230,6 +272,70 @@
<pattern>io.fabric8.kubernetes.api.model</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.apps</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.apps.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.rbac</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.rbacv${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.admissionregistration</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.admissionregistration.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.apiextensions</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.apiextensions.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.autoscaling</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.autoscaling.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.batch</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.batch.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.certificates</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.certificates.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.coordination</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.cordination.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.discovery</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.discovery.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.events</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.events.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.extensions</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.extensions.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.networking</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.networking.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.metrics</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.metrics.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.policy</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.policy.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.scheduling</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.scheduling.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.model.storageclass</pattern>
<shadedPattern>io.fabric8.kubernetes.api.model.storageclass.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
</relocation>
<relocation>
<pattern>io.fabric8.kubernetes.api.builder</pattern>
<shadedPattern>io.fabric8.kubernetes.api.builder.v${parsedVersion.majorVersion}_${parsedVersion.minorVersion}</shadedPattern>
Expand Down

0 comments on commit ac97885

Please sign in to comment.