Skip to content

Commit

Permalink
Fix fabric8io#1996: Added module-info.java files for different module…
Browse files Browse the repository at this point in the history
…s in project
  • Loading branch information
rohanKanojia committed Mar 5, 2020
1 parent dea9994 commit 368548a
Show file tree
Hide file tree
Showing 28 changed files with 587 additions and 0 deletions.
19 changes: 19 additions & 0 deletions extensions/knative/annotator/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.knative.annotator {
requires io.fabric8.kubernetes.model.common;
exports io.fabric8.knative;
}
19 changes: 19 additions & 0 deletions extensions/knative/client/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.knative.client {
requires io.fabric8.kubernetes.client;
requires io.fabric8.knative.api.model;
}
19 changes: 19 additions & 0 deletions extensions/knative/examples/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.knative.api.examples {
requires io.fabric8.knative.client;
exports io.fabric8.knative.api.examples;
}
20 changes: 20 additions & 0 deletions extensions/knative/mock/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.knative.mock {
requires io.fabric8.kubernetes.server.mock;
requires io.fabric8.knative.client;
exports io.fabric8.knative.mock;
}
35 changes: 35 additions & 0 deletions extensions/knative/model/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.knative.api.model {
requires io.fabric8.kubernetes.model;
exports io.fabric8.knative.api.model;
exports io.fabric8.knative.dev.duck.v1alpha1;
exports io.fabric8.knative.dev.duck.v1beta1;
exports io.fabric8.knative.dev.messaging.v1beta1;
exports io.fabric8.knative.duck.v1alpha1;
exports io.fabric8.knative.duck.v1;
exports io.fabric8.knative.duck.v1beta1;
exports io.fabric8.knative.eventing.v1alpha1;
exports io.fabric8.knative.flows.v1alpha1;
exports io.fabric8.knative.legacysources.v1alpha1;
exports io.fabric8.knative.messaging.v1alpha1;
exports io.fabric8.knative.net;
exports io.fabric8.knative.serving.v1alpha1;
exports io.fabric8.knative.serving.v1beta1;
exports io.fabric8.knative.serving.v1;
exports io.fabric8.knative.tracker;
exports io.fabric8.knative.v1;
}
20 changes: 20 additions & 0 deletions extensions/knative/tests/src/test/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.knative.test {
requires io.fabric8.knative.client;
requires io.fabric8.knative.mock;
exports io.fabric8.knative.test.crud;
}
22 changes: 22 additions & 0 deletions extensions/service-catalog/client/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.servicecatalog.client {
requires io.fabric8.kubernetes.client;
requires io.fabric8.servicecatalog.api.model;
exports io.fabric8.servicecatalog.client.internal;
exports io.fabric8.servicecatalog.client.handlers;
exports io.fabric8.servicecatalog.client.util;
}
19 changes: 19 additions & 0 deletions extensions/service-catalog/examples/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.servicecatalog.examples {
requires io.fabric8.servicecatalog.client;
exports io.fabric8.servicecatalog.examples;
}
20 changes: 20 additions & 0 deletions extensions/service-catalog/mock/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.servicecatalog.server.mock {
requires io.fabric8.kubernetes.server.mock;
requires io.fabric8.servicecatalog.client;
exports io.fabric8.servicecatalog.server.mock;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.servicecatalog.annotator {
requires io.fabric8.kubernetes.model.common;
exports io.fabric8.servicecatalog.annotator;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.servicecatalog.api.model {
requires io.fabric8.kubernetes.model;
exports io.fabric8.servicecatalog.api.model;
}
20 changes: 20 additions & 0 deletions extensions/service-catalog/tests/src/test/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.servicecatalog.test {
requires io.fabric8.kubernetes.client;
requires io.fabric8.servicecatalog.server.mock;
exports io.fabric8.servicecatalog.test.crud;
}
19 changes: 19 additions & 0 deletions extensions/tekton/annotator/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.tekton.annotator {
requires io.fabric8.kubernetes.model.common;
exports io.fabric8.tekton;
}
22 changes: 22 additions & 0 deletions extensions/tekton/client/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.tekton.client {
requires io.fabric8.tekton.model;
requires io.fabric8.kubernetes.client;
exports io.fabric8.tekton.client.internal;
exports io.fabric8.tekton.client.handlers;
exports io.fabric8.tekton.client.util;
}
19 changes: 19 additions & 0 deletions extensions/tekton/examples/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.tekton.api.examples {
requires io.fabric8.tekton.client;
exports io.fabric8.tekton.api.examples;
}
20 changes: 20 additions & 0 deletions extensions/tekton/mock/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.tekton.mock {
requires io.fabric8.kubernetes.server.mock;
requires io.fabric8.tekton.client;
exports io.fabric8.tekton.mock;
}
21 changes: 21 additions & 0 deletions extensions/tekton/model/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.tekton.model {
requires io.fabric8.kubernetes.model;
requires io.fabric8.knative.api.model;
exports io.fabric8.tekton.api.model;
exports io.fabric8.tekton.pipeline.v1alpha1;
}
29 changes: 29 additions & 0 deletions kubernetes-client/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module io.fabric8.kubernetes.client {
requires io.fabric8.kubernetes.model;
exports io.fabric8.kubernetes.client.dsl.base;
exports io.fabric8.kubernetes.client.dsl.internal.uploadable;
exports io.fabric8.kubernetes.client.internal.patchmixins;
exports io.fabric8.kubernetes.client.internal.readiness;
exports io.fabric8.kubernetes.client.internal.serializationmixins;
exports io.fabric8.kubernetes.client.extended.leaderelection.resourcelock;
exports io.fabric8.kubernetes.client.handlers;
exports io.fabric8.kubernetes.client.informers.cache;
exports io.fabric8.kubernetes.client.informers.impl;
exports io.fabric8.kubernetes.client.osgi;
exports io.fabric8.kubernetes.client.utils;
}

0 comments on commit 368548a

Please sign in to comment.