Skip to content

Commit

Permalink
Issue #766: remove sevntu-checkstyle-maven-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rdiachenko authored and romani committed Jul 21, 2019
1 parent b053d0f commit 7744a02
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 218 deletions.
9 changes: 0 additions & 9 deletions .ci/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@ eclipse-cs)
mvn -e javadoc:javadoc
;;

maven-plugin)
cd sevntu-checks
mvn -e clean install -Dmaven.test.skip=true -Pno-validations
cd ..
cd sevntu-checkstyle-maven-plugin
mvn -e verify
mvn -e javadoc:javadoc
;;

idea-extension)
cd sevntu-checks
mvn -e clean install -Dmaven.test.skip=true -Pno-validations
Expand Down
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ matrix:
- DESC="eclipse-cs"
- CMD="./.ci/travis.sh eclipse-cs"

# maven-plugin
- jdk: openjdk8
env:
- DESC="maven-plugin"
- CMD="./.ci/travis.sh maven-plugin"

# idea-extension
- jdk: openjdk8
env:
Expand Down
3 changes: 1 addition & 2 deletions README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ h3. Information "!https://secure.travis-ci.org/sevntu-checkstyle/sevntu.checksty

sevntu-checks: !https://img.shields.io/maven-central/v/com.github.sevntu-checkstyle/sevntu-checks.svg?label=Maven%20Central!:https://search.maven.org/search?q=g:%22com.github.sevntu-checkstyle%22%20AND%20a:%22sevntu-checks%22
sevntu-checkstyle-idea-extension:!https://img.shields.io/maven-central/v/com.github.sevntu-checkstyle/sevntu-checkstyle-idea-extension.svg?label=Maven%20Central!:https://search.maven.org/search?q=g:%22com.github.sevntu-checkstyle%22%20AND%20a:%22sevntu-checkstyle-idea-extension%22
sevntu-checkstyle-maven-plugin:!https://img.shields.io/maven-central/v/com.github.sevntu-checkstyle/sevntu-checkstyle-maven-plugin.svg?label=Maven%20Central!:https://search.maven.org/search?q=g:%22com.github.sevntu-checkstyle%22%20AND%20a:%22sevntu-checkstyle-maven-plugin%22
sevntu-checkstyle-sonar-plugin:!https://img.shields.io/maven-central/v/com.github.sevntu-checkstyle/sevntu-checkstyle-sonar-plugin.svg?label=Maven%20Central!:https://search.maven.org/search?q=g:%22com.github.sevntu-checkstyle%22%20AND%20a:%22sevntu-checkstyle-sonar-plugin%22
eclipsecs-sevntu-plugin: "all versions":https://github.com/sevntu-checkstyle/sevntu.checkstyle/tree/gh-pages/update-site/plugins

Expand All @@ -28,4 +27,4 @@ Hidoyatov Victor, Troshin Sergey, Svinukhov Vladimir, "Ilia Dubinin":https://git
"Aleksey Grigirov":https://github.com/KTannenberg, Alexander Berezovsky, "Sergey Burtsev":https://github.com/burtsevsergey, "Baratali Izmailov":https://github.com/baratali, "Max Vetrenko":https://github.com/maxvetrenko,
"Pavel Baranchikov":https://github.com/pbaranchikov , "Ashutosh Agarwal":https://github.com/Radsaggi, "Alexey Nesterenko":https://github.com/alexkravin. , ...... for whole list please look at "contributors list":https://github.com/sevntu-checkstyle/sevntu.checkstyle/network/members .

The "Jsr305AnnotationsCheck" is based on the "JSR305CheckstylePlugin":https://github.com/bjrke/JSR305CheckstylePlugin by "Jan Burkhardt":https://github.com/bjrke with contributions from Mattias Nissler, Thorsten Ehlers, Fabian Loewner and Ole Langbehn.
The "Jsr305AnnotationsCheck" is based on the "JSR305CheckstylePlugin":https://github.com/bjrke/JSR305CheckstylePlugin by "Jan Burkhardt":https://github.com/bjrke with contributions from Mattias Nissler, Thorsten Ehlers, Fabian Loewner and Ole Langbehn.
31 changes: 2 additions & 29 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ PROJECT_NAME="sevntu.checkstyle"
GH_SEVNTU_HOMR_DIR="$GH_SEVNTU_DIR/$PROJECT_NAME"
GITHUB_PROJECT="sevntu-checkstyle/$PROJECT_NAME"

usage="$(basename "$0") [--help --all --eclipse-cs --sonar --maven --idea]
usage="$(basename "$0") [--help --all --eclipse-cs --sonar --idea]
where:
--help show this help text
--all deploy all projects;
--eclipse-cs deploy only 'sevntu-checkstyle-eclipsecs-plugin' project;
--sonar deploy only 'sevntu-checkstyle-sonar-plugin' project;
--maven deploy only 'sevntu-checkstyle-maven-plugin' project;
--idea deploy only 'sevntu-checkstyle-idea-extension' project;
--maven-central deploy to maven central;
--gh-pages deploy only gh-pages binaries with version argument;
Expand Down Expand Up @@ -129,9 +128,6 @@ deployToMavenCentral()
exit 1
fi

cd $SEVNTU_DIR/sevntu-checkstyle-maven-plugin/
mvn clean deploy -DskipStaging=false -Pgpg

cd $SEVNTU_DIR/sevntu-checkstyle-idea-extension/
mvn clean deploy -DskipStaging=false -Pgpg

Expand All @@ -141,22 +137,6 @@ deployToMavenCentral()
return
}

deployMavenPlugin()
{
echo "Deploying Maven Plugin"
cd $SEVNTU_DIR/sevntu-checkstyle-maven-plugin/
mvn clean deploy -Plocal-deploy -DdeployDir=$GH_SEVNTU_HOMR_DIR
if [ "$?" != "0" ]
then
echo "build for $SEVNTU_DIR/sevntu-checkstyle-maven-plugin/."
exit 1
fi

cd $GH_SEVNTU_HOMR_DIR
echo "$manualDeploy"
return
}

deploySonar()
{
echo "Deploying Sonar"
Expand Down Expand Up @@ -184,7 +164,7 @@ deployToGhPages()
CURRENT_COMMIT=$(git rev-parse HEAD)
git push origin $CURRENT_COMMIT:gh-pages
return
}
}

if [ $# -eq 0 ]
then
Expand All @@ -201,7 +181,6 @@ do
--all)
prepareForDeploy
deployMavenLibrary
deployMavenPlugin
deployEclipse
deployIdea
deploySonar
Expand All @@ -220,12 +199,6 @@ do
deploySonar
shift 1
;;
--maven)
prepareForDeploy
deployMavenLibrary
deployMavenPlugin
shift 1
;;
--idea)
prepareForDeploy
deployMavenLibrary
Expand Down
11 changes: 1 addition & 10 deletions pom-version-bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ fi
POM_FILES=(eclipse-pom.xml
sevntu-checks/pom.xml
sevntu-checkstyle-idea-extension/pom.xml
sevntu-checkstyle-maven-plugin/pom.xml
sevntu-checkstyle-sonar-plugin/pom.xml
)
for i in "${POM_FILES[@]}"
Expand All @@ -40,15 +39,7 @@ do
mv $i.new $i
done

#additional version reference in dependency
FILE=sevntu-checkstyle-maven-plugin/pom.xml
echo "Updating: "$FILE
xmlstarlet ed --ps -N pom="http://maven.apache.org/POM/4.0.0" \
-u '//pom:project/pom:dependencies/pom:dependency[pom:artifactId="sevntu-checks"]/pom:version' -v $NEW_VERSION \
$FILE > $FILE.new
mv $FILE.new $FILE

#additional version reference, eclipse file
#additional version reference, eclipse file
FILE=eclipsecs-sevntu-plugin-feature/feature.xml
echo "Updating: "$FILE
xmlstarlet ed --ps \
Expand Down
125 changes: 0 additions & 125 deletions sevntu-checkstyle-maven-plugin/pom.xml

This file was deleted.

This file was deleted.

0 comments on commit 7744a02

Please sign in to comment.