Skip to content

Commit

Permalink
minor fixes and Maven plugin version stepping
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasWeise committed Jan 7, 2020
1 parent 82452a3 commit 0c283bc
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 16 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ First, you need to add the following repository, which is a repository that can
```

Than you can add the dependency on our `aitoa-code` repository into your `dependencies` section.
Here, `0.8.20` is the current version of `aitoa-code`.
Here, `0.8.21` is the current version of `aitoa-code`.
Notice that you may have more dependencies in your `dependencies` section, say on `junit`, but here I just put the one for `aitoa-code` as example.

```xml
<dependencies>
<dependency>
<groupId>com.github.thomasWeise</groupId>
<artifactId>aitoa-code</artifactId>
<version>0.8.20</version>
<version>0.8.21</version>
</dependency>
</dependencies>
```
Expand Down
22 changes: 11 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>aitoa</groupId>
<artifactId>aitoa-code</artifactId>
<version>0.8.20</version>
<version>0.8.21</version>
<packaging>jar</packaging>
<name>aitoa-code</name>
<description>Example Source Codes from the Book "Introduction to Optimization Algorithms"</description>
Expand Down Expand Up @@ -43,9 +43,9 @@
<project.build.sourceEncoding>${encoding}</project.build.sourceEncoding>
<project.reporting.outputEncoding>${encoding}</project.reporting.outputEncoding>
<java.source.version>1.8</java.source.version>
<junit.version>4.12</junit.version>
<oshi.version>4.2.1</oshi.version>
<slf4j.version>1.7.29</slf4j.version>
<junit.version>4.13</junit.version>
<oshi.version>4.3.0</oshi.version>
<slf4j.version>1.7.30</slf4j.version>
<project.mainClass>aitoa.examples.jssp.JSSPExperiment</project.mainClass>
</properties>

Expand Down Expand Up @@ -125,7 +125,7 @@
<!-- The Maven Java Compiler plugin. -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<version>3.8.1</version>
<configuration>
<source>${java.source.version}</source>
<target>${java.source.version}</target>
Expand All @@ -139,14 +139,14 @@
<!-- The plugin for running the tests. -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M3</version>
<version>3.0.0-M4</version>
</plugin>

<plugin>
<!-- The JavaDoc generating and packaging plugin. -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.0 </version>
<version>3.1.1 </version>
<configuration>
<show>private</show>
<detectLinks>true</detectLinks>
Expand All @@ -168,7 +168,7 @@
<!-- A plugin for generating a source jar. -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.0</version>
<version>3.2.0</version>
<configuration>
<includePom>true</includePom>
<useDefaultExcludes>true</useDefaultExcludes>
Expand All @@ -188,7 +188,7 @@
<!-- The plugin for generating the actual jar archive. -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.1</version>
<version>3.2.0</version>
<configuration>
<archive>
<manifest>
Expand All @@ -203,7 +203,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
Expand Down Expand Up @@ -262,7 +262,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>3.0.0-M3</version>
<version>3.0.0-M5</version>
</plugin>
</plugins>
</reporting>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,11 @@ public Greedy2p1GAmod(final int _m) {
/** {@inheritDoc} */
@Override
public String toString() {
return "Greedy(2+1)GAmod" + this.m; //$NON-NLS-1$
final String s = "Greedy(2+1)GAmod"; //$NON-NLS-1$
if (this.m != 1) {
return s + this.m;
}
return s;
}

/** {@inheritDoc} */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,11 @@ public Greedy2p1GAmodFFA(final int _m, final int _UB) {
/** {@inheritDoc} */
@Override
public String toString() {
return "Greedy(2+1)GAmodFFA" + this.m; //$NON-NLS-1$
final String s = "Greedy(2+1)GAmodFFA"; //$NON-NLS-1$
if (this.m != 1) {
return s + this.m;
}
return s;
}

/** {@inheritDoc} */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public SelfAdjustingOpLcLGAmodFFA(final int _UB) {
/** {@inheritDoc} */
@Override
public String toString() {
return "SelfAdjusting(1+(LcL))GAmod"; //$NON-NLS-1$
return "SelfAdjusting(1+(LcL))GAmodFFA"; //$NON-NLS-1$
}

/** {@inheritDoc} */
Expand Down

0 comments on commit 0c283bc

Please sign in to comment.