How to ignore particular scenario in cucumber?
<ol>
<li>I am using cucumber to feed scenario and java as a language.</li>
<li>I need to ignore particular scenario, while running an automation test. </li>
<li>I have tried with below @ignore syntax, it doesn't work at all.</li>
<li>It doesn't skip particular scenario, it keeps on executing all the test scenario, which I have feed in the feature file.</li>
</ol>

<hr>

<p><strong>Feature File</strong></p>

<pre><code>@ActivateSegment
Feature: Test for Activate segment

  Scenario: Login
    Given I navigate to M
    And I enter user name 
    And I enter password 
    And I login to MM

  Scenario: Open grid
    Given I choose menu
    And I choose Segments menu

  Scenario: Open segment creation page
    Given I click on New button
    And I click on Segment button
</code></pre>