Author | Message |
---|---|
lishenyu
Posts: 103
|
Posted 11:32 Jan 21, 2015 |
after I new created a maven project , under target folder ,I didn't see a pom.xml file , there should be a pom.xml file under target right ? |
hgadhia
Posts: 52
|
Posted 11:34 Jan 21, 2015 |
I guess pom.xml is not automatically created when you just create a new Maven project, So you will have to create one. Last edited by hgadhia at
11:34 Jan 21, 2015.
|
lishenyu
Posts: 103
|
Posted 11:35 Jan 21, 2015 |
Last edited by lishenyu at
11:35 Jan 21, 2015.
|
cysun
Posts: 2935
|
Posted 12:41 Jan 21, 2015 |
When you create a Maven project in Eclipse, it does automatically create a pom.xml. It's under the root folder of the project, not /target. /target is for files created during the build process, e.g. .class files. |
lishenyu
Posts: 103
|
Posted 14:30 Jan 21, 2015 |
thanks ! Dr ,in the hw description :"~Note that only source files should be version controlled " what this means ? Does it mean that in the truck folder ,we should only have src folder and no target folder ? I saw the small video , there is no target folder under the truck folder. But after I imported the gefp project ,I saw the target folder under trunk |
cysun
Posts: 2935
|
Posted 16:46 Jan 21, 2015 |
It means not all files in a project should be version controlled, particularly the generated files under /target. |
lishenyu
Posts: 103
|
Posted 19:10 Jan 21, 2015 |
o Last edited by lishenyu at
19:12 Jan 21, 2015.
|