<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Manish</title>
    <description>The latest articles on Forem by Manish (@mghildiy).</description>
    <link>https://forem.com/mghildiy</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1127528%2Fae9e3a21-cef6-4922-9681-c6963803a92f.jpeg</url>
      <title>Forem: Manish</title>
      <link>https://forem.com/mghildiy</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/mghildiy"/>
    <language>en</language>
    <item>
      <title>Sprinboot profiles not working as expected</title>
      <dc:creator>Manish</dc:creator>
      <pubDate>Sat, 13 Jul 2024 12:48:44 +0000</pubDate>
      <link>https://forem.com/mghildiy/sprinboot-profiles-not-working-as-expected-28p7</link>
      <guid>https://forem.com/mghildiy/sprinboot-profiles-not-working-as-expected-28p7</guid>
      <description>&lt;p&gt;I have a question on profiles in springboot.&lt;/p&gt;

&lt;p&gt;I have defined few profiles in my springboot app. One of them is 'localtest'. All profiles contain some common properties.&lt;/p&gt;

&lt;p&gt;I run app as:&lt;/p&gt;

&lt;p&gt;mvn spring-boot:run -Dspring.profiles.active=localtest&lt;/p&gt;

&lt;p&gt;My expectation is that common properties have values picked up from profile 'localtest'. But I observe thats not the case.&lt;/p&gt;

&lt;p&gt;For eg. port in 'localtest' is 8081, but application is instead available on port 8089 which is defined in some other profile.&lt;/p&gt;

&lt;p&gt;What am I missing in my understanding of profiles? &lt;/p&gt;

</description>
      <category>springboot</category>
    </item>
  </channel>
</rss>
