<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>innossh</author_name>
  <author_url>https://blog.hatena.ne.jp/innossh/</author_url>
  <blog_title>Usual Software Engineer</blog_title>
  <blog_url>https://innossh.hatenablog.com/</blog_url>
  <categories>
    <anon>Gradle</anon>
    <anon>Maven</anon>
    <anon>Java</anon>
  </categories>
  <description>小ネタです。 GradleでJavaのプロジェクトを作成する時に、何らかの理由でpom.xmlを生成したい時があるかと思います。 僕の場合はDroolsのWorkbenchにjarをアップロードするためにそのjarに独自のpom.xmlを含めたかったのですが、それにはちょっとしたテクニックが必要でした。 単純に作ったjarをmavenレポジトリにアップロードしたいだけならmaven-publish pluginを使うことでそれが可能ですが、 今回は独自のpom.xmlを生成することに着目したいと思います。 まずはGradleの設定を考慮してpom.xmlとして生成したい場合です。このように b…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finnossh.hatenablog.com%2Fentry%2F2017%2F02%2F06%2F193954&quot; title=&quot;Gradleでdependencies無しの独自pom.xmlを生成する - Usual Software Engineer&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-02-06 19:39:54</published>
  <title>Gradleでdependencies無しの独自pom.xmlを生成する</title>
  <type>rich</type>
  <url>https://innossh.hatenablog.com/entry/2017/02/06/193954</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
