diff options
Diffstat (limited to 'java/sca/distribution/api/src/main/components')
4 files changed, 161 insertions, 0 deletions
diff --git a/java/sca/distribution/api/src/main/components/bin-common.xml b/java/sca/distribution/api/src/main/components/bin-common.xml new file mode 100644 index 0000000000..c69e8e3699 --- /dev/null +++ b/java/sca/distribution/api/src/main/components/bin-common.xml @@ -0,0 +1,44 @@ +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. +--> +<component> + <fileSets> + + <!-- Add the text files to the top-level directroy --> + <fileSet> + <directory>src/main/release</directory> + <outputDirectory></outputDirectory> + <includes> + <include>CHANGES</include> + <include>DISCLAIMER</include> + <include>README</include> + <include>RELEASE_NOTES</include> + </includes> + </fileSet> + <fileSet> + <directory>src/main/release/bin</directory> + <outputDirectory></outputDirectory> + <includes> + <include>INSTALL</include> + <include>LICENSE</include> + <include>NOTICE</include> + </includes> + </fileSet> + </fileSets> + +</component> diff --git a/java/sca/distribution/api/src/main/components/bin-modules.xml b/java/sca/distribution/api/src/main/components/bin-modules.xml new file mode 100644 index 0000000000..5e1c5ec5d6 --- /dev/null +++ b/java/sca/distribution/api/src/main/components/bin-modules.xml @@ -0,0 +1,32 @@ +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. +--> +<component> + <fileSets> + + <!-- Add modules to the modules directory --> + <fileSet> + <directory>target/modules</directory> + <outputDirectory>modules</outputDirectory> + <includes> + <include>**/*</include> + </includes> + </fileSet> + </fileSets> + +</component> diff --git a/java/sca/distribution/api/src/main/components/src-common.xml b/java/sca/distribution/api/src/main/components/src-common.xml new file mode 100644 index 0000000000..002df33fc7 --- /dev/null +++ b/java/sca/distribution/api/src/main/components/src-common.xml @@ -0,0 +1,42 @@ +<!-- + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. +--> +<component> + <fileSets> + <fileSet> + <directory>src/main/release</directory> + <outputDirectory></outputDirectory> + <includes> + <include>CHANGES</include> + <include>DISCLAIMER</include> + <include>README</include> + <include>RELEASE_NOTES</include> + </includes> + </fileSet> + <fileSet> + <directory>src/main/release/src</directory> + <outputDirectory></outputDirectory> + <includes> + <include>BUILDING</include> + <include>LICENSE</include> + <include>NOTICE</include> + </includes> + </fileSet> + </fileSets> + +</component> diff --git a/java/sca/distribution/api/src/main/components/src-modules.xml b/java/sca/distribution/api/src/main/components/src-modules.xml new file mode 100644 index 0000000000..827bea6e2f --- /dev/null +++ b/java/sca/distribution/api/src/main/components/src-modules.xml @@ -0,0 +1,43 @@ +<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.
+-->
+<component>
+ <fileSets>
+
+ <!-- Add module sources to the modules directory -->
+ <fileSet>
+ <directory>../../../modules</directory>
+ <outputDirectory>modules</outputDirectory>
+ <includes>
+ <include>node-api/**/*</include>
+ <include>sca-api/**/*</include>
+ </includes>
+ <excludes>
+ <!-- General file/folders to exclude -->
+ <exclude>**/.*</exclude>
+ <exclude>**/.*/**</exclude>
+ <exclude>**/*.log</exclude>
+
+ <!-- Specific files/folders to exclude -->
+ <exclude>pom.xml</exclude>
+ <exclude>**/target</exclude>
+ <exclude>**/target/**/*</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+</component>
|