Spring Rooã®åä½(7) - mavenç³»ã³ãã³ã
Spring Roo 1.1.0.M1 [rev 3a0b8a3]ã§è©¦ããçµæã§ã
ä¾åã©ã¤ãã©ãªã®è¿½å ã»åé¤
dependency add --groupId [groupId] --artifactId [artifactId] --version [version]
- [groupId]ã[artifactId]ã[version]ã§æå®ããã©ã¤ãã©ãªãpom.xmlã¸è¿½å ãã
- classifieræå®ãexclusionsæå®ã«ã¯å¯¾å¿ãã¦ããªã
- ãªãã¸ããªä¸ã«åå¨ããªãjarãæå®ãã¦ããã¨ã©ã¼ã«ãªããªã(å®è¡ãã§ãã¯ãªã©ã¯ãããªã)
dependency remove --groupId [groupId] --artifactId [artifactId] --version [version]
- [groupId]ã[artifactId]ã[version]ã§æå®ããã©ã¤ãã©ãªãpom.xmlä¸ããåé¤ãã
- pom.xmlä¸ã«è¦ã¤ãããªãã©ã¤ãã©ãªãæå®ãã¦ããã¨ã©ã¼ã«ã¯ãªãããã¾ããä½ãã¡ãã»ã¼ã¸ã表示ãããªã
- ã¡ããã¨åé¤ããããã©ããã¯ããã¡ã¤ã«ãç·¨éãããã¨ãã以ä¸ã®ã¡ãã»ã¼ã¸ãåºããã©ããã§å¤æãããããªã
Managed ROOT\pom.xml
mavenã³ãã³ãã®å®è¡
perform clean
- ä¸æãã¡ã¤ã«ã®åé¤ãè¡ã
- mvn cleanç¸å½ã®å¹æã«ãEclipseã®è¨å®ãã¡ã¤ã«ã®åé¤ã足ãããã®
perform tests
- UnitTestãå®è¡ãã
- mvn testç¸å½
perform package
- ææç©ããã±ã¼ã¸ã®ä½æãè¡ã
- mvn packageç¸å½
perform assembly
- é å¸ç¨ã¢ã¼ã«ã¤ãã®ä½æãè¡ã
- mvn assemblyç¸å½
perform eclipse
perform command --mavenCommand [commandName]
- [commandName]ã§æå®ããä»»æã®mavenã³ãã³ããå®è¡ãã