pom.xml of mytest 4.0.0 com.maventest mytest jar 1.0-SNAPSHOT mytest junit junit 3.8.1 test The simple pom.xml file out "mytest" is shown here. The very similar "mytest2" project has a MyTest2 class that outputs a message to standard output. The "mytest" project has a MyTest class that outputs a message to standard output. Suppose we have two very simple projects, "mytest" and "mytest2": Let's see how we can one project as a dependency to another project. In addition, when you build a project into an artifact (typically a jar file), you usually "install" the artifact into your local maven repository. Rather than storing jars within projects (such as in a "lib" directory) on your machine, jars are stored instead in your local maven repository, and you reference these jars in this common location rather than within your projects. A repository is essentially a big collection of "artifacts", which are things like jar W, war W, and ear W files. A key concept in maven S W is the idea of a repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |