Continuum

Need to be able to define default build definition used when adding new project

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.1-alpha-1
  • Fix Version/s: 1.1-beta-3
  • Component/s: None
  • Labels:
    None
  • Complexity:
    Intermediate
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

The default build definition of "clean install --batch-mode --non-recursive" is hard coded in DefaultContinuum.java, it should be configurable.

Issue Links

Activity

Hide
Olivier Lamy added a comment -

With adding two textfield in addMavenTwoProject :

  • goals (with predefined value : clean install)
  • arguments (with predefined value : --batch-mode --non-recursive)
Show
Olivier Lamy added a comment - With adding two textfield in addMavenTwoProject :
  • goals (with predefined value : clean install)
  • arguments (with predefined value : --batch-mode --non-recursive)
Hide
Emmanuel Venisse added a comment -

I don't think to add two new fields in addMavenTwoProject is the best way because if user want to set a specific goal for the project he's adding, he can do it in build definitions screens
I think this issue is to change the default "clean install" to something else (maybe arguments too), so in this case, it would be better to allow to configure it in application.xml (and to document it )

Show
Emmanuel Venisse added a comment - I don't think to add two new fields in addMavenTwoProject is the best way because if user want to set a specific goal for the project he's adding, he can do it in build definitions screens I think this issue is to change the default "clean install" to something else (maybe arguments too), so in this case, it would be better to allow to configure it in application.xml (and to document it )
Hide
Olivier Lamy added a comment -

here the patch. Works with uncomment component ConfigurationService in application.xml (goals and arguments are configurable)
And an entry in the faq

Show
Olivier Lamy added a comment - here the patch. Works with uncomment component ConfigurationService in application.xml (goals and arguments are configurable) And an entry in the faq
Hide
Emmanuel Venisse added a comment -

Applied. I added default conf for maven1 and Ant projects too

Show
Emmanuel Venisse added a comment - Applied. I added default conf for maven1 and Ant projects too

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: