Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Edit your conf/settings.xml and add the following profile:

Code Block
 <profile> 
             <id>dev</id> 
             <repositories> 
                   <repository> 
                         <id>central</id> 
                         <url>http://mv.ezproxy.com.ezproxy.canberra.edu.au/artifactory/map</url> 
                         <snapshots> 
                               <enabled>false</enabled> 
                         </snapshots> 
                   </repository> 
                   <repository> 
                         <id>snapshots</id> 
                         <url>http://mv.ezproxy.com.ezproxy.canberra.edu.au/artifactory/map-snapshots</url> 
                         <releases> 
                               <enabled>false</enabled> 
                         </releases> 
                   </repository> 
             </repositories> 
             <pluginRepositories> 
                   <pluginRepository> 
                         <id>central</id> 
                         <url>http://mv.ezproxy.com.ezproxy.canberra.edu.au/artifactory/map</url> 
                         <snapshots> 
                               <enabled>false</enabled> 
                         </snapshots> 
                   </pluginRepository> 
                   <pluginRepository> 
                         <id>snapshots</id> 
                         <url>http://mv.ezproxy.com.ezproxy.canberra.edu.au/artifactory/map-snapshots</url> 
                         <releases> 
                               <enabled>false</enabled> 
                         </releases> 
                   </pluginRepository> 
             </pluginRepositories> 
       </profile> 

and make it the default profile:

Code Block
 <activeProfiles>
     <activeProfile>dev</activeProfile>
 </activeProfiles>

...

Add the m2eclipse plugin site to your eclipse Software Update sites list and install the plugin:

http://m2eclipse.codehaus.org/update/Image Removed

You can now right click on your project and add dependencies via maven. Eclipse will also automatically deploy all the dependency jars to your local eclipse-configured tomcat.

...