[Pogamut-list] Set Port, Multiple Servers
michal.bida
pogamut-forum at diana.ms.mff.cuni.cz
Wed Jul 11 10:53:47 CEST 2012
Re: Set Port, Multiple Servers
Author: michal.bida
Just change the dependency in your pom.xml file - instead of 3.3.0, put 3.3.1-SNAPSHOT to the version of pogamut libraries you are using. E.g.:
{CODE()}
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>cz.cuni.amis.pogamut.ut2004</groupId>
<artifactId>pogamut-ut2004-bot-pom</artifactId>
<version>3.3.1-SNAPSHOT</version>
</parent>
<groupId>com.mycompany</groupId>
<artifactId>02-UT2004NavigationBot</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>02-navigation-bot</name>
<url>http://pogamut.cuni.cz/pogamut_files/latest/doc/tutorials/02-navigationBot.html</url>
<properties>
<bot.main.class>com.mycompany.ut2004navigationbot.NavigationBot</bot.main.class>
</properties>
<repositories>
<repository>
<id>amis-artifactory</id>
<name>AMIS Artifactory</name>
<url>http://diana.ms.mff.cuni.cz:8081/artifactory/repo</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.dstovall</groupId>
<artifactId>onejar-maven-plugin</artifactId>
<version>1.4.4</version>
<configuration>
<mainClass>${bot.main.class}</mainClass>
</configuration>
</plugin>
</plugins>
</build>
</project>
{CODE}
I have deployed the new version of pogamut-ut2004 artifact manually so it should be now online.
By downloading the latest nightly build you have meant getting the compiled jar files and use them as a dependency? (this might have not worked, because the change was not yet in the nightly build)
--
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_reply_threadId=4&comments_parentId=999&post_reply=1#form>
More information about the Pogamut-list
mailing list