Continuum

Continuum doesn't add new projects using effective POM

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.2
  • Fix Version/s: 1.0.3
  • Component/s: Core system
  • Labels:
    None
  • Complexity:
    Intermediate
  • Number of attachments :
    0

Description

I have a series of projects that inherit <defaultGoal>deploy</defaultGoal>, but one of the active profiles in the Continuum build environment overrides this to <defaultGoal>site-deploy</defaultGoal> (confirmed by help:effective-pom).

However, when I add the project to Continuum, it still ends up having "deploy" as its goal. This strongly suggests that Continuum isn't applying active profiles to the POM before reading it. This could be a problem in other contexts as well - what if it was, for example, a profile that was supplying the SCM connection data?

Activity

Hide
Trygve Laugstol added a comment -

Continuum is using the effective POM as it's using Maven itself to read the pom.xml file. The real issue here is that Continuum isn't using the default goal stated in the pom.

Show
Trygve Laugstol added a comment - Continuum is using the effective POM as it's using Maven itself to read the pom.xml file. The real issue here is that Continuum isn't using the default goal stated in the pom.
Hide
Matthew Beermann added a comment -

I filed a bug to that effect a while back and it was marked off as fixed, but apparently not...

Show
Matthew Beermann added a comment - I filed a bug to that effect a while back and it was marked off as fixed, but apparently not...
Hide
Emmanuel Venisse added a comment -

I think it's fixed by my yesterday's patch. Can you provide a set of sample pom? so i'll can check it.

Show
Emmanuel Venisse added a comment - I think it's fixed by my yesterday's patch. Can you provide a set of sample pom? so i'll can check it.
Hide
Emmanuel Venisse added a comment -

Fix by settings loading improvment

Show
Emmanuel Venisse added a comment - Fix by settings loading improvment

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: