Search This Blog

Showing posts with label Plugin. Show all posts
Showing posts with label Plugin. Show all posts

Saturday, October 10, 2015

Solved : Error assembling WAR: webxml attribute is required

Problem : 

"Error assembling WAR: webxml attribute is required" error was coming while running maven . 

Solution :

Add following path of the web.xml into pom.xml to solve the issue. 


Cheers,

Kapil 

Saturday, October 3, 2015

Install Gradle and Setup with Eclipse


Step 1 : Install Gradle from the following link:
https://gradle.org/gradle-download/
(binary or full)

Step 2: set gradle path at environment Path variable  :



Step 3 : Open  command Prompt and run command "gradle" , it should prompt following message



Setup Gradle with eclipse :


Step 1 : Click Help - > Install Software ->

https://github.com/eclipse/buildship/blob/master/docs/user/Installation.md

Eclipse Version


Mars (4.5)

release

http://download.eclipse.org/buildship/updates/e45/releases/1.0


Luna (4.4)

release

http://download.eclipse.org/buildship/updates/e44/releases/1.0


Kepler (4.3)

release

http://download.eclipse.org/buildship/updates/e43/releases/1.0


Juno (4.2)

release

http://download.eclipse.org/buildship/updates/e42/releases/1.0


Indigo (3.7)

release

http://download.eclipse.org/buildship/updates/e37/releases/1.


Helios (3.6)

release

http://download.eclipse.org/buildship/updates/e36/releases/1.0



Step 2 : Click Next -> Until Finish

Step 3 : Click Window -> Preferecne - > Gradle ( to view gradle setting)

You are done

Cheers ,
Kapil

Sunday, September 27, 2015

Tips : How to install Maven plugin with Eclipse


Step 1 : Open Eclipse - > Goto Help - Click on "Install New Software"
Step 2 :
Copy following URL (If need to get the latest version ) :
http://download.eclipse.org/technology/m2e/releases
Other wise your can choose option with following URL as well for compatibale versions :
i.e : http://download.eclipse.org/technology/m2e/releases/1.3

Step 3: Enter and select check boxes  and click next and Done.

Cheers
Kapil

Wednesday, September 9, 2015

Solved : Error resolving version for plugin 'org.apache.tomcat.maven:tomcat7-maven-plugin

Recently I was setting up maven project and trying to deploy application after build on the tomcat server  but during setup POM.xml it was giving following warning message  . 

"Error resolving version for plugin 'org.apache.tomcat.maven:tomcat7-maven-plugin "

After doing some R&D and then i was able to found the solution as below :

Following lines in POM.xml was culprit of the  error "Error resolving version for plugin 'org.apache.tomcat.maven:tomcat7-maven-plugin ":



<plugin>



<groupId>org.apache.tomcat.maven</groupId>


<artifactId>tomcat7-maven-plugin</artifactId>


<configuration>
<path>/</path>
<httpsPort>8080</httpsPort>


</configuration>
 </plugin>

Solution :  Added correct version of plugin as below  to fix this issue :



<plugin>

<groupId>org.apache.tomcat.maven</groupId>

<artifactId>tomcat7-maven-plugin</artifactId>
 >2.0</version>
<configuration>
<path>/</path>
<httpsPort>8080</httpsPort>

</configuration>
</plugin> 

 

Cheers

Kapil



Popular Posts