Showing posts with label plugin. Show all posts
Showing posts with label plugin. Show all posts
Wednesday, April 17, 2013
Confluence Publisher Plugin with Jenkins
Confluence Publisher Plugin with Jenkins
I integrated confluence publisher plugin with Jenkins. Here are the steps, it may be helpful to some one.
I followed the doxumentation at
https://wiki.jenkins-ci.org/display/JENKINS/Confluence+Publisher+Plugin
1) First I installed the confluence publisher plugin in jenkins. https://wiki.jenkins-ci.org/display/JENKINS/Confluence+Publisher+Plugin
Monday, October 29, 2012
Tomcat Maven Plugin Remote Debugging using Eclipse
I am developing a maven based web application. i am running the application with tomcat maven plugin like
mvn tomcat:run
I want to debug the application from eclipse.
Thank you.
Regards,
Kaleeswaran.S
mvn tomcat:run
I want to debug the application from eclipse.
Step 1:
export MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512m" which allocates 512 MB of memory.
Step 2:
export MAVEN_OPTS="-agentlib:jdwp=transport=dt_socket,address=2480,server=y,suspend=n"
Step 3:
run the application like mvn tomcat:run
step 4:
connect to port 2480 in eclipse remote debugging.
Enjoy. Happy Debugging.
-- Thank you.
Regards,
Kaleeswaran.S
Thursday, May 24, 2012
Compile Jasper reports with Maven Plugin
jasperreports-maven-plugin is a plugin which is used to convert all the jrxml files(Designed templtes) to .jasper files.
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jasperreports-maven-plugin</artifactId>
<version>1.0-beta-2</version>
<executions>
<execution>
<goals>
<goal>compile-reports</goal>
</goals>
<configuration>
<!-- jrxml file directory-->
<sourceDirectory>src\\main\\resources\\reports\\template</sourceDirectory>
<sourceFileExt>.jrxml</sourceFileExt>
<compiler>net.sf.jasperreports.engine.design.JRJavacCompiler</compiler>
<!-- Destination for jasper file -->
<outputDirectory>src\\main\\resources\\reports\\jasper</outputDirectory>
</configuration>
</execution>
</executions>
<dependencies>
<!-- These plugins are used to specify correct version for jrxml xml validation -->
<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>4.5.0</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
Add it in pom.xml. This is will do the compilation.
Regards,
Kaleeswaran.S
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jasperreports-maven-plugin</artifactId>
<version>1.0-beta-2</version>
<executions>
<execution>
<goals>
<goal>compile-reports</goal>
</goals>
<configuration>
<!-- jrxml file directory-->
<sourceDirectory>src\\main\\resources\\reports\\template</sourceDirectory>
<sourceFileExt>.jrxml</sourceFileExt>
<compiler>net.sf.jasperreports.engine.design.JRJavacCompiler</compiler>
<!-- Destination for jasper file -->
<outputDirectory>src\\main\\resources\\reports\\jasper</outputDirectory>
</configuration>
</execution>
</executions>
<dependencies>
<!-- These plugins are used to specify correct version for jrxml xml validation -->
<dependency>
<groupId>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>4.5.0</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
Add it in pom.xml. This is will do the compilation.
Regards,
Kaleeswaran.S
Subscribe to:
Posts (Atom)








