Skip to content

Commit

Permalink
#337 parent up
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 19, 2022
1 parent bbbe813 commit 0acab67
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 75 deletions.
5 changes: 3 additions & 2 deletions .rultor.yml
@@ -1,3 +1,5 @@
docker:
image: yegor256/rultor-image:1.9.1
architect:
- yegor256
- andreoss
Expand All @@ -13,8 +15,7 @@ merge:
release:
pre: false
script: |-
env
export JAVA_HOME=/usr/lib/jvm/default-java
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
mvn versions:set "-DnewVersion=${tag}" --batch-mode
git commit -am "${tag}"
mvn clean deploy -Pqulice -Psonatype -Pjcabi --batch-mode --errors --settings ../settings.xml
Expand Down
72 changes: 1 addition & 71 deletions pom.xml
Expand Up @@ -33,7 +33,7 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
<parent>
<groupId>com.jcabi</groupId>
<artifactId>jcabi</artifactId>
<version>1.30.0</version>
<version>1.33.0</version>
</parent>
<artifactId>jcabi-http</artifactId>
<version>2.0-SNAPSHOT</version>
Expand Down Expand Up @@ -319,13 +319,6 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
</dependencyManagement>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<executions>
Expand All @@ -337,69 +330,6 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<configuration>
<output>file</output>
<outputDirectory>${project.build.directory}/coverage</outputDirectory>
</configuration>
<executions>
<execution>
<id>jacoco-initialize</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>jacoco-check</id>
<phase>test</phase>
<goals>
<goal>check</goal>
<goal>report</goal>
</goals>
<configuration>
<rules>
<rule>
<element>BUNDLE</element>
<limits>
<limit>
<counter>INSTRUCTION</counter>
<value>COVEREDRATIO</value>
<minimum>0.62</minimum>
</limit>
<limit>
<counter>LINE</counter>
<value>COVEREDRATIO</value>
<minimum>0.82</minimum>
</limit>
<limit>
<counter>BRANCH</counter>
<value>COVEREDRATIO</value>
<minimum>0.33</minimum>
</limit>
<limit>
<counter>COMPLEXITY</counter>
<value>COVEREDRATIO</value>
<minimum>0.44</minimum>
</limit>
<limit>
<counter>METHOD</counter>
<value>COVEREDRATIO</value>
<minimum>0.64</minimum>
</limit>
<limit>
<counter>CLASS</counter>
<value>MISSEDCOUNT</value>
<maximum>1</maximum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
Expand Down
4 changes: 2 additions & 2 deletions src/site/site.xml
Expand Up @@ -37,7 +37,7 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
<bannerLeft>
<name>jcabi</name>
<src>https://www.jcabi.com/logo-square.svg</src>
<href>http://www.jcabi.com/</href>
<href>https://www.jcabi.com/</href>
<width>64</width>
<height>64</height>
</bannerLeft>
Expand All @@ -50,7 +50,7 @@ OF THE POSSIBILITY OF SUCH DAMAGE.
<menu name="Overview">
<item name="Introduction" href="index.html"/>
<item name="JavaDoc ${project.version}" href="./apidocs-${project.version}/index.html"/>
<item name="Test coverage" href="./cobertura/index.html"/>
<item name="Test coverage" href="./jacoco/index.html"/>
<item name="Release History" href="https://github.com/jcabi/jcabi-http/releases"/>
</menu>
<menu name="Best Practices">
Expand Down

0 comments on commit 0acab67

Please sign in to comment.