?
Solved

POM Tags

Posted on 2014-03-17
5
Medium Priority
?
173 Views
Last Modified: 2014-03-18
Hi,

can somebody tell me about POM.xml syntax. Here is the one part of the tag below

  "is it all the jars has to be available below url... Please clarify



<repositories>
        <repository>
            <id>sattire.archiva.sattire</id>
            <name>Sattrire Release Repository</name>
            <url>http://repository.sattire.com/archiva/repository/sattire</url>
        </repository>
    </repositories>

Open in new window


what is goal tag and Phase tag mean...  Please clarify


 <plugin>
                <groupId>com.ning.maven.plugins</groupId>
                <artifactId>maven-duplicate-finder-plugin</artifactId>
                <version>1.0.5</version>
                <executions>
                    <execution>
                        <phase>verify</phase>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

Open in new window



Thanks
0
Comment
Question by:roy_sanu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 21

Expert Comment

by:Amitkumar Panchal
ID: 39934163
You should refer POM reference at https://maven.apache.org/pom.html
0
 

Author Comment

by:roy_sanu
ID: 39934649
i need  some  specific answer to this why this url is required........ and what scenerio
one need this...........

<repositories>
        <repository>
            <id>sattire.archiva.sattire</id>
            <name>Sattrire Release Repository</name>
            <url>http://repository.sattire.com/archiva/repository/sattire</url>
        </repository>
    </repositories>

Open in new window

0
 
LVL 21

Accepted Solution

by:
Amitkumar Panchal earned 1200 total points
ID: 39934799
By default, Maven download all dependencies from Maven Central Repository. But, some libraries are missing in central repository, and only available in remote repository like the one you gave in the example.

<repositories>
        <repository>
            <id>sattire.archiva.sattire</id>
            <name>Sattrire Release Repository</name>
            <url>http://repository.sattire.com/archiva/repository/sattire</url>
        </repository>
    </repositories>

Open in new window

0
 

Author Comment

by:roy_sanu
ID: 39934864
Thank you  for the one part  

when we will be needing this like goal tag... what is the need of goal

<plugin>
                <groupId>com.ning.maven.plugins</groupId>
                <artifactId>maven-duplicate-finder-plugin</artifactId>
                <version>1.0.5</version>
                <executions>
                    <execution>
                        <phase>verify</phase>
                        <goals>
                            <goal>check</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
0
 
LVL 21

Assisted Solution

by:Amitkumar Panchal
Amitkumar Panchal earned 1200 total points
ID: 39934922
This is related to plug-ins in maven. Refer http://maven.apache.org/guides/mini/guide-configuring-plugins.html
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
A solution for Fortify Path Manipulation.
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month12 days, 5 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question