문제

I have downloaded the code from the repository but I have little experience to use maven (command line) to get the .war file to be included in my tomcat.

I do not have experience in this.

I have not changed the pom.xml file

I directly run the command mvn clean package but I have several errors. Spete help me?

My goal is to generate the. War file CAS 4.0RC

I'm using the pom.xml file that I found on git (a very long file) can fit that?

도움이 되었습니까?

해결책

If you've downloaded the source of CAS and its by itself should be a mavenized project then, pom.xml should be inside. so you should just 'cd' to the root folder of your source and type

mvn install

or

mvn package

The first command will install your jar into local maven repository, the second one will only prepare the war in the target folder of the module with packaging war in the source.

If you encounter any errors, please post them here.

Hope this helps

다른 팁

It should build without any problem when executing mvn clean install in the CLI... What are your errors ?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top