Skip to content

Commit

Permalink
Initial import (#1)
Browse files Browse the repository at this point in the history
* Initial import of apache zookeeper stable patch

* Action to publish test reports

* Redirect test output to files

* Update package descriptions, keep server packages out for now

* Disable surefire reports publishing

---------
  • Loading branch information
arusevm authored Sep 16, 2024
1 parent 429167d commit a454479
Show file tree
Hide file tree
Showing 11 changed files with 1,721 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Logs or Screenshots**
If applicable, add logs or screenshots to help explain your problem.

**Platform (please complete the following information):**
- OS: [e.g. Linux]
- Version [e.g. 5]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "maven"
directory: "/"
schedule:
interval: "weekly"
45 changes: 45 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Java CI with Maven

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

# allow 'Update dependency graph' step below to submit the generated graph
permissions:
contents: write
pull-requests: write

steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -Dsurefire.rerunFailingTestsCount=2 -B package --file pom.xml

# Optional: Uploads the full dependency graph to GitHub to improve the quality of Dependabot alerts this repository can receive
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
continue-on-error: true

# - name: Publish Test Report
# if: success() || failure()
# uses: scacap/action-surefire-report@v1
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
target/
build/
.settings/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties
# https://github.com/takari/maven-wrapper#usage-without-binary-jar
.mvn/wrapper/maven-wrapper.jar

# Eclipse m2e generated files
# Eclipse Core
.project
# JDT-specific (Eclipse Java Development Tools)
.classpath

*.asc
*.md5
*.sha1
177 changes: 177 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2024 Mishmash IO UK Ltd.
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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.mishmash.apache</groupId>
<artifactId>mmio-for-apache-parent</artifactId>
<version>0.0.1</version>
<packaging>pom</packaging>

<name>Modifications and extensions of ASF projects, by mishmash io</name>
<description>
Contains modifications and extensions of Apache Software Foundation projects, developed by mishmash io.

Includes security updates, reduced-dependecy packages and other. Visit our website and github for more.
</description>
<url>https://mishmash.io/open_source/apache_big_data</url>

<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>

<organization>
<name>mishmash io</name>
<url>https://mishmash.io</url>
</organization>

<scm>
<connection>scm:git:https://github.com/mishmash-io/for-apache.git</connection>
<developerConnection>scm:git:https://github.com/mishmash-io/for-apache.git</developerConnection>
<url>https://github.com/mishmash-io/for-apache</url>
</scm>

<developers>
<developer>
<name>Ivan Kountchev</name>
<email>[email protected]</email>
<organization>mishmash io</organization>
<organizationUrl>https://mishmash.io</organizationUrl>
<roles>
<role>developer</role>
</roles>
</developer>
<developer>
<name>Andrey Rusev</name>
<email>[email protected]</email>
<url>www.linkedin.com/in/andrey-rusev-21894172</url>
<organization>mishmash io</organization>
<organizationUrl>https://mishmash.io</organizationUrl>
<roles>
<role>architect</role>
</roles>
</developer>
</developers>

<properties>
<!-- Apache ZooKeeper versions -->
<zookeeper.stable.version>3.8.3</zookeeper.stable.version>
<zookeeper.stable.mishmash.io.patch>2</zookeeper.stable.mishmash.io.patch>

<zookeeper.original.version>3.8.3</zookeeper.original.version>
<mishmash.io.patch>2</mishmash.io.patch>

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<modules>
<module>zookeeper/stable</module>
<module>zookeeper/stable-common</module>
<module>zookeeper/stable-client</module>
<!--module>zookeeper/stable-server</module>
<module>zookeeper/stable-server-metrics</module-->
</modules>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.googlecode.maven-download-plugin</groupId>
<artifactId>download-maven-plugin</artifactId>
<version>1.9.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-patch-plugin</artifactId>
<version>1.2</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.6.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.1</version>
<executions>
<execution>
<id>sources-jar</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.10.0</version>
<executions>
<execution>
<id>javadoc-jar</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<failOnError>false</failOnError>
<failOnWarnings>false</failOnWarnings>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.0</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>5.1.9</version>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
Loading

0 comments on commit a454479

Please sign in to comment.