1.4K Star 3.3K Fork 1.4K

GVPEOVA / eova

 / 详情

1.5 maven下打包

已完成
任务
创建于  
2016-07-09 00:56

打包过程

1.调整git上的目录结构src/main/[java,resources,webapp]

2.修改pom.xml文件,add compilerArguments. extdirs

<!-- compiler插件, 设定JDK版本 -->
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.0</version>
                <configuration>
                    <source>${jdk.version}</source>
                    <target>${jdk.version}</target>
                    <showWarnings>true</showWarnings>
                    <encoding>${project.build.sourceEncoding}</encoding>
		<compilerArguments>
	                   <extdirs>src/main/webapp/WEB-INF/lib</extdirs>
	          </compilerArguments>
                </configuration>
            </plugin>

3.mvn eclipse:clean package -Dmaven.test.skip=true

评论 (1)

最新的版本已经按照标准Maven方式构建

Jieven 关闭了任务

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
351155 eova 1578921021 4601 konbluesky 1578914268
Java
1
https://gitee.com/eova/eova.git
git@gitee.com:eova/eova.git
eova
eova
eova

搜索帮助

53164aa7 5694891 3bd8fe86 5694891