`

My Common Script

    博客分类:
  • SOA
阅读更多

================= MAVEN =====================

set M2_HOME=C:\apache-maven-2.0.10

set PATH=%path%;C:\apache-maven-2.0.10\bin

Mvn -version
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
mvn compile
mvn test
mvn test-compile
mvn package

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

java -cp target/my-app-1.0-SNAPSHOT.jar com.mycompany.app.App

mvn site
mvn clean
mvn idea:idea
mvn eclipse:eclipse

mvn help:describe -Dplugin=help
mvn help:describe -Dplugin=help -Dfull
mvn help:effective-pom
mvn help:describe -Dplugin=exec -Dfull

mvn dependency:resolve
mvn test
mvn test -Dmaven.test.failure.ignore=true

mvn jetty:run

mvn archetype:create -DarchetypeGroupId=org.apache.maven.archetypes -DarchetypeArtifactId=maven-archetype-webapp -DgroupId=com.mycompany.app -DartifactId=my-webapp

mvn archetype:create -DgroupId=org.sonatype.mavenbook.ch05 -DartifactId=simple-webapp -DpackageName=org.sonatype.mavenbook -DarchetypeArtifactId=maven-archetype-webapp


mvn archetype:create -DgroupId=org.sonatype.mavenbook.ch03 -DartifactId=simple -DpackageName=org.sonatype.mavenbook
mvn archetype:create -DgroupId=org.sonatype.mavenbook.ch04 -DartifactId=simple-weather -DpackageName=org.sonatype.mavenbook -Dversion=1.0

mvn exec:java -Dexec.mainClass=org.sonatype.mavenbook.weather.Main

java -cp target/simple-command-jar-with-dependencies.jar org.sonatype.mavenbook.weather.Main 60202
java -cp target/simple-command-jar-with-dependencies.jar org.sonatype.mavenbook.weather.Main 60202 history


================= MULE =========================

set MULE_HOME=C:\mule-2.1.2

set PATH=%PATH%;C:\mule-2.1.2\bin

set PATH=%PATH%;%MULE_HOME%\bin

set CLASSPATH=%CLASSPATH%;C:\mule-2.1.2\lib\mule;C:\mule-2.1.2\lib\boot;C:\mule-2.1.2\lib\endorsed;C:\mule-2.1.2\lib\opt;C:\mule-2.1.2\lib\user

================== JDK ========================

set JAVA_HOME=j:\apps_pub\jdk15910

set CLASSPATH=%JAVA_HOME%\jre\lib\rt.jar;.

set PATH=%JAVA_HOME%\bin

分享到:
评论

相关推荐

    pylint-0.28.0.tar,logilab-astng-0.24.3.tar,logilab-common-1.4.0.tar

    例如,检查一个名为`my_script.py`的文件: ```bash pylint my_script.py ``` `pylint`的输出会显示代码中的问题,并给出相应的分数,帮助开发者了解代码质量。此外,`pylint`还可以集成到开发环境如IDE(如...

    vue动态加载外部依赖js代码实现

    <my-script src="https://csdnimg.cn/public/common/libs/jquery/jquery-1.9.1.min.js" @onload="onload"></my-script> ``` 6. **扩展功能** - 可以进一步优化组件,支持加载CSS文件或其他类型的资源。 - 添加...

    declt:Common Lisp 库的参考手册生成器

    减税Declt(发音为 dec'let)是 Common Lisp 的参考手册生成器。 它从 ASDF 系统中提取和格式化文档,包括系统本身、其本地依赖项(子系统)、组件、包和广泛的定义列表(变量、函数等)。 格式化文档带有完整的索引...

    Perl CGI 环境变量列表

    my $script_name = $ENV{'SCRIPT_NAME'}; print "Script Path: $script_name\n"; ``` ##### 6. PATH_INFO - **定义**:请求中的额外路径信息。 - **作用**:如果脚本被配置为处理子路径,则该变量将包含这些子...

    log打印和分析工具mylog.zip

    "common": { "bdSnsKey": {}, "bdText": "", "bdMini": "2", "bdMiniList": [], "bdPic": "", "bdStyle": "1", "bdSize": "24" }, "share": {} }; with (document)0[(getElementsByTagName('...

    conf配置文件解析库myconf.zip

    MY_CONF_INS* my_conf_init(const char* file_path, const char* file_name); 标签:myconf 分享 window._bd_share_config = { "common": { ...

    my test just a test

    <mx:Script source="fdo.as"/> [A-Z,0-9]" validator="{fltNoValidator}"/> [A-Z,0-9]" text="{this.formatDate(new Date)}" validator="{fltDateValidator}" /> ...

    tnsg:快速生成您的页面,服务,视图,类。

    安装npm install -g tnsg生成页面,服务,类(角度) 脚手架用法Page tnsg -p my-page Service tnsg -s my-service Class tnsg -c my-class例子: tnsg -p pages/login将生成: ./app/pages/login/login.android.css...

    java8stream源码-awesome-stars:我自己的真棒清单!

    my own! Generated by [Common Lisp](#common lisp) [Emacs Lisp](#emacs lisp) [GCC Machine Description](#gcc machine description) [Jupyter Notebook](#jupyter notebook) ApacheConf - Delightfully simple ...

    SQL Server MVP Deep Dives in Action

    Some great approaches to common problems, some great forays into areas I have, unfortunately, not forced myself to get into (like Power Shell for my administrative tasks). I will be taking some of the...

    ElasticSearchPHPElasticSearch的官方客户端库

    'script' => $script ] ]); ``` #### 2. 删除文档 使用`delete`方法删除文档: ```php $id = '1'; $response = $client->delete([ 'index' => 'my_index', 'id' => $id ]); ``` #### 3. 批量操作 批量插入...

    基于VB.NET 的.NET Framework的认证题库

    因此,对于本题中的情况,.NET框架将会在E:\MyProgram\及其子目录E:\MyProgram\MyClass下查找MyClass.dll。 #### 8. 程序集强名称的组成 **题目**: 下列哪些选项不是程序集强名称的一部分? **选项**: - A. 程序...

    C# Game Programming Cookbook for Unity 3D - 2014

    4. Recipes: Common Components 41 4.1 Introduction.......................................................41 4.2 The Timer Class....................................................43 4.2.1 Script ...

    vue.js与后台数据交互的实例讲解

    第一步:引入js库: [removed][removed] [removed][removed] 前端代码: <!DOCTYPE html> <...link rel=stylesheet href=../my/style.css rel=external nofollow >...script src=../js/common/vu

    Unity.5.From.Zero.to.Proficiency.B01EJCE85M

    You may be wondering: "How can I start to create my games if I have no experience of coding", or "this game engine is so complex that I just don't know where to get started". This is quite common, ...

    Google 官方代码风格指南-Python Java C1

    此外,Google还提供了其他语言的风格指南,例如Objective-C、R、Shell、HTML/CSS、JavaScript、AngularJS、Common Lisp、Vimscript以及XML Document Format。这些风格指南都遵循了相似的原则,旨在提高代码质量、...

    selenium webdriverAPI-python

    from selenium.webdriver.common.file_detector import UselessFileDetector with driver.file_detector_context(UselessFileDetector): some_input.send_keys('/etc/hosts') ``` ### Summary Selenium ...

    flex访问java对象

    <channel ref="my-amf"/> <source>org.common.FlexCallJava ``` 这里的关键是`<destination>`标签,它指定了Java对象的位置,即`org.common.FlexCallJava`。这意味着Flex应用可以通过ID`fcj`来访问这...

    简单的网页制作期末作业——HTML+CSS+JavaScript小礼品购物商城网站

    <script type="text/javascript" src="js/common.js"></script> 爱玛克首页 (1);"> <li class="my_account"><a href="#">Gordon</a><span>你好,欢迎光临爱玛客!</span></li> ``` - **文档类型声明**:...

    shell cheat sheet

    - **Shell Name**: `$SHELL` returns the name of the shell that is currently executing the script. - **Language**: `$LANG` specifies the language settings for the environment. Setting it to `C` uses ...

Global site tag (gtag.js) - Google Analytics