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

2 comments:
Confluence Publisher Plugin with Jenkins

I integrated confluence publisher plugin with Jenkins. Here are the steps, it may be helpful to some one.

1) First I installed the confluence publisher plugin in jenkins.

2) Created a account in confluence (on demand service).

3) Get the Server Base Url,




Wiki Url will be like,





4) Configure this Confluence Url in jenkins global configuration



5) Then confgiure which file need to be uploaded in Specific job configuration




6) The specified files will be uploaded to the confluence, the jenkins console will be like,




7) Attached files can be found in confluence in the link





Thats it. Enjoy Happy Coding :).

Additional Info :



--
Thank you.


Regards,
Kaleeswaran.S
Read More

Monday, October 29, 2012

Tomcat Maven Plugin Remote Debugging using Eclipse

No comments:
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.

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

Read More

Thursday, May 24, 2012

Compile Jasper reports with Maven Plugin

2 comments:
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

Read More