mavenリポジトリにjarがデプロイ出来ない
hudsonから自前のnexus maven repository にデプロイさせているのだけれど、デプロイさせたいプロジェクトのpom.xmlにmaven-pluginの記述があるとどうも正常にデプロイ出来ないみたい。成果物のpackagingはjarと指定してあるのにpomでデプロイされてしまう。なぜなんだー。
Deploying artifacts to http://xxx.com/repositories/snapshots
Deploying the main artifact pom.xml ←ここ!!
[INFO ] Retrieving previous build number from
[INFO ] Retrieving previous metadata from
[INFO ] Uploading repository metadata for: 'snapshot'
[INFO ] Uploading project information for
[INFO ] Retrieving previous metadata from
[INFO ] Uploading repository metadata for: 'artifact'
finished: SUCCESS
追記:
id:kkawaにコメントを頂いてIssueTrackerに登録しておきました。
https://hudson.dev.java.net/issues/show_bug.cgi?id=2998