Maven3になり、Eclipseプラグインも安心してビルドできる、ってのもあって、最近Mavenでビルドする事が増えてきています。JenkinsでCIを回してるんですが、別立てでApacheを立てたりするの面倒じゃないですか。で、そういうのを解決するプラグインないか探してみたらありましたわよ奥様。 Jenkins Maven Repository Server - Jenkins - Jenkins Wikiでございます。 使い方は簡単です。Jenkinsのプラグイン管理画面からJenkins Maven Repository Serverプラグインをインストールすると、あら不思議。 [JenkinsのURL]/project/repository/everything の下にJenkinsでビルドしている成果物全てのMaven Repositoryができているではありませんか。例えば先
<?xml version="1.0" encoding="UTF-8"?> <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>org.scala-tools.maven-scala-plugin</groupId> <artifactId>testJavaAndScala</artifactId> <version>1.0-SNAPSHOT</versi
基本的にローカルでweb作業するときはeclipseでjetty起動していましたが、Tomcatを使う機会が出てきました。 war作ってwebappsの下においてTomcat起動がめんどくさすぎてダウナーになって、Twitterでeclipseから起動できないのー!?って聞いたらたくさんリプライをいただきました!! 教えてもらった方法めも: mvn -Dwtpversion=2.0 eclipse:eclipseでmavenプロジェクトをEclipse Web Tool Platform向けに変換。 EclipseのタブにServersを追加。 プロジェクトを右クリックでRun on Server。 これで動的webプロジェクトになります! 超簡単にできた!うわっわたしの今までの効率、悪すぎ・・・!?
DeploymentThe plugin provides various methods of deployment to Tomcat:Deploying a WAR fileDeploying an exploded WAR directory, with an optional context.xml fileDeploying an in-place WAR directory, with an optional context.xml fileDeploying a context.xml fileRunning a WAR projectThese are described in more detail below.
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く