<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic mvn import *matches* on packageName so exports more than expected in vCenter Orchestrator Plug-in SDK Discussions</title>
    <link>https://communities.vmware.com/t5/vCenter-Orchestrator-Plug-in-SDK/mvn-import-matches-on-packageName-so-exports-more-than-expected/m-p/1394940#M395</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does mvn import do pattern matching on the packageName? Or does it do an exact match query? I get xml files of components that are in a package with a similar name (but has a further extention in the name). Let me give an example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have 2 packages, say: "com.test.ed" and "com.test.ed&lt;STRONG&gt;.ext&lt;/STRONG&gt;". In the pom file of the project I set packageName to: &lt;STRONG&gt;&amp;lt;packageName&amp;gt;com.ed.test&amp;lt;/packageName&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When doing a mvn import of package "com.test.ed" (to get the components from this vRO package into XML files), I noticed that I &lt;EM&gt;&lt;STRONG&gt;also&lt;/STRONG&gt;&lt;/EM&gt; get the content of package "com.test.ed&lt;EM&gt;&lt;STRONG&gt;.ext&lt;/STRONG&gt;&lt;/EM&gt;"!&lt;/P&gt;&lt;P&gt;After renaming "com.test.ed.ext" to a non-matching name (e.g. "com.test.myext") it was correct again and the mvn import of "com.test.ed" would &lt;EM&gt;only&lt;/EM&gt; give me the xml files for &lt;EM&gt;that&lt;/EM&gt; package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So... it seems that the plugin does a filename match on the packageName?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone seen this? It is easy to reproduce.&lt;/P&gt;&lt;P&gt;Suggestions welcome &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@7651DD0E8772B3B5D93ADA9ABA2E067C/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 May 2018 09:04:49 GMT</pubDate>
    <dc:creator>EdSp</dc:creator>
    <dc:date>2018-05-17T09:04:49Z</dc:date>
    <item>
      <title>mvn import *matches* on packageName so exports more than expected</title>
      <link>https://communities.vmware.com/t5/vCenter-Orchestrator-Plug-in-SDK/mvn-import-matches-on-packageName-so-exports-more-than-expected/m-p/1394940#M395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does mvn import do pattern matching on the packageName? Or does it do an exact match query? I get xml files of components that are in a package with a similar name (but has a further extention in the name). Let me give an example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have 2 packages, say: "com.test.ed" and "com.test.ed&lt;STRONG&gt;.ext&lt;/STRONG&gt;". In the pom file of the project I set packageName to: &lt;STRONG&gt;&amp;lt;packageName&amp;gt;com.ed.test&amp;lt;/packageName&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;When doing a mvn import of package "com.test.ed" (to get the components from this vRO package into XML files), I noticed that I &lt;EM&gt;&lt;STRONG&gt;also&lt;/STRONG&gt;&lt;/EM&gt; get the content of package "com.test.ed&lt;EM&gt;&lt;STRONG&gt;.ext&lt;/STRONG&gt;&lt;/EM&gt;"!&lt;/P&gt;&lt;P&gt;After renaming "com.test.ed.ext" to a non-matching name (e.g. "com.test.myext") it was correct again and the mvn import of "com.test.ed" would &lt;EM&gt;only&lt;/EM&gt; give me the xml files for &lt;EM&gt;that&lt;/EM&gt; package.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So... it seems that the plugin does a filename match on the packageName?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone seen this? It is easy to reproduce.&lt;/P&gt;&lt;P&gt;Suggestions welcome &lt;img class="lia-deferred-image lia-image-emoji" src="https://communities.vmware.com/html/@7651DD0E8772B3B5D93ADA9ABA2E067C/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 09:04:49 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/vCenter-Orchestrator-Plug-in-SDK/mvn-import-matches-on-packageName-so-exports-more-than-expected/m-p/1394940#M395</guid>
      <dc:creator>EdSp</dc:creator>
      <dc:date>2018-05-17T09:04:49Z</dc:date>
    </item>
  </channel>
</rss>

