<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Plugin Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/plugin/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/plugin/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:33:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How to Add Facebook Comment in HTML page</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-add-facebook-comment-in-html-page/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-add-facebook-comment-in-html-page/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Tue, 04 May 2021 12:24:49 +0000</pubDate>
				<category><![CDATA[Websites]]></category>
		<category><![CDATA[Comment]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Website]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6082</guid>

					<description><![CDATA[<p>In this tutorial I’m going to describe how to add facebook comment in html page, please follow some easy steps [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-add-facebook-comment-in-html-page/">How to Add Facebook Comment in HTML page</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph" id="2366">In this tutorial I’m going to describe how to add facebook comment in html page, please follow some easy steps its helpful for you.</p>



<p class="wp-block-paragraph" id="e6e9">1st step go to Facebook for Developers&nbsp;<a href="https://developers.facebook.com/docs/plugins/comments">Facebook comment</a></p>



<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/1317/1*Qn0XpGm3H8ipM4dolWV2QQ.png" alt=""/></figure>



<p class="wp-block-paragraph" id="96b9">2 nd step: Paste your website URL which website you want to show facebook comment.</p>



<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/1152/1*CeCnFeVJzyfqGmpdaIRSvQ.png" alt=""/></figure>



<p class="wp-block-paragraph" id="cef7">Next you’ll get Code 1st code put in after body tag and 2nd put in where you want to show Facebook comment section in your page.</p>



<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/1173/1*pd9pVOf_Hh1J30Wcoxe7AA.png" alt=""/></figure>



<p class="wp-block-paragraph" id="58fb">Go to you page and Copy below code and paste below the body tag.</p>



<pre class="wp-block-preformatted">&lt;div id="fb-root"&gt;&lt;/div&gt;<br> &lt;script async defer crossorigin="anonymous" src="<a href="https://connect.facebook.net/en_GB/sdk.js#xfbml=1&amp;version=v10.0&amp;appId=427021281892903&amp;autoLogAppEvents=1">https://connect.facebook.net/en_GB/sdk.js#xfbml=1&amp;version=v10.0&amp;appId=427021281892903&amp;autoLogAppEvents=1</a>" nonce="IFt1dfew"&gt;&lt;/script&gt;</pre>



<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/1366/1*5OUvZOEjcxPr5Lin5EC_3w.png" alt=""/></figure>



<p class="wp-block-paragraph" id="5ddf">Next step Copy below code and simply paste there where you want to show Facebook comment in your html page.</p>



<pre class="wp-block-preformatted">&lt;!-- fb comment show here  --&gt;<br>&lt;div class="fb-comments" data-href="http://www.surgeryplanet.com/" data-width="100%" data-numposts="10"&gt;&lt;/div&gt;<br>&lt;!-- fb comment show end  --&gt;</pre>



<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/1366/1*U2ykCdniZqWS_K-rwgA2cg.png" alt=""/></figure>



<p class="wp-block-paragraph" id="1593">Next in your page facebook comment is working as like this-&gt;</p>



<figure class="wp-block-image"><img decoding="async" src="https://miro.medium.com/max/5416/1*dcXrUUUXcnXLKI5OrMz8NA.png" alt=""/></figure>



<p class="wp-block-paragraph" id="8592">Thanks <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f64f.png" alt="🙏" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f64f.png" alt="🙏" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-add-facebook-comment-in-html-page/">How to Add Facebook Comment in HTML page</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-add-facebook-comment-in-html-page/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Writing a Custom Plugin for Maven</title>
		<link>https://www.scmgalaxy.com/tutorials/writing-a-custom-plugin-for-maven/</link>
					<comments>https://www.scmgalaxy.com/tutorials/writing-a-custom-plugin-for-maven/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 08 Jan 2018 12:03:04 +0000</pubDate>
				<category><![CDATA[Maven]]></category>
		<category><![CDATA[Custom Plugin for Maven]]></category>
		<category><![CDATA[How to create custom Maven plugins]]></category>
		<category><![CDATA[Maven Custom Plugin]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Write custom Maven plugins]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4545</guid>

					<description><![CDATA[<p>Introduction In this article, we will learn about Maven which is a project management framework that provides a configurable approach for managing software projects. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/writing-a-custom-plugin-for-maven/">Writing a Custom Plugin for Maven</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>In this article, we will learn about <strong><em>Maven</em></strong> which is a <strong><em>project management framework</em></strong> that provides a configurable approach for managing software projects. Maven covers all the necessary phases that happen right from project creation, building, documentation, reporting, installation and deployment. This article begins with the basics of Maven along with the concepts like Project Object Model (aka POM), the various life-cycles in Maven etc. Then it continues with using Maven for creating a project till installation of the project in a local repository. The latter part of the article provides details about creating custom Maven plugins that can be executed in stand-alone mode as well as part of some Maven life-cycle.</p>
<h2>Maven Custom Plug-In (Example Code)</h2>
<ul>
<li><a href="http://www.javabeat.net/articles/sourcecode/2010/072010-maven-custom-plugin.zip">Download Sample Program for Maven Custom Plug-In</a></li>
</ul>
<h2 id="MavenConcepts">Maven Concepts</h2>
<p>In this section, we will see the basics of Maven concepts like <strong><em>Project Object Model</em></strong>, the <strong><em>standard lifecycles</em></strong> available in Maven as well as the <strong><em>dependency scope</em></strong> that comes up while dealing with dependency with projects.</p>
<h3>Project Object Model</h3>
<p>Project information, its dependencies and the artifacts that can be built are described in <strong><em>POM</em></strong> which is essentially a configuration file in XML. POM basically contains instructions on what needs to be done during the various life-cycles that happen during a build. Note that the POM is not coupled to java projects, in fact the project can be written in any language like C, C# etc. For example, consider the sample minimal POM,</p>
<p>&nbsp;</p>
<pre><code>&lt;project&gt;

    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;

    &lt;name&gt;adder&lt;/name&gt;
    &lt;url&gt;http://www.javabeat.net/adder&lt;/url&gt;
    &lt;groupId&gt;net.javabeat.adder&lt;/groupId&gt;
    &lt;artifactId&gt;adder&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;

    &lt;dependencies&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;junit&lt;/groupId&gt;
            &lt;artifactId&gt;junit&lt;/artifactId&gt;
            &lt;version&gt;3.8.1&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;

&lt;/project&gt;</code></pre>
<p>Have a look at the above POM. It defines the information about the project and its dependant projects. We will look into more details about the various POM elements.</p>
<p>&nbsp;</p>
<ul>
<li>modelVersion – This defines the version of the POM.</li>
<li>name – The name of the project.</li>
<li>groupId – This identifies the group (or the organization) that created the project. This property usually takes the domain address which represents the group or the organization so that uniqueness is maintained across the groups.</li>
<li>artifactId – This identifies the artifact (output component) name that comes from a project. Artifacts can be anything like a JAR, WAR, EAR etc</li>
<li>version – This property identifies the version of the artifact. Usually the version takes the format as &#8220;majorVersion.minorVersion-qualifier&#8221;. For example, &#8220;1.1-alpha&#8221;, &#8220;1.2-beta&#8221;, &#8220;1.3-SNAPSHOT&#8221;. packaging – Represents the type of artifact, for example – jar, war, ear etc.</li>
</ul>
<p>In the next section in the POM, we have included the dependencies of the project. Note that this section is optional. If there are no dependencies for a project (which is unlikely the case), this can be omitted. However, in this example case, we have declared a dependency to junit and it is expected that the project will contain some test resources. It is always a good idea to define the version of the artifact while defining a dependency, so that during runtime, we are not facing any issues because of version match. We have mentioned the scope as test, more details about this element will follow in the forthcoming section.</p>
<h3>Dependency Scope</h3>
<p>A project can depend on a number of dependent projects and Maven provides a way for defining the dependencies among projects through configuration. One can control the level of dependency through scope and the default being &#8216;compile&#8217;. The following scopes are available.</p>
<p>&nbsp;</p>
<ul>
<li>Compile &#8211; This being the default scope will be available at the classpath during the compilation as well as during runtime.</li>
<li>Runtime &#8211; The presence of this scope ensures that the dependency will be available at the runtime and not during the compile-time. For example, one may use the Servlet API during the compilation phase, however the Servlet implementation (from Sun, Oracle, IBM etc) will be required during the runtime only.</li>
<li>Test &#8211; This scope ensures that the dependency is available during the compilation of the test resources as well as during the execution of the test resources.</li>
<li>Provided &#8211; This dependency is mostly used while developing J2EE applications where the dependency is available as part of the J2EE container (or any Container) and it is not necessary for the project to package the dependency as part of the artifact. For example, while developing Enterprise bean applications, as part of the project, we will be using EJB jar for compilation; however, we never package this jar as part of the project because the EJB container will provide this jar.</li>
</ul>
<h3>Build Life-cycle</h3>
<p>A <strong><em>life-cycle</em></strong> defines the execution for achieving a set of goals. Each life-cycle defines a sequence of phases for achieving the goals. The</p>
<h2>Maven Custom Plug-In (Example Code)</h2>
<ul>
<li><a href="http://www.javabeat.net/articles/sourcecode/2010/072010-maven-custom-plugin.zip">Download Sample Program for Maven Custom Plug-In</a></li>
</ul>
<h2 id="UsingMaven">Using Maven</h2>
<p>In this section, we will see how to use maven for creating, compiling, building, packaging and installing a project. Download the latest version of Maven from <a href="http://maven.apache.org/download.html">here</a>. Installation of maven will be as simple as un-zipping the downloaded file into a desired directory. In this example, we will be seeing the usage of various maven plugins and goals that contributes to the entire project life-cycle. Before proceeding with the sample, create an environment variable MAVEN_HOME that points to the Maven installation directory and ensure that the PATH variable contains %MAVEN_HOME/bin.</p>
<h3>Creating a project</h3>
<p>Execute the following command which is used to create the initial project structure.</p>
<p>&nbsp;</p>
<pre><code>mvn archetype:create -DgroupId=net.javabeat.emailservice -DartifactId=emailservice</code></pre>
<p>Note that in <code>archetype:create</code>, <code>archetype</code> represents the <strong><em>plugin prefix</em></strong> and <code>create</code> represents the <strong><em>goal</em></strong>. This <strong><em>goal</em></strong>creates a project with the name <code>emailservice</code>. As soon as this command is executed, one can see a directory called <code>emailservice</code> which has the <code>src</code> folder for holding the main java files, along with java files representing test-cases. The POM file with the name pom.file will also be created with the structure as follows,</p>
<p><strong>pom.xml</strong></p>
<pre><code>&lt;project&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;

    &lt;groupId&gt;net.javabeat.emailservice&lt;/groupId&gt;
    &lt;artifactId&gt;emailservice&lt;/artifactId&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;

    &lt;name&gt;emailservice&lt;/name&gt;
    &lt;url&gt;http://maven.apache.org&lt;/url&gt;

    &lt;dependencies&gt;
        &lt;dependency&gt;
            &lt;groupId&gt;junit&lt;/groupId&gt;
            &lt;artifactId&gt;junit&lt;/artifactId&gt;
            &lt;version&gt;3.8.1&lt;/version&gt;
            &lt;scope&gt;test&lt;/scope&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;

&lt;/project&gt;</code></pre>
<h3>Importing the project in Eclipse</h3>
<p>This step is optional for those who are not working with Eclipse being the IDE for developing the project. Change the current directory to <code>emailservice</code> and issue the following command. This goal <code>eclipse</code> creates the project metadata files that are complaint with Eclipse. As soon as the following goal is executed there will be two files generated in the current directory which are <code>.project</code> and <code>.classpath</code>. This is for Eclipse to understand so that the newly created project can be imported in Eclipse IDE to work with.</p>
<p>&nbsp;</p>
<pre><code>mvn eclipse:eclipse</code></pre>
<p>Now, for importing the project into Eclipse, Open Eclipse, go to File -&gt; Import -&gt; Existing Projects into Workspace and navigate to the directory containing the <code>.project</code> and <code>.classpath</code> files and Click OK. Now this project gets imported into Eclipse workspace.</p>
<h3>Adding files to project</h3>
<p>To make the project meaningful, we will add the following files into the main source folder.</p>
<p><strong>EMail.java</strong></p>
<pre><code>package net.javabeat.emailservice;

public class EMail {

    private String fromAddress;
    private String toAddress;
    private String subject;
    private String message;
    private String status;

    public String getFromAddress() {
        return fromAddress;
    }

    public void setFromAddress(String fromAddress) {
        this.fromAddress = fromAddress;
    }

    public String getToAddress() {
        return toAddress;
    }

    public void setToAddress(String toAddress) {
        this.toAddress = toAddress;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }		
}</code></pre>
<p>The above class represents the <code>Email</code> model object that will be used by <code>EmailService</code> class for sending email. Given below is the code listing for EMailService class.</p>
<p><strong>EMailService.java</strong></p>
<pre><code>package net.javabeat.emailservice;

public class EMailService {

    public EMail sendEmail(String fromAddress, String toAddress, String subject, String message){

        EMail emailObject = new EMail();
        emailObject.setFromAddress(fromAddress);
        emailObject.setToAddress(toAddress);
        emailObject.setSubject(subject);
        emailObject.setMessage(message);
        emailObject.setStatus("SUCCESS");

        System.out.println("Sending email from " + fromAddress + " to " + toAddress + "with subject "
		    + subject + " having the message contents " + message);
        return emailObject;
    }

</code></pre>
<p>In this section we will see how to write <strong><em>custom maven plugins</em></strong>. It is possible that the custom maven can be made to run outside the <strong><em>standard life-cycle phase</em></strong> or it can be made to be executed as part of the standard life-cycle phase. We will see how to accomplish both of these items in the following sections.</p>
<h3>Creating standalone plugins</h3>
<p>In this section, we will write a custom plugin and will see how to write it in stand-alone mode – i.e running the plugin directly without establishing any dependencies on any of the standard life-cycles available in Maven.</p>
<h4>Creating the project</h4>
<p>The first step is to create the project containing the custom maven plugin. This project is quite different from the regular java project because it is not a regular java artifact like JAR, WAR etc. Instead it is going to be a maven plugin. Issue the following command to create the <strong><em>maven plugin project</em></strong>.</p>
<p>&nbsp;</p>
<p><code>mvn archetype:create -DgroupId=net.javabeat.maven -DartifactId=environment-info -DarchetypeArtifactId=maven-archetype-mojo</code></p>
<p>The above command creates a project with the name environment-info with the standard directory layout containing the source and test resources. If you look into the POM file, the package type will be <code>maven-plugin</code> to indicate that this is a maven plugin project.</p>
<h4>Importing the project into Eclipse</h4>
<p>This step is optional and this is for someone who wishes to work with the project in Eclipse IDE. Issuing the following with the current directory being <code>environment-info</code> creates the Eclipse <code>.project</code> and <code>.classpath</code> files. Now, open Eclipse and go to File -&gt; Import -&gt; Existing Project into Workspace and specify the directory to &lt;&lt;path to environment-info&gt;&gt; directory.</p>
<p>&nbsp;</p>
<p><code>mvn eclipse:eclipse</code></p>
<h4>Creating the plugin</h4>
<p>In Maven, the plugin that achieves a specific task is called by the name <strong><em>MOJO</em></strong> (Maven Old Java Object similar to POJO). A <strong><em>MOJO</em></strong> defines the goal which is nothing but the custom action which is executed upon user&#8217;s request. In this example, we will see a custom MOJO that will define the goal of storing all the environmental properties in a text file upon execution. Have a look at the following code,</p>
<p><strong>EnvironmentInfoTask.java</strong></p>
<p><code>package net.javabeat.maven;  import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.util.Iterator; import java.util.Map;  import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException;  /**  * @goal env-info  */ public class EnvironmentInfoTask extends AbstractMojo{      /**      * @parameter       *     default-value="log.txt"      *     expression="${environment.filename}"      */     private String fileName; 	     /**      * @parameter       *     default-value="C:\\temp"      *     expression="${environment.base_dir}"      */     private File baseDirectory; 	     /**      * @parameter       *     default-value="true"      *     expression="${environment.loggingRequired}"     */	     private boolean loggingRequired; 	     public void execute() throws MojoExecutionException, MojoFailureException { 		         StringBuilder fileContents = new StringBuilder(); 		         if (baseDirectory.exists()){			             baseDirectory.mkdirs();             log("Created base directory '" + baseDirectory.getAbsolutePath() + "'");			         } 		         Map&lt;String, String&gt; environment = System.getenv();         Iterator&lt;Map.Entry&lt;String, String&gt;&gt; entries = environment.entrySet().iterator(); 		         fileContents.append("Environment Information:" + newLine());         fileContents.append("-----------------------------------------------------------" + newLine()); 		 		         while (entries.hasNext()){ 			             Map.Entry&lt;String, String&gt; entry = entries.next();             fileContents.append(entry.getKey() + "-------------&gt;" + entry.getValue() + newLine());         } 		         fileContents.append("-----------------------------------------------------------" + newLine());         writeToFile(fileContents);         log("File contents written");	     }      private void log(String message){ 		         if (loggingRequired){             System.out.println(message);         }     } 	     private static String newLine(){         return System.getProperty("line.separator");     } 	     private void writeToFile(StringBuilder fileContents){          FileWriter fWriter = null;         BufferedWriter bWriter = null;          try{			             fWriter = new FileWriter(baseDirectory + File.separator + fileName);             bWriter = new BufferedWriter(fWriter);             bWriter.write(fileContents.toString());			         }catch (Exception e){             log("Error in writing the contents to file -&gt;" + e.getMessage());         }finally{			             try{                 if (bWriter != null){                     bWriter.close();				                 }                 if (fWriter != null){                     fWriter.close();				                 }				             }catch (Exception e){                 log("Error in closing the resources -&gt;" + e.getMessage());             }         }     } }</code></p>
<p>The first thing to notice is the class <code>EnvironmentInfoTask</code> which is going to persist the environmental information into a file extends <code>AbstractMojo</code> class which in turn extends the <code>Mojo</code> interface. Note that the goal for this MOJO is annotated using <strong><em>XDoclet</em></strong> using <code>goal</code> attribute with the name <code>env-info</code>. The method that will be called during execution of the MOJO is <code>execute()</code>. This method does the job of persisting the environmental properties by taking information from the various properties .</p>
<p>&nbsp;</p>
<ul>
<li>Base Directory – the directory under which the log file name will be created which is of type &#8216;java.io.File&#8217;. Note that we have used XDoclet &#8216;parameter&#8217; for annotating this property. This property has the default value &#8216;C:\\temp&#8217; which means the this is the default location for the log file. However, this value can be overridden at runtime by specifying the property &#8216;environment.base_dir&#8217; which is an expression and its value will be resolved at runtime</li>
<li>Filename – the name of the log file into which the environmental properties will be written. Note that the default value for the log file name is &#8216;log.txt&#8217;. However, during runtime, the value can be overridden through the property &#8216;environment.filename&#8217;</li>
<li>Logging Required – whether logging information on what this MOJO is doing has to be shown. The default value being true can be overridden by specifying the value false to the property &#8216;environment.loggingRequired&#8217;.</li>
</ul>
<h4>Compiling the project</h4>
<p>Issue the following command for compiling the maven plugin project.</p>
<p>&nbsp;</p>
<p><code>mvn compile</code></p>
<h4>Packaging the project</h4>
<p>The following command is used to package the plugin project.</p>
<p>&nbsp;</p>
<p><code>mvn package</code></p>
<h4>Installing the project</h4>
<p>For installing the project into the local Maven repository, issue the following command.</p>
<p>&nbsp;</p>
<p><code>mvn install</code></p>
<p>Usually, on Windows, the local repository is <code>%USER_HOME%/.m2/repository</code>. On Windows XP, <code>USER_HOME</code> will expand to <code>"C:\\Document and  Settings\\&lt;&lt;UserName&gt;&gt;"</code>, however in Windows Vista it is <code>"C:\\Users\\&lt;&lt;UserName&gt;&gt;"</code>.</p>
<h4>Running the project</h4>
<p>There are several ways to run the maven plugin. We will see them one by one. Generally running a Maven plugin takes the following form,</p>
<p>&nbsp;</p>
<p><code>mvn groupId:artifactId:version:goalName</code></p>
<p>In our case, the group id is <code>net.javabeat.maven</code>, artifact id is <code>environment-info</code>, version is <code>1.0-SNAPSHOT</code> and goal name is <code>env-info</code>. So running the following command will run the custom plugin</p>
<p>&nbsp;</p>
<p><code>mvn net.javabeat.maven:environment-info:1.0-SNAPSHOT:env-info</code></p>
<p>Running the above command will create a directory <code>C:\\temp</code> (if not present) and create a file name with <code>log.txt</code> with the environment information. Because logging is enabled by default, the text &#8216;Created base directory <code>C:\temp</code>&#8216; and &#8216;File contents are written&#8217; will be displayed in the console.</p>
<p>It is also possible to configure the plugin by passing alternate input values. Have a look at the following command. This command specifies an alternate base directory <code>C:\\temp-new</code> for the log file <code>newLog.txt</code> with logging turned off. Note that for passing a property to a plugin the standard way is <code>–DpropertyName=propertyValue</code>.</p>
<p>&nbsp;</p>
<p><code>mvn net.javabeat.maven:environment-info:1.0-SNAPSHOT:env-info -Denvironment.base_dir=C:\temp-new -Denvironment.filename=newLog.txt -Denvironment.loggingRequired=false</code></p>
<p>It is also possible to omit the version information while running the plugin in which case, Maven tries to find the recent version for the plugin by comparing the version strings. In our case, this wouldn&#8217;t happen, because we have only one version which is <code>1.0-SNAPSHOT</code>. So the following command will also work.</p>
<p>&nbsp;</p>
<p><code>mvn net.javabeat.maven:environment-info:env-info</code></p>
<p>Another approach to run the plugin is by omitting the group id and just specifying the artifact id along with the goal name. However, for this to happen, we have to add the group id to the default list of groups that Maven will look for. Open the file <code>%MAVEN_HOME%/conf/settings.xml</code> and add the following line under the element <code>pluginsGroup</code>.</p>
<p>&nbsp;</p>
<p><code>&lt;pluginGroup&gt;net.javabeat.maven&lt;/pluginGroup&gt;</code></p>
<p>This ensures that we have added the group <code>net.javabeat.maven</code> to the list of default groups that Maven will search for, because of which the following command will work.</p>
<p>&nbsp;</p>
<p><code>mvn environment-info:env-info</code></p>
<h3>Attaching plugins to existing life-cycle</h3>
<p>So far, we have seen how to run a custom plugin in stand-alone mode. This is not of much-use and Maven provides a way for binding the goals of any custom plugin into existing build cycle. For example, let us consider that we have written a custom plugin which will simply print the current date and we want this plugin to be executed during the <code>compilation</code> phase and the <code>installation</code> phase of a project. We will see how to accomplish this goal in this section.</p>
<p>The following listing shows the custom plugin which will simply emit the date information.</p>
<p><strong>DateInfo.java</strong></p>
<p><code>package net.javabeat.maven;  import java.util.Date;  import org.apache.maven.plugin.AbstractMojo; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException;  /**  * @goal date-info  */ public class DateInfo extends AbstractMojo {      public void execute() throws MojoExecutionException, MojoFailureException { 		         Date currentDate = new Date();		         getLog().info("Current date is " + currentDate);     } }</code></p>
<p>Follow the same process of creating the project, then creating the plugin, compilation, packaging and installation as we have discussed before. We will see how to attach this custom plugin during the compile and the install phase. Open POM.xml file and add the following after the project dependencies element,</p>
<p>&nbsp;</p>
<p><code>&lt;build&gt;     &lt;plugins&gt;         &lt;plugin&gt;             &lt;groupId&gt;net.javabeat.maven&lt;/groupId&gt;             &lt;artifactId&gt;environment-info&lt;/artifactId&gt;             &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;              &lt;executions&gt;                 &lt;execution&gt;                     &lt;id&gt;date-info-compile&lt;/id&gt;                     &lt;phase&gt;compile&lt;/phase&gt;                     &lt;goals&gt;                         &lt;goal&gt;date-info&lt;/goal&gt;                     &lt;/goals&gt;                 &lt;/execution&gt;                  &lt;execution&gt;                     &lt;id&gt;date-info-install&lt;/id&gt;                     &lt;phase&gt;install&lt;/phase&gt;                     &lt;goals&gt;                         &lt;goal&gt;date-info&lt;/goal&gt;                     &lt;/goals&gt;                &lt;/execution&gt;              &lt;/executions&gt;          &lt;/plugin&gt;     &lt;/plugins&gt; &lt;/build&gt;</code></p>
<p>Though the above XML fragment is big, it is fairly simple. First thing is, it defines the execution element where we can define goals for executions. We have defined two execution elements one for the compile phase and the other for the install phase and we have given appropriate id for each execution element. Have a note at the goals section. We have included our custom goal <code>date-info</code> which will display the current date information. Note that where to search for the goal&#8217;s group id and the artifact id along with optional version is defined just above the executions element.</p>
<p>After this whenever we run <code>mvn compile</code> and <code>mvn  install</code> for any project that contains the above definition we will see that the goal <code>date-info</code> getting invoked during the phases.</p>
<h2>Conclusion</h2>
<p>In this article, we have seen how to use Maven for creating projects and to manage dependencies between projects. We have seen Maven simplifying the task of creating, compiling, packaging, installing projects thereby reducing the pain from developers and build managers. Also discussed in the article are the extension capabilities provided by Maven for pluging-in custom plugins in the form of MOJOs.</p>
<pre><code>}</code></pre>
<p>Note that there is no real functionality in the above, all it does is to accept the various user inputs and constructs an email object before returning it.</p>
<h3>Compiling the project</h3>
<p>The next step is to compile to project, by default the compilation process will create a folder called <code>target</code> and it will place the java class files along with any resource files, if present.</p>
<p>&nbsp;</p>
<pre><code>mvn compile</code></pre>
<p>Note that the location of the target folder as well as the location of the target folder is also configurable.</p>
<h3>Packaging the project</h3>
<p>This step will package the project with the packaging type mentioned in POM, which is JAR. Before packaging it will also execute the test cases (if specified) in the test folder and the packaged jar will be placed in the target folder.</p>
<p>&nbsp;</p>
<pre><code>mvn package</code></pre>
<h3>Installing the project</h3>
<p>The final step is to install the jar in a local repository so that other projects, if they are dependant on this project can make references to this project. The following command will install (i.e copy the jar) to the local repository.</p>
<p>&nbsp;</p>
<pre><code>mvn install</code></pre>
<p>Note that, by default, the local repository path will be <code>%USER_HOME%/.m2/repository</code>.</p>
<h2>Maven Custom Plug-In (Example Code)</h2>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/writing-a-custom-plugin-for-maven/">Writing a Custom Plugin for Maven</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/writing-a-custom-plugin-for-maven/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Environment Injector Plugin &#8211; Evaluated Groovy Script Collection</title>
		<link>https://www.scmgalaxy.com/tutorials/environment-injector-plugin-evaluated-groovy-script-collection/</link>
					<comments>https://www.scmgalaxy.com/tutorials/environment-injector-plugin-evaluated-groovy-script-collection/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Thu, 07 Dec 2017 09:11:45 +0000</pubDate>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Plugin]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=2044</guid>

					<description><![CDATA[<p>rajeshkumar created the topic: Environment Injector Plugin &#8211; Evaluated Groovy Script Collection Reference URL &#8211; expertland.net/question/z1p9197b7z32ql3b&#8230;3o8o8252/detail.html tiku.io/questions/3039337/jenkins-create&#8230;rsion-tagging-plugin stack-one.org/wordpress/yue/2015/01/12/j&#8230;sion-tagging-plugin/ Regards, Rajesh [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/environment-injector-plugin-evaluated-groovy-script-collection/">Environment Injector Plugin &#8211; Evaluated Groovy Script Collection</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>rajeshkumar created the topic: Environment Injector Plugin &#8211; Evaluated Groovy Script Collection</strong><br />
Reference URL &#8211;<br />
<a href="http://expertland.net/question/z1p9197b7z32ql3b...3o8o8252/detail.html">expertland.net/question/z1p9197b7z32ql3b&#8230;3o8o8252/detail.html </a><br />
<a href="http://tiku.io/questions/3039337/jenkins-create...rsion-tagging-plugin">tiku.io/questions/3039337/jenkins-create&#8230;rsion-tagging-plugin</a><br />
<a href="http://stack-one.org/wordpress/yue/2015/01/12/j...sion-tagging-plugin/">stack-one.org/wordpress/yue/2015/01/12/j&#8230;sion-tagging-plugin/</a><br />
Regards,<br />
Rajesh Kumar<br />
Twitt me @ <a href="http://twitter.com/RajeshKumarIn">twitter.com/RajeshKumarIn</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/environment-injector-plugin-evaluated-groovy-script-collection/">Environment Injector Plugin &#8211; Evaluated Groovy Script Collection</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/environment-injector-plugin-evaluated-groovy-script-collection/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Does IA7 SQL Connection Plugin support Windows Server 2008?</title>
		<link>https://www.scmgalaxy.com/tutorials/does-ia7-sql-connection-plugin-support-windows-server-2008/</link>
					<comments>https://www.scmgalaxy.com/tutorials/does-ia7-sql-connection-plugin-support-windows-server-2008/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 04 Dec 2017 10:36:06 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Plugin]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=1497</guid>

					<description><![CDATA[<p>InstallerExpert created the topic: Does IA7 SQL Connection Plugin support Windows Server 2008? Apologies for the old version reference. We&#8217;ve [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/does-ia7-sql-connection-plugin-support-windows-server-2008/">Does IA7 SQL Connection Plugin support Windows Server 2008?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>InstallerExpert created the topic: Does IA7 SQL Connection Plugin support Windows Server 2008?</strong><br />
Apologies for the old version reference.</p>
<p>We&#8217;ve been using IA7 to build our installers. A while back I installed IA8 as a trial on the same machine as IA7, but we decided not to purchase so IA7 was not officially upgraded.</p>
<p>During a house cleaning exercise I uninstalled IA8 from the machine, which is where my problems began.</p>
<p>Firstly the SQL connection plugin that we use in our installers was not included in the installation package so no SQL Server instances could be found on the network. After re-installing IA7 I&#8217;ve now come across a problem where the SQL Connection plugin fails when used on Windows Server 2008 systems. The plugin will detect all of the instances successfully however despite correct credentials the plugin will not connect and run the sql scripts.</p>
<p>This has been verified as a Windows Server 2008 problem because the plugin works correctly on machines running Windows XP and Windows Server 2003 when remotely connecting to a SQL Server on a Windows Server 2008 machine.</p>
<p>Any help in this will be greatly appreciated.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/does-ia7-sql-connection-plugin-support-windows-server-2008/">Does IA7 SQL Connection Plugin support Windows Server 2008?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/does-ia7-sql-connection-plugin-support-windows-server-2008/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sonar team released Sonar Maven Plugin 1.0-beta-2</title>
		<link>https://www.scmgalaxy.com/tutorials/sonar-maven-plugin-10-beta-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/sonar-maven-plugin-10-beta-2/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 14 Sep 2010 11:20:03 +0000</pubDate>
				<category><![CDATA[Release, News & Updates]]></category>
		<category><![CDATA[Configuration Plugin for Sonar Maven]]></category>
		<category><![CDATA[Feature]]></category>
		<category><![CDATA[Launch]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Maven Sonar Plugin]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Sonar]]></category>
		<category><![CDATA[Sonar Maven Configuration]]></category>
		<category><![CDATA[Sonar Maven Plugin]]></category>
		<category><![CDATA[Sonar Maven Plugin 1.0-beta-2]]></category>
		<category><![CDATA[sonar maven plugin configure]]></category>
		<category><![CDATA[sonar maven plugin properties]]></category>
		<category><![CDATA[Sonar Maven Plugin version 1.0-beta-2]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/09/14/sonar-maven-plugin-10-beta-2/</guid>

					<description><![CDATA[<p>The Sonar team is pleased to announce the release of Sonar Maven Plugin, version 1.0-beta-2. It makes configuration easier when using [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sonar-maven-plugin-10-beta-2/">Sonar team released Sonar Maven Plugin 1.0-beta-2</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-4360" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/09/sonar-maven-plugin.png" alt="sonar-maven-plugin" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/09/sonar-maven-plugin.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/09/sonar-maven-plugin-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">The Sonar team is pleased to announce the release of Sonar Maven Plugin, version 1.0-beta-2. </span></p>
<div>It <span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">makes configuration easier when using a repository manager like Archiva or Nexus. Indeed no additional settings are required anymore ! Let&#8217;s remind that the version 1.0-beta-1 needs to declare a mirror in maven settings or to add a new repository to the manager</span>.</div>
<div></div>
<div><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">This improvement requires Sonar 2.2+. It is automatically disabled when using sonar 2.1 or less. </span><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">Upgrading to this version should be automatic if the shortcut &#8220;mvn sonar:sonar&#8221; or the hudson plugin are used.</span></div>
<p>&nbsp;</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sonar-maven-plugin-10-beta-2/">Sonar team released Sonar Maven Plugin 1.0-beta-2</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/sonar-maven-plugin-10-beta-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sonar mojo 1.0-beta-2 Released by Mojo team &#8211; Configure now</title>
		<link>https://www.scmgalaxy.com/tutorials/sonar-mojo-10-beta-2/</link>
					<comments>https://www.scmgalaxy.com/tutorials/sonar-mojo-10-beta-2/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Tue, 14 Sep 2010 11:16:41 +0000</pubDate>
				<category><![CDATA[Release, News & Updates]]></category>
		<category><![CDATA[Configuration Plugin for Sonar Mojo]]></category>
		<category><![CDATA[Feature]]></category>
		<category><![CDATA[Launch]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Maven Sonar Mojo Plugin]]></category>
		<category><![CDATA[Mojo]]></category>
		<category><![CDATA[Mojo sonar maven plugin configure]]></category>
		<category><![CDATA[Mojo sonar maven plugin properties]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Sonar]]></category>
		<category><![CDATA[Sonar Maven Configuration]]></category>
		<category><![CDATA[Sonar Maven Plugin 1.0-beta-2]]></category>
		<category><![CDATA[Sonar Maven Plugin version 1.0-beta-2]]></category>
		<category><![CDATA[Sonar Mojo Maven Plugin]]></category>
		<category><![CDATA[Upgrade]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/09/14/sonar-mojo-10-beta-2/</guid>

					<description><![CDATA[<p>The Mojo team is pleased to announce the release of Sonar Maven Plugin, version 1.0-beta-2. It makes configuration easier when [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sonar-mojo-10-beta-2/">Sonar mojo 1.0-beta-2 Released by Mojo team &#8211; Configure now</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="text-align: justify;">
<p><img decoding="async" class="alignnone size-full wp-image-4362" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/09/sonar-mojo-10.png" alt="sonar-mojo-10" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/09/sonar-mojo-10.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/09/sonar-mojo-10-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>The Mojo team is pleased to announce the release of Sonar Maven Plugin, version 1.0-beta-2. It makes configuration easier when using a repository manager like Archivaor Nexus. Indeed no additional settings are required anymore ! Let&#8217;s remind that the version 1.0-beta-1 needs to declare a mirror in maven settings.</p>
<p>This improvement requires Sonar 2.2+. It is automatically disabled when using sonar 2.1 or less. Upgrading to this version should be automatic if the shortcut &#8220;mvn sonar:sonar&#8221; is used.</p>
</div>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sonar-mojo-10-beta-2/">Sonar mojo 1.0-beta-2 Released by Mojo team &#8211; Configure now</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/sonar-mojo-10-beta-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Sonar PDF Report Plugin 2.1 &#8211; What is new in Sonar PDF Report Plugin 2.1?</title>
		<link>https://www.scmgalaxy.com/tutorials/sonar-pdf-report-plugin-21/</link>
					<comments>https://www.scmgalaxy.com/tutorials/sonar-pdf-report-plugin-21/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Mon, 19 Jul 2010 06:28:54 +0000</pubDate>
				<category><![CDATA[Release, News & Updates]]></category>
		<category><![CDATA[About Sonar PDF Report Plugin]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Generate Sonar Report in PDF]]></category>
		<category><![CDATA[How to create PDF report on Sonar]]></category>
		<category><![CDATA[New Release]]></category>
		<category><![CDATA[New Version]]></category>
		<category><![CDATA[PDF Report]]></category>
		<category><![CDATA[PDF Report Plugin]]></category>
		<category><![CDATA[PDF Report Sonar Plugin 2.1]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Sonar]]></category>
		<category><![CDATA[Sonar PDF Report Plugin 2.1]]></category>
		<category><![CDATA[Sonar PDF Report Plugin Features]]></category>
		<category><![CDATA[Sonar Plugin]]></category>
		<category><![CDATA[SonarPDF Report Plugin Commercial edition]]></category>
		<category><![CDATA[Update]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[What is new in Sonar PDF Report Plugin 2.1]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/07/19/sonar-pdf-report-plugin-21/</guid>

					<description><![CDATA[<p>Hi all, I&#8217;m proud to announce the availability of a new release of Sonar PDF Report Plugin (Commercial edition): http://blog.klicap.es/products/sonarpdfreportplugin [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sonar-pdf-report-plugin-21/">Sonar PDF Report Plugin 2.1 &#8211; What is new in Sonar PDF Report Plugin 2.1?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-4391" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/sonar-pdf-report-plugin.png" alt="sonar-pdf-report-plugin" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/sonar-pdf-report-plugin.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/07/sonar-pdf-report-plugin-300x200.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>Hi all,</p>
<p>I&#8217;m proud to announce the availability of a new release of Sonar<br />
PDF Report Plugin (Commercial edition):<br />
<a href="http://blog.klicap.es/products/sonarpdfreportplugin" target="_blank" rel="noopener">http://blog.klicap.es/products/sonarpdfreportplugin</a></p>
<div style="display: inline; cursor: pointer; padding-right: 16px; width: 16px; height: 16px;"></div>
<p>Key features of this new release:</p>
<p>* Include information provided by other installed plugins<br />
* Possibility of use SVG images in front page and header</p>
<p>Actually Sonar PDF Report Plugin 2.1 supports integration with:<br />
* Technical Debt Plugin<br />
* SIGMM Plugin<br />
* Total Quality PLugin<br />
* Quality Index Plugin<br />
* Taglist Plugin</p>
<p>Regards,<br />
Antonio.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/sonar-pdf-report-plugin-21/">Sonar PDF Report Plugin 2.1 &#8211; What is new in Sonar PDF Report Plugin 2.1?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/sonar-pdf-report-plugin-21/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Build Stability Plugin 1.1.1 Released by Sonar team &#8211; Overview</title>
		<link>https://www.scmgalaxy.com/tutorials/build-stability-plugin-111-released/</link>
					<comments>https://www.scmgalaxy.com/tutorials/build-stability-plugin-111-released/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 30 Jun 2010 11:19:08 +0000</pubDate>
				<category><![CDATA[Incident and Bug Tracking Systems]]></category>
		<category><![CDATA[Release, News & Updates]]></category>
		<category><![CDATA[Bamboo support]]></category>
		<category><![CDATA[Build]]></category>
		<category><![CDATA[Build Stability Plugin]]></category>
		<category><![CDATA[Build Stability Plugin 1.1.1]]></category>
		<category><![CDATA[Build Stability Plugin 1.1.1 Features]]></category>
		<category><![CDATA[Build Stability Plugin 1.1.1 Overview]]></category>
		<category><![CDATA[Build Stability Plugin 1.1.1 Support]]></category>
		<category><![CDATA[Build Stability Plugin 1.1.1 Updates]]></category>
		<category><![CDATA[New Version]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Sonar]]></category>
		<category><![CDATA[Update]]></category>
		<category><![CDATA[What is new Build Stability Plugin 1.1.1]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/06/30/build-stability-plugin-111-released/</guid>

					<description><![CDATA[<p>The Sonar team is pleased to announce the release of the Build Stability Plugin version 1.1.1. The new version fixes [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/build-stability-plugin-111-released/">Build Stability Plugin 1.1.1 Released by Sonar team &#8211; Overview</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4439 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/06/build-stability-plugin.png" alt="Sonar team" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/06/build-stability-plugin.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/06/build-stability-plugin-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>The Sonar team is pleased to announce the release of the Build<br />
Stability Plugin version 1.1.1.</p>
<p>The new version fixes an issue with Bamboo support.</p>
<p>The documentation, changes log and jar file are available on the<br />
plugin page [1].</p>
<p>Enjoy !</p>
<p>&#8211; The Sonar Team</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/build-stability-plugin-111-released/">Build Stability Plugin 1.1.1 Released by Sonar team &#8211; Overview</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/build-stability-plugin-111-released/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>EC2Deploy and the Cloud Tools Maven plugin are now available</title>
		<link>https://www.scmgalaxy.com/tutorials/ec2deploy-and-the-cloud-tools-maven-plugin-are-now-available/</link>
					<comments>https://www.scmgalaxy.com/tutorials/ec2deploy-and-the-cloud-tools-maven-plugin-are-now-available/#comments</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Wed, 10 Mar 2010 05:59:56 +0000</pubDate>
				<category><![CDATA[Amazon (Elastic Cloud)]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Cloud Tools]]></category>
		<category><![CDATA[Cloud Tools Maven Plugin]]></category>
		<category><![CDATA[Deploy]]></category>
		<category><![CDATA[Deploy to Amazon EC2]]></category>
		<category><![CDATA[Deploy web application project to EC2]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[ec2deploy]]></category>
		<category><![CDATA[EC2Deploy framework]]></category>
		<category><![CDATA[Maven plugin]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Web application]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/2010/03/10/ec2deploy-and-the-cloud-tools-maven-plugin-are-now-available/</guid>

					<description><![CDATA[<p>I&#8217;m pleased to announce that EC2Deploy &#8211; a Groovy-based framework for deploying Java EE applications to Amazon EC2 &#8211; is [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ec2deploy-and-the-cloud-tools-maven-plugin-are-now-available/">EC2Deploy and the Cloud Tools Maven plugin are now available</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-4112 aligncenter" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/ec2deploy-and-the-cloud-too.png" alt="ec2deploy-cloud-tools-maven-plugin" width="600" height="400" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/ec2deploy-and-the-cloud-too.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2010/03/ec2deploy-and-the-cloud-too-300x200.png 300w" sizes="auto, (max-width: 600px) 100vw, 600px" /></p>
<p>I&#8217;m pleased to announce that <a href="http://www.chris-richardson.blog-city.com/running_jee_applications_on_amazon_ec2_or_deploying_to_20_m.htm">EC2Deploy</a> &#8211; a Groovy-based framework for deploying Java EE applications to Amazon EC2 &#8211; is now available as part of the <a href="http://code.google.com/p/cloudtools/">Cloud Tools</a> open source project.</p>
<p>There are three main parts to Cloud Tools:</p>
<ul>
<li>The EC2Deploy framework</li>
<li>Amazon Machine Images (AMIs) that are configured to run Tomcat and work with EC2Deploy</li>
<li>A Maven plugin that uses EC2Deploy to deploy a web application to EC2</li>
</ul>
<p>I’m especially excited about the Maven plugin. Once you have configured the plugin for your web application you can use the following goals:</p>
<ul>
<li>cloudtools:deploy – launch the EC2 instances and deploy the web application</li>
<li>cloudtools:redeploy – redeploy the web application (upload the changes and restart tomcat)</li>
<li>cloudtools:jmeter – run a Jmeter test</li>
<li>cloudtools:stop – stop the EC2 instances</li>
</ul>
<p>Cloudtools is still work in progress but it let’s you deploy a web application on EC2 in just a few minutes.  To learn more go to <a href="http://code.google.com/p/cloudtools/">Cloud Tools</a>.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/ec2deploy-and-the-cloud-tools-maven-plugin-are-now-available/">EC2Deploy and the Cloud Tools Maven plugin are now available</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/ec2deploy-and-the-cloud-tools-maven-plugin-are-now-available/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
