mvn jetty:run
mvn clean package cargo:redeploy
<plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>9.3.6.v20151106</version>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<webAppConfig>
<contextPath>/my-context</contextPath>
<extraClasspath>target/classes;E:\workspace2013\zcore\target\classes</extraClasspath>
</webAppConfig>
<scanTargets>
<scanTarget>E:\workspace2013\zcore\target\classes</scanTarget>
</scanTargets>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.1.3</version>
<configuration>
<container>
<containerId>tomcat7x</containerId>
<type>remote</type>
</container>
<configuration>
<type>runtime</type>
<properties>
<cargo.remote.username>tomcat</cargo.remote.username>
<cargo.remote.password>tomcat</cargo.remote.password>
<cargo.remote.manager.url>http://localhost:8080/manager/text</cargo.remote.manager.url>
</properties>
</configuration>
</configuration>
</plugin>
</plugins>
</build>
http://stackoverflow.com/questions/3636493/multi-module-maven-project-and-jettyrun
分享到:
相关推荐
Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project
Maven更新问题 今天Maven在更新的时候发现一直更新不成功,总结下解决方法。 在apache-maven-3.5.2/conf/setting.xml中加入以下配置即可解决 alimaven aliyun maven ...
maven-deploy-plugin-2.7.jar
这样,您可以确保您不会浪费时间在不属于Apache Maven范围的事情上。 假设您的问题不存在,请提交该问题的票证。 清楚地描述问题,包括在出现错误时重现的步骤。 确保填写已知问题的最早版本。 在GitHub上分叉存储...
Apache Maven offers a comprehensive set of features to build, test, release, and deploy software projects and maintain enterprise development infrastructure. This book is a hands-on guide that ...
Implement and deploy a Maven repository manager to manage the build process in a better and smoother way Design the build in a way that prevents any maintenance nightmares with proper dependency ...
Maven插件和目标 (Plugins and Goals) 3.5.2. Maven生命周期 (Lifecycle) 3.5.3. Maven坐标 (Coordinates) 3.5.4. Maven仓库(Repositories) 3.5.5. Maven依赖管理 (Dependency Management) 3.5.6. 站点生成和...
目标verify - 用于解析和处理(验证)元数据generate - 为当前项目生成弃用元数据工件deploy - 将现有元数据工件部署到远程存储库例子在项目编译前包括元数据验证: <project> ... <build> ... <plugins> ... ...
项目/plugins.sbt addSbtPlugin( " no.arktekk.sbt " % " aether-deploy " % " 0.26.0 " ) /** OR * */ addSbtPlugin( " no.arktekk.sbt " % " aether-deploy-signed " % " 0.26.0 " ) // For sbt-pgp 2.x support ...
可以使用标准maven-install-plugin和maven-deploy-plugin这些nar文件安装在本地Maven存储库中,并部署到标准Maven(Web)服务器中。 用法 在您的POM中: < plugins> < groupId>com.github.ma
安装 mvn install用法 <build><plugins><plugin><groupId>de.sisao</groupId><artifactId>auto-deploy-maven-plugin</artifactId><version>1.0-SNAPSHOT</version><configuration><deploypath>C:\\Path\\To\\Your\\...
在 github 项目中部署 Maven 工件的步骤:1)将部署信息添加到您的pom.xml...repo</ url> </ repository></ distributionManagement>< plugins> < plugin> < artifactId>maven-deploy-plugin</ artifactId> < versio
Walkthrough various in-built Gradle plugins, such as Java, Scala, War, Ant, Maven, and many others Master the migration techniques from build tools such as Ant and Maven into Gradle Integrate Gradle ...
将项目作为“现有Maven项目”导入Eclipse 将Wildfly 18服务器添加到Eclipse并使用它在服务器上运行项目或者在wildfly / bin中使用./standalone.sh启动Wildfly 18进程使用mvn clean org.wildfly.plugins...