Permalink
Browse files

Merge branch 'develop' of github.com:movsim/movsim into develop

essary,
  • Loading branch information...
akegermany committed Aug 29, 2018
2 parents b6e16bf + 37d8767 commit 4439735d840eebde2d961164d6e1862e2847e7ef
View
@@ -11,6 +11,9 @@ csv/
# git merge files
*.orig
# java misson control
*.jfr
########
# IDEs #
@@ -48,6 +51,9 @@ out/
logs/
classes/
# maven
dependency-reduced-pom.xml
# Log file
*.log
View
@@ -26,28 +26,6 @@
<version>2.3</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- build executable jar with all dependencies -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<!--<version></version>-->
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
View
@@ -25,33 +25,39 @@
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- build executable jar with all dependencies -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<!-- <version> </version> -->
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>org.movsim.consumption.ConsumptionMain</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>jar-with-dependencies</shadedClassifierName>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer">
</transformer>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>org.movsim.MovsimCoreMain</Main-Class>
</manifestEntries>
</transformer>
</transformers>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
View
@@ -32,33 +32,39 @@
<version>0.8.3</version>
</dependency>
</dependencies>
<build>
<plugins>
<!-- build executable jar with all dependencies -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<!-- <version> </version> -->
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<archive>
<manifest>
<mainClass>org.movsim.MovsimCoreMain</mainClass>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>jar-with-dependencies</shadedClassifierName>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer">
</transformer>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<manifestEntries>
<Main-Class>org.movsim.MovsimCoreMain</Main-Class>
</manifestEntries>
</transformer>
</transformers>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
@@ -483,11 +483,12 @@ private static void joinByLanes(RoadNetwork roadNetwork, Road road, List<Lane> l
roadSegment);
}
}
if (lane.getLink().isSetSuccessor()) {
if (!hasRoadSuccessor(road)) {
throw new IllegalArgumentException(
"successor lane link but no road link defined for road=" + road.getId());
}
if (lane.getLink().isSetSuccessor() && !road.isSetJunction()) {
if (!hasRoadSuccessor(road)) {
throw new IllegalArgumentException(
"successor lane link but no road link defined for road=" + road.getId() + " name="
+ road.getName() + " junction=" + road.getJunction() + " lane=" + lane.getId());
}
int fromLane = lane.getId();
RoadSegment roadSegment = getRoadSegment(roadNetwork, road.getId(), fromLane);
int toLane = lane.getLink().getSuccessor().getId();
View
18 pom.xml
@@ -16,8 +16,8 @@
<projectVersion>${project.version}</projectVersion>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
<findbugs-maven-plugin.version>3.0.1</findbugs-maven-plugin.version>
<maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version>
<!-- dependency version -->
<jdom.version>2.0.2</jdom.version>
<jaxb2-basics.version>1.11.1</jaxb2-basics.version>
@@ -145,12 +145,6 @@
<artifactId>log4j-core</artifactId>
<version>2.11.0</version>
</dependency>
<!--<dependency>-->
<!--<groupId>log4j</groupId>-->
<!--<artifactId>log4j</artifactId>-->
<!--<version>1.2.16</version>-->
<!--<type>jar</type>-->
<!--</dependency>-->
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
@@ -210,15 +204,5 @@
<scope>test</scope>
</dependency>
</dependencies>
<reporting>
<!-- mvn site -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
</plugin>
</plugins>
</reporting>
</project>
Oops, something went wrong.

0 comments on commit 4439735

Please sign in to comment.