Requirements:
1.) You should accept an trouble concern human relationship inwards google code.
The fob is precisely only forming the right url to hold upward access yesteryear maven.
For representative I accept a google code account:
http://czetsuya.googlecode.com
Steps:
1.) In your pom.xml file add together the next repository:
<repository> <id>czetsuya-repo</id> <name>czetsuya-repo</name> <url>http://czetsuya.googlecode.com/svn/maven2/</url> </repository>
2.) Notice the suffix at the destination of the url: svn/maven2? That agency nosotros involve to practice that directory inwards google code, Source tab->Browse.
3.) Inside svn/maven2, practice the folder depending on your specification, representative org/czetsuya/maven/demo/1.0.0. Note that 1.0.0 is the version number.
4.) Upload your jounce as well as pom file within the folder. pom file should comprise the projection information.
<?xml version="1.0" encoding="UTF-8"?> <project> <modelVersion>4.0.0</modelVersion> <groupId>org.czetsuya</groupId> <artifactId>maven-demo</artifactId> <version>1.0.0</version> </project>
5.) To role the artifact y'all involve to add together the dependency like:
<dependency> <groupId>com.czetsuya</groupId> <artifactId>maven-demo</artifactId> <version>1.0.0</version> </dependency>
0 komentar:
Please comment if there are any that need to be asked.