Results 1 to 10 of 10

Thread: Query regarding STS and maven integration

Hybrid View

  1. #1
    Join Date
    Jul 2012
    Posts
    5

    Arrow Query regarding STS and maven integration

    Hi,
    I have recently begun to use STS 2.9.2 in a Win7 environment and have a question regarding Maven integration.
    When I right-click on my pom.xml and select "Maven Build..." I then click on the "Select" button next to the Goals
    text box in the run configuration dialogue box. At this point a I expect to see a list of available goals. However
    all I see is a blank list box and a message stating "No entries available".

    Has anyone else come across this problem? Is there something else that needs to be configured to enable a list
    for use in the run configurations dialogue? I have alos seen this using Eclipse Indigo, Juno and THE JBoss Tools package.

    Cheers

  2. #2
    Join Date
    Jul 2012
    Posts
    19

    Default

    Yes,

    I always set the goals manually at this point but looks like you need to enable Full index for the repositories in the Maven repositories view then rebuild the indexes in order to populate this thing (Rebuilding indexes can take time).

  3. #3
    Join Date
    Jul 2012
    Posts
    5

    Default

    Thanks NicoTexas. I tried reindexing the indeces but there was no difference: the dialogue list is empty.

    As noted above, I've tried this in a few Eclipse environments and it's the same result everytime. I'm tempted to raise this as a bug with the developers.

    Thanks again.

  4. #4
    Join Date
    Jul 2012
    Posts
    19

    Default

    Just tried and it works.
    Are you sure "Full index" is enabled ?

  5. #5
    Join Date
    Jul 2012
    Posts
    5

    Default

    Just double checked both the local and global repositories and it's enabled for both. Thanks for checking this out.
    I'm at a loss. Given it works for you and I've tried at least 4 installations I suspect it's something else I've missed?

  6. #6
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Hey!

    Can you maybe attach a sample project that illustrates the problem that you have?

    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •