4.0.0 org.opengrok opengrok-top 1.7.32 tools 1.7.32 pom OpenGrok tools python3 ${project.build.directory}/env/bin ${project.version} 119 default true false Windows python environment Windows python ${project.build.directory}/env/Scripts skipTestsRun skipTests true specificTestRun test true src/main/python src/test/python org.apache.maven.plugins maven-resources-plugin 3.1.0 copy package source files compile copy-resources ${project.build.directory}/src ${basedir}/src copy version file and replace the OpenGrok version in it compile copy-resources ${project.build.directory}/src/main/python/opengrok_tools ${basedir}/src/main/python/opengrok_tools version.py true copy top level package resources compile copy-resources ${project.build.directory} ${basedir} MANIFEST.in README-dist.txt setup.py setup.cfg copy logging.properties.template to dist package copy-resources ${project.build.directory}/dist ${basedir} logging.properties.template org.codehaus.mojo exec-maven-plugin 1.6.0 Generate python env ${python.system.executable} ${project.build.directory} -m venv env test exec Upgrade pip and install/upgrade other packages ${python.environment}/python ${project.build.directory} -m pip install --upgrade pip setuptools certifi wheel test exec Generate python package exec ${python.environment}/python ${project.build.directory} setup.py sdist --formats gztar package Install python package for tests/pylint ${python.environment}/python ${project.build.directory} setup.py install ${skipPythonTests} test exec Install python lint and flake8 ${python.environment}/python ${project.build.directory} -m pip install pylint flake8 verify exec Python lint ${python.environment}/python ${project.build.directory} -m pylint --max-line-length ${python.checkstyle.line-length} -E ${project.build.sourceDirectory}/opengrok_tools ${project.build.directory}/setup.py ${skipPythonTests} verify exec Python flake8 ${python.environment}/python ${project.build.directory} -m flake8 --max-line-length ${python.checkstyle.line-length} -v ${project.build.sourceDirectory} ${project.build.testSourceDirectory} setup.py verify exec Test python package ${python.environment}/python ${project.build.directory} ${python.environment}:${env.PATH} setup.py test ${skipPythonTests} test exec org.apache.maven.plugins maven-checkstyle-plugin