Hi guys
When I run atlas-run, my local JIRA starts up in tomcat7. When I run atlas-run --container tomcat6x, JIRA is started up in tomcat6x. Because I don't want to include this parameter every time (and so our CI runs the plugin in tomcat6 aswell), I want to add this configuration to my POM.xml. How can I do this? Here is the relevant part of my pom:
<build> <plugins> <plugin> <groupId>com.atlassian.maven.plugins</groupId> <artifactId>maven-jira-plugin</artifactId> <version>${amps.version}</version> <extensions>true</extensions> <configuration> <server>localhost</server> <productVersion>${jira.version}</productVersion> <productDataVersion>${jira.data.version}</productDataVersion> <productDataPath>${basedir}/src/test/resources/generated-test-resources.zip</productDataPath> <log4jProperties>src/test/resources/log4j.properties</log4jProperties> </configuration> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.6</source> <target>1.6</target> </configuration> </plugin> </plugins> </build>
I tried adding <container>tomcat6x</container> to my build.plugins.plugin.configuration, but this did not work.
I am using the Atlassian-SDK 4.2.3.
Thank you.
Community moderators have prevented the ability to post new answers.
The maven-jira-plugin is part of AMPS. According to this documentation, the required argument is called containerId. Can you try adding this one to your configuration section and see if it works?
Thanks Tom! Works like a charm!
...
<configuration> <server>localhost</server> <productVersion>${jira.version}</productVersion> <productDataVersion>${jira.data.version}</productDataVersion> <productDataPath>${basedir}/src/test/resources/generated-test-resources.zip</productDataPath> <log4jProperties>src/test/resources/log4j.properties</log4jProperties> <containerId>tomcat6x</containerId> </configuration>
...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.