eclipse + maven + glassfish embedded
来源:互联网 发布:网络海外代购兼职 编辑:程序博客网 时间:2024/06/05 15:19
pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.limiko.test</groupId> <artifactId>myweb</artifactId> <packaging>war</packaging> <version>0.0.1</version> <name>Maven Webapp</name> <url>http://maven.apache.org</url> <properties> </properties> <build> <finalName>myweb</finalName> <plugins> <plugin> <groupId>org.glassfish</groupId> <artifactId>maven-embedded-glassfish-plugin</artifactId> <version>3.2-SNAPSHOT</version> <configuration> <goalPrefix>embedded-glassfish</goalPrefix> <app>${project.build.directory}/${build.finalName}.war</app> <port>8080</port> <contextRoot>${build.finalName}</contextRoot> <autoDelete>true</autoDelete> </configuration> </plugin> </plugins> </build> <pluginRepositories> <pluginRepository> <id>maven2-repository.dev.java.net</id> <name>Java.net Repository for Maven</name> <url>http://download.java.net/maven/glassfish/</url> </pluginRepository> </pluginRepositories><repositories> <repository> <id>maven2-repository.dev.java.net</id> <name>Java.net Repository for Maven</name> <url>http://download.java.net/maven/glassfish/</url> </repository> </repositories></project>
运行 maven package 打包
运行 maven embedded-glassfish:run 部署
浏览器输入 http:.//localhost:8080/myweb 即可看到页面
- eclipse + maven + glassfish embedded
- GlassFish maven
- maven-glassfish-plugin使用
- 用 embedded glassfish 做 Java EE 实验
- eclipse远程调试glassfish
- eclipse 中集成 glassfish
- maven embedded error
- Eclipse GlassFish Console 中文乱码
- Eclipse GlassFish Console 中文乱码
- Eclipse下maven使用嵌入式(Embedded)Neo4j创建Hello World项目
- Integrating Seam with Maven, Netbeans and GlassFish
- GlassFish
- GlassFish
- GlassFish
- glassfish
- glassfish
- 在Eclipse下调试GlassFish程序
- 在Eclipse中远程调试GlassFish
- 各种序列化库的体验
- 边学边做ROR( 错误信息error_messages_for was removed from Rails and is now available as a plugin)
- 索引扫描
- 《越狱》中的项目管理之道(转)
- 人生若只如初见
- eclipse + maven + glassfish embedded
- 【.Net MF网络开发板研究-05】Socket编程之客户端
- Ty_GetDirInfo
- Asterisk vs. FreeSWITCH
- jquery + json + springMVC集成在controller中实现Ajax功能
- 一些常用的API
- 2011.07.20
- 浅谈Service Manager成为Android进程间通信(IPC)机制Binder守护进程之路
- Unable to find parent packages json-default 与java.lang.ClassNotFoundException: net.sf.ezmorph.Morphe