`

Ma-ven E-clipse integration

阅读更多

 

Setup Eclipse development environment

=====================================

For Eclipse IDE for Java Developers 3.4

 

- Start eclipse with options "-vm <JDK 5 PATH>/bin/javaw" (not JRE PATH)

 

 

- Setup maven plugin (please refer to http://www.sonatype.com/book/reference/eclipse.html for details)

 

Copy the maven configuration file <project home>/settings.xml to <USER_HOME>/.m2 (e.g. C:\Documents and Settings\<userId>\.m2\)

Go to Windows>Preferences...

Select General>Network Connectionsa

Enable "Manual proxy configuration"

Set the HTTP proxy to "webproxy........com"

Set the proxy port to 8080

Go to Help>Software Updates

Select "Available Software" tab

Select "Add site..."

Type in "http://m2eclipse.sonatype.org/update/" in location box

Expand the item "Maven Integration for Eclipse Update Site"

Select "Maven Embedder" and "Maven Integration for Eclipse (Required)"

Select "Install..." and then "Finish"

Restart Eclipse

Go to Window>PerferencesSelect "Maven>Installations"

Set "User Settings File" to the <USER_HOME>/.m2/settings.xml- Create an Eclipse java project

Select "New>Java Project..."

 

Select the project in Package explorer

Right click and select "Maven>Update Dependencies"

The project should be built automatically. Please make sure that "Project>Build automatically" is on.

==================================================================

 

 

Maven build (full developement build)

=====================================

mvn clean

mvn -Pdev -Dmaven.test.skip=true assembly:assembly

(A zip file is generated in target folder.)

 

There are different maven profiles for different target environment (e.g. dev, uat and hkprod).

 

Maven build (jar only)

======================

mvn clean

mvn -Pdev -Dmaven.test.skip=true package

(A jar file is generated in target folder.)

==================================================================

 

 

Deploy dependent jar files to our private maven repository

============================================

If the project depends on a new commercial jar file, it is necessary to add the jar file to our private maven respository (http://.....com:8080/maven2_repositories/) such that it is available to other developers.

 

If the dependent jar file is from open source project, it should be available at maven public repository (http://repo1.maven.org/maven2/). Thus, it is not required to be in our private maven repository.

 

The command to deploy a jar file to our private respoistory is as follow.

 

mvn deploy:deploy-file -DgroupId=<group id> -DartifactId=<artifact id>

-Dversion=<version> -Dpackaging=jar -Dfile=<path to jar file>

-Durl=file:/usr/tom/ci/ci-root/maven2_repositories

 

 

For instance, we are going to deploy tibrvj.jar (from RV 8.0) to our private repository.

- Copy the tibrvj.jar to ....com:/tmp

- Login remote server

- Execute the following command

mvn deploy:deploy-file -DgroupId=com.tibco.tibrv -DartifactId=tibrvj

-Dversion=8.0 -Dpackaging=jar -Dfile=/tmp/tibrvj.jar

-Durl=file:/usr/tom/ci/ci-root/maven2_repositories

 

 

 

分享到:
评论

相关推荐

    BASE-SIS-VEN-JAVA.rar_Alta

    Es un sistema de venta hecho en java y con mysql que se puede registrar productos borrar producto dar de alta empleados, y hace un regsitro en la base de datos en la cual puede almacenar la ...

    node-red-contrib-oadr-ven:适用于Node-Red的OpenADR虚拟终端节点

    节点红色贡献绿色打开Node-Red的ADR VEN 甲节点,允许用户容易地实现开放OpenADR通过使其和VTN(V irtualŤ运算ÑODE)更容易之间的通信(打开A utomated d emandReact的影响)VEN(V irtualËNDÑODE)。...

    oadr2-ven:用于 Java 的 OpenADR2 Open VEN 实现

    该项目提供了用于实现 VEN 客户端的构建块。 特别是,它旨在提供协议绑定。 它实际上并没有实现任何服务功能(至少现在还没有。)但它至少应该为开始实现 OpenADR 2.0 服务的人提供足够的支持。 模块 oadr2-model...

    VEN_14E4&DEV_4365 无线网卡驱动 for win7

    标题中的“VEN_14E4&DEV_4365 无线网卡驱动 for win7”揭示了我们要讨论的核心内容:这是一款适用于Windows 7操作系统的无线网卡驱动程序,其硬件标识符为VEN_14E4和DEV_4365。在计算机硬件领域,VEN代表供应商ID,...

    大恒图像VEN-505-36U3MC工业相机3D图纸.rar

    《大恒图像VEN-505-36U3MC工业相机3D图纸解析》 在现代工业自动化领域,高精度、高速度的图像采集设备是不可或缺的关键组件,其中工业相机扮演着至关重要的角色。大恒图像作为国内知名的图像处理设备供应商,其VEN-...

    android.bp动态编译文档

    在Android开发中,`Android.bp`是Android Gradle Plugin 3.0及更高版本引入的构建系统的一部分,用于替代之前的`Android.mk`。这个新系统提供了更高级别的抽象,简化了模块定义,并允许更灵活的构建配置。...

    大恒图像VEN-161-61U3MC工业相机3D图纸.rar

    《大恒图像VEN-161-61U3MC工业相机3D图纸解析》 在现代工业自动化领域,高精度、高速度的图像采集设备起着至关重要的作用,其中工业相机是核心组件之一。大恒图像作为国内知名的图像处理设备供应商,其产品VEN-161-...

    MySQL配置手册.docx

    MySQL配置手册详细介绍了MySQL数据库的复制、集群以及监控等核心功能,这对于数据库管理员和开发人员来说是至关重要的知识。下面我们将深入探讨这些主题。 1. MySQL复制 - **概述**:MySQL复制是一种技术,允许...

    Nvidia 假显卡驱动 Win7 Win8 支持列表见详细内容

    NVIDIA G70 PCI\VEN_10DE&DEV_009E NVIDIA GeForce 6800 GS PCI\VEN_10DE&DEV_00C0 NVIDIA GeForce 6800 PCI\VEN_10DE&DEV_00C1 NVIDIA GeForce 6800 LE PCI\VEN_10DE&DEV_00C2 NVIDIA GeForce 6800 XT PCI\VEN...

    ACPI\VEN_ATK&DEV_0101驱动for Windows

    真正支持Windows 10的ACPI\VEN_ATK&DEV_0101驱动!主要用于老笔记本驱动安装,并可以实现电源管理中创建新的高性能模式

    国产山寨平板ZH960原厂固件(显示储存空间64G实际16G MT6852)

    标题中的“国产山寨平板ZH960原厂固件”是指这款平板电脑出厂时的原始系统软件,通常包含了操作系统、驱动程序以及预装的应用程序。固件是设备的基础,它控制着硬件的操作和功能,对于平板电脑来说,这部分通常基于...

    系统动力学软件VEN手册

    ### 系统动力学软件VEN手册知识点解析 #### 一、概述 系统动力学软件VEN(通常指Vensim)是一种广泛应用于系统动力学领域的专业建模与仿真工具。其最新版本为Vensim 5.4a,在该版本中进行了一系列的功能改进与优化...

    Intel I217-V千兆网卡 MAC驱动

    Ven_8086是Intel公司的设备供应商ID,而DEV_153B则是I217-V网卡的设备ID,这两个标识符用于在系统中区分不同的硬件组件。 驱动程序在操作系统和硬件之间起着桥梁的作用,负责解释来自操作系统的指令并将其转换为...

    virtual box VGA driver VEN 80EE & DEV BEEF for Windows

    virtual box 虚拟机 显卡 驱动 VBoxVideo, PCI VEN 80EE & DEV BEEF

    ATI 所有显卡win7 驱动

    "ATI FireGL V7300 Secondary" = ati2mtag_R520GL, PCI\VEN_1002&DEV_712E "ATI FireGL V7350" = ati2mtag_R520GL, PCI\VEN_1002&DEV_710F "ATI FireGL V7350 Secondary" = ati2mtag_R520GL, PCI\VEN_1002&DEV_712F ...

    硬件ID为:PCI\VEN_1797&DEV_6804&CC_0400采集卡

    硬件ID为:PCI\VEN_1797&DEV_6804&CC_0400采集卡驱动 此卡芯片为6805 用了很多的6805驱动都不好用的情况下,可以试试这个驱动也许会好用。但我这只有六路通道好用,不知道为何。

    NetMos9835-9805PCI并口卡-RS485万能驱动

    PCI转并口/串口卡驱动。 支持多种芯片,如下。 NetMos 9705 PCI Parallel Port NetMos 9735 PCI Serial Port NetMos 9745 PCI Serial Port NetMos 9805 PCI Parallel Port ...PCI\VEN_9710&DEV_9855

    L293管脚说明,以及英文资料

    Ven=H):最小16mA,典型24mA - 使能端低电平(Ven=L):4mA - **静态逻辑电源电流(ISS)**: - 输入逻辑低电平时(Vi=L;IO=0;Ven=H):44mA 综上所述,L293系列芯片因其出色的性能、广泛的适用性和较高的可靠...

    EPRI OpenADR 2.0b Virtual End Node (VEN)-开源

    **EPRI OpenADR 2.0b Virtual End Node (VEN) 开源项目详解** EPRI OpenADR 2.0b Virtual End Node (VEN) 是一个开源软件项目,它提供了实现Open Automated Demand Response(OpenADR)2.0b协议的框架。OpenADR是一...

Global site tag (gtag.js) - Google Analytics