Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1-beta-1
    • Component/s: Core - Profiles
    • Labels:
      None

      Description

      would like to be able to define a profile (which can include certain environmental things such as the version of m2 to use, the JDK version, etc).

      Profiles should be able to be used globally, per group or per project. In this way, you could build certain projects under a variety of different JDKs for example.

      1. CONTINUUM-44
        217 kB
        Olivier Lamy (*$^¨%`£)
      2. CONTINUUM-44-continuum-data-management
        14 kB
        Olivier Lamy (*$^¨%`£)
      3. CONTINUUM-44-continuum-data-management
        14 kB
        Olivier Lamy (*$^¨%`£)
      4. CONTINUUM-44
        243 kB
        Olivier Lamy (*$^¨%`£)
      5. CONTINUUM-44-LICENSE-REFORMATED
        211 kB
        Olivier Lamy (*$^¨%`£)
      6. CONTINUUM-44-GOODIES
        41 kB
        Olivier Lamy (*$^¨%`£)
      7. CONTINUUM-44-GOODIES
        46 kB
        Olivier Lamy (*$^¨%`£)

        Issue Links

          Activity

          Brett Porter created issue -
          Brett Porter made changes -
          Field Original Value New Value
          Fix Version/s 1.0-alpha-3 [ 10936 ]
          Jason van Zyl made changes -
          Fix Version/s 1.0-beta-1 [ 11665 ]
          Fix Version/s 1.0-alpha-3 [ 10936 ]
          Jason van Zyl made changes -
          Assignee Jason van Zyl [ jason ]
          Brett Porter made changes -
          Fix Version/s 1.0-alpha-4 [ 11665 ]
          Environment
          Fix Version/s 1.0-beta-1 [ 11908 ]
          Description would like to be able to define a profile (which can include certain environmental things such as the version of m2 to use, the JDK version, etc).

          Profiles should be able to be used globally, per group or per project. In this way, you could build certain projects under a variety of different JDKs for example.
          would like to be able to define a profile (which can include certain environmental things such as the version of m2 to use, the JDK version, etc).

          Profiles should be able to be used globally, per group or per project. In this way, you could build certain projects under a variety of different JDKs for example.
          Hide
          Brett Porter added a comment -
          Show
          Brett Porter added a comment - screens: http://people.apache.org/~brett/white-site/profiles.html http://people.apache.org/~brett/white-site/editProfile.html http://people.apache.org/~brett/white-site/viewProfile.html start out by predefining installations (we can hard code them to use the path for alpha-4)
          Brett Porter made changes -
          Link This issue is duplicated by CONTINUUM-271 [ CONTINUUM-271 ]
          Brett Porter made changes -
          Assignee Jason van Zyl [ jason ]
          Emmanuel Venisse made changes -
          Fix Version/s 1.0-beta-2 [ 12010 ]
          Fix Version/s 1.0-beta-1 [ 11908 ]
          Brett Porter made changes -
          Fix Version/s 1.0-beta-2 [ 12010 ]
          Fix Version/s 1.1 [ 11810 ]
          Brett Porter made changes -
          Link This issue is duplicated by CONTINUUM-411 [ CONTINUUM-411 ]
          Emmanuel Venisse made changes -
          Fix Version/s 1.0.1 [ 11810 ]
          Environment
          Fix Version/s 1.1 [ 12082 ]
          Description would like to be able to define a profile (which can include certain environmental things such as the version of m2 to use, the JDK version, etc).

          Profiles should be able to be used globally, per group or per project. In this way, you could build certain projects under a variety of different JDKs for example.
          would like to be able to define a profile (which can include certain environmental things such as the version of m2 to use, the JDK version, etc).

          Profiles should be able to be used globally, per group or per project. In this way, you could build certain projects under a variety of different JDKs for example.
          Hide
          james strachan added a comment -

          I'd include in this OS as well. We want to test all our code in CI using various OSes and JDK versions - then we'd really like to be able to consolidate the results to highlight what failed on what profile - rather than having to navigate into 4-8 different CI installations and then drill into each failed project to try get a feel for whats actually failing where.

          So I'd really like a report thats kinda like...

          Profile Failures
          =======================================
          Linux, JDK 1.4.2 : FooTest, BarTest, WhatnotTest
          Windows, JDK 1.5.0 : BarTest

          Then in one simple web page we can grok whats failing where and see patterns. (e.g. some failures are OS / JVM specific. Some fail everywhere etc).

          This is related to... http://jira.codehaus.org/browse/CONTINUUM-427

          Show
          james strachan added a comment - I'd include in this OS as well. We want to test all our code in CI using various OSes and JDK versions - then we'd really like to be able to consolidate the results to highlight what failed on what profile - rather than having to navigate into 4-8 different CI installations and then drill into each failed project to try get a feel for whats actually failing where. So I'd really like a report thats kinda like... Profile Failures ======================================= Linux, JDK 1.4.2 : FooTest, BarTest, WhatnotTest Windows, JDK 1.5.0 : BarTest Then in one simple web page we can grok whats failing where and see patterns. (e.g. some failures are OS / JVM specific. Some fail everywhere etc). This is related to... http://jira.codehaus.org/browse/CONTINUUM-427
          james strachan made changes -
          Link This issue is related to CONTINUUM-427 [ CONTINUUM-427 ]
          Emmanuel Venisse made changes -
          Workflow jira [ 30885 ] Maven New [ 52747 ]
          Hide
          Emmanuel Venisse added a comment -

          A continuum profile should be an aggregate of multiple profile like this :

          My continuum profile can include :

          • a continuum profile that define the jdk 1.4
          • a continuum profile that define the schedule
          • a continuum profile that define the build definition
          Show
          Emmanuel Venisse added a comment - A continuum profile should be an aggregate of multiple profile like this : My continuum profile can include : a continuum profile that define the jdk 1.4 a continuum profile that define the schedule a continuum profile that define the build definition
          Hide
          Jesse McConnell added a comment -

          I think profiles will probably be a key feature for 1.2

          Show
          Jesse McConnell added a comment - I think profiles will probably be a key feature for 1.2
          Jesse McConnell made changes -
          Fix Version/s 1.2 [ 12960 ]
          Fix Version/s 1.1 [ 12082 ]
          Jesse McConnell made changes -
          Component/s Core - Profiles [ 12481 ]
          Fix Version/s 1.2 [ 12960 ]
          Fix Version/s 1.1 [ 12082 ]
          Emmanuel Venisse made changes -
          Comment [ http://ttu.cc/3730
          http://ttu.cc/3731
          http://ttu.cc/3732
          http://ttu.cc/3733
          http://ttu.cc/3734
          http://ttu.cc/3735
          http://ttu.cc/3736
          http://ttu.cc/3737
          http://ttu.cc/3738
          http://ttu.cc/3739
          http://ttu.cc/3740
          http://ttu.cc/3741
          http://ttu.cc/3742
          http://ttu.cc/3743
          http://ttu.cc/3744
          http://ttu.cc/3745
          http://ttu.cc/3746
          http://ttu.cc/3747
          http://ttu.cc/3748
          http://ttu.cc/3749
          http://ttu.cc/3750
          http://ttu.cc/3751
          http://ttu.cc/3752
          http://ttu.cc/3753
          http://ttu.cc/3754
          http://ttu.cc/3755
          http://ttu.cc/3756
          http://ttu.cc/3757
          http://ttu.cc/3758
          http://ttu.cc/3759
          http://ttu.cc/3760
          http://ttu.cc/3761
          http://ttu.cc/3762
          http://ttu.cc/3763
          http://ttu.cc/3764
          http://ttu.cc/3765
          http://ttu.cc/3766
          http://ttu.cc/3767
          http://ttu.cc/3768
          http://ttu.cc/3769
          http://ttu.cc/3770
          http://ttu.cc/3771
          http://ttu.cc/3772
          http://ttu.cc/3773
          http://ttu.cc/3774
          http://ttu.cc/3775
          http://ttu.cc/3776
          http://ttu.cc/3777
          http://ttu.cc/3778
          http://ttu.cc/3779
          http://flingk.com/127hmvea
          http://flingk.com/ml6wvjd
          http://flingk.com/zwsrirt
          http://flingk.com/x5kip5u
          http://flingk.com/f8kxcm5
          http://flingk.com/zg9e1wu
          http://flingk.com/yzq0kzw
          http://flingk.com/duysxuq
          http://flingk.com/x5kipa1
          http://flingk.com/193k8xos
          http://flingk.com/4o7bj4y
          http://flingk.com/16cc043c
          http://flingk.com/zwsriyy
          http://flingk.com/m4njeu4
          http://flingk.com/vryeakb
          http://flingk.com/193k8xsi
          http://flingk.com/7ffkcvr
          http://flingk.com/3r4kle4
          http://flingk.com/wp158in
          http://flingk.com/jtyo2cw
          http://flingk.com/g5noawm
          http://flingk.com/1wz2ptz
          http://flingk.com/16cc04ey
          http://flingk.com/186hi06n
          http://flingk.com/es1jw7k
          http://flingk.com/15vsmnl1
          http://flingk.com/61tfyew
          http://flingk.com/chcojlq
          http://flingk.com/zwbs6t
          http://flingk.com/kai1jma
          http://flingk.com/61tfyk1
          http://flingk.com/7ffkddt
          http://flingk.com/jtyo2r2
          http://flingk.com/6ictfk4
          http://flingk.com/134kdu89
          http://flingk.com/x5kiq30
          http://flingk.com/193k8yhv
          http://flingk.com/q9hwo1n
          http://flingk.com/ni9nufs
          http://flingk.com/16cc04xc
          http://flingk.com/zg9e2vi
          http://flingk.com/zg9e2wv
          http://flingk.com/1wz2qg8
          http://flingk.com/134kdugw
          http://flingk.com/ofcesgg
          http://flingk.com/18n0vhrl
          http://flingk.com/141n4sf0
          http://flingk.com/5la2i3a
          http://flingk.com/an76ofh
          http://flingk.com/6ictg2u
          http://redirme.com/1m4
          http://redirme.com/1m5
          http://redirme.com/1m6
          http://redirme.com/1m7
          http://redirme.com/1m8
          http://redirme.com/1m9
          http://redirme.com/1mb
          http://redirme.com/1mc
          http://redirme.com/1md
          http://redirme.com/1mf
          http://redirme.com/1mg
          http://redirme.com/1mh
          http://redirme.com/1mj
          http://redirme.com/1mk
          http://redirme.com/1ml
          http://redirme.com/1mm
          http://redirme.com/1mn
          http://redirme.com/1mp
          http://redirme.com/1mq
          http://redirme.com/1mr
          http://redirme.com/1ms
          http://redirme.com/1mt
          http://redirme.com/1mv
          http://redirme.com/1mw
          http://redirme.com/1mx
          http://redirme.com/1mz
          http://redirme.com/1n1
          http://redirme.com/1n2
          http://redirme.com/1n3
          http://redirme.com/1n4
          http://redirme.com/1n5
          http://redirme.com/1n6
          http://redirme.com/1n7
          http://redirme.com/1n8
          http://redirme.com/1n9
          http://redirme.com/1nb
          http://redirme.com/1nc
          http://redirme.com/1nd
          http://redirme.com/1nf
          http://redirme.com/1ng
          http://redirme.com/1nh
          http://redirme.com/1nj
          http://redirme.com/1nk
          http://redirme.com/1nl
          http://redirme.com/1nm
          http://redirme.com/1nn
          http://redirme.com/1np
          http://redirme.com/1nq
          http://redirme.com/1nr
          http://redirme.com/1ns
          http://win-win.main.jp/l9
          http://win-win.main.jp/la
          http://win-win.main.jp/lb
          http://win-win.main.jp/lc
          http://win-win.main.jp/ld
          http://win-win.main.jp/le
          http://win-win.main.jp/lf
          http://win-win.main.jp/lg
          http://win-win.main.jp/lh
          http://win-win.main.jp/li
          http://win-win.main.jp/lj
          http://win-win.main.jp/lk
          http://win-win.main.jp/ll
          http://win-win.main.jp/lm
          http://win-win.main.jp/ln
          http://win-win.main.jp/lo ]
          Jesse McConnell made changes -
          Fix Version/s 1.1-alpha-1 [ 12082 ]
          Fix Version/s 1.1-alpha-# [ 13293 ]
          Hide
          Emmanuel Venisse added a comment -

          I created new screens as brett's screens are old.

          First a user can define all installation directories (jdk, maven, ant...), installations are independant of profiles and can be reused in profiles.
          http://people.apache.org/~evenisse/design/continuum/continuum_profiles/installations.htm
          http://people.apache.org/~evenisse/design/continuum/continuum_profiles/installation.htm
          http://people.apache.org/~evenisse/design/continuum/continuum_profiles/installation_read.htm

          When installations are defined, The user can create profiles. Profiles are a set of installation, ie maven 2.0.6+jdk5
          http://people.apache.org/~evenisse/design/continuum/continuum_profiles/profiles.htm
          http://people.apache.org/~evenisse/design/continuum/continuum_profiles/profile.htm
          http://people.apache.org/~evenisse/design/continuum/continuum_profiles/profile_read.htm

          I don't know yet if schedule, build file and SCM policy should be move from the build definition to the profile. If we do it, the build definition config would be simplified

          Build definition screens:
          http://people.apache.org/~evenisse/design/continuum/continuum_profiles/builddefinitions.htm
          http://people.apache.org/~evenisse/design/continuum/continuum_profiles/builddefinition.htm

          Comments?

          Show
          Emmanuel Venisse added a comment - I created new screens as brett's screens are old. First a user can define all installation directories (jdk, maven, ant...), installations are independant of profiles and can be reused in profiles. http://people.apache.org/~evenisse/design/continuum/continuum_profiles/installations.htm http://people.apache.org/~evenisse/design/continuum/continuum_profiles/installation.htm http://people.apache.org/~evenisse/design/continuum/continuum_profiles/installation_read.htm When installations are defined, The user can create profiles. Profiles are a set of installation, ie maven 2.0.6+jdk5 http://people.apache.org/~evenisse/design/continuum/continuum_profiles/profiles.htm http://people.apache.org/~evenisse/design/continuum/continuum_profiles/profile.htm http://people.apache.org/~evenisse/design/continuum/continuum_profiles/profile_read.htm I don't know yet if schedule, build file and SCM policy should be move from the build definition to the profile. If we do it, the build definition config would be simplified Build definition screens: http://people.apache.org/~evenisse/design/continuum/continuum_profiles/builddefinitions.htm http://people.apache.org/~evenisse/design/continuum/continuum_profiles/builddefinition.htm Comments?
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          Here the patch which implements this feature.
          contains fix for CONTINUUM-1291.

          Show
          Olivier Lamy (*$^¨%`£) added a comment - Here the patch which implements this feature. contains fix for CONTINUUM-1291 .
          Olivier Lamy (*$^¨%`£) made changes -
          Attachment CONTINUUM-44 [ 28030 ]
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          add patch for continuum-data-management (due to Profile repackaging in the other patch).
          Change xml diff with using xmlunit.
          All units works.
          patch build from root with : svn diff continuum-data-management > CONTINUUM-44-continuum-data-management

          Show
          Olivier Lamy (*$^¨%`£) added a comment - add patch for continuum-data-management (due to Profile repackaging in the other patch). Change xml diff with using xmlunit. All units works. patch build from root with : svn diff continuum-data-management > CONTINUUM-44 -continuum-data-management
          Olivier Lamy (*$^¨%`£) made changes -
          Attachment CONTINUUM-44-continuum-data-management [ 28036 ]
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          override previous patch in continuum-data-management.
          With xmlunit no more need of clean quotes and line ending in order to compare xml files.

          Show
          Olivier Lamy (*$^¨%`£) added a comment - override previous patch in continuum-data-management. With xmlunit no more need of clean quotes and line ending in order to compare xml files.
          Olivier Lamy (*$^¨%`£) made changes -
          Attachment CONTINUUM-44-continuum-data-management [ 28037 ]
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          Here a full patch which include a fix (deleted Installation linked to some profiles) and fix for data-management.
          Other things to do :

          • validation of the user entry when saving installation (jdk path, M2_HOME value etc..)
          • adding information on the builder use and the env vars in the mail
          • documentation
          Show
          Olivier Lamy (*$^¨%`£) added a comment - Here a full patch which include a fix (deleted Installation linked to some profiles) and fix for data-management. Other things to do : validation of the user entry when saving installation (jdk path, M2_HOME value etc..) adding information on the builder use and the env vars in the mail documentation
          Olivier Lamy (*$^¨%`£) made changes -
          Attachment CONTINUUM-44 [ 28045 ]
          Hide
          Emmanuel Venisse added a comment -

          Your patch isn't correct, I can't apply it.

          Please don't reformat the license in files and don't change the import order.

          Show
          Emmanuel Venisse added a comment - Your patch isn't correct, I can't apply it. Please don't reformat the license in files and don't change the import order.
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          Ok for license format.
          I'm using eclipse file format found here http://maven.apache.org/developers/committer-environment.html.
          What can I do better ?
          I will provide an other patch with the non reformated license.
          But I don't really understand the trouble with import ? (again I use eclipse provided format file).

          Show
          Olivier Lamy (*$^¨%`£) added a comment - Ok for license format. I'm using eclipse file format found here http://maven.apache.org/developers/committer-environment.html . What can I do better ? I will provide an other patch with the non reformated license. But I don't really understand the trouble with import ? (again I use eclipse provided format file).
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          New patch (note the file name ).
          I have made some test on solaris and work fine as expected (fix my use case CONTINUUM-1291).
          I will provide other patchs for other points (gui validation)

          Show
          Olivier Lamy (*$^¨%`£) added a comment - New patch (note the file name ). I have made some test on solaris and work fine as expected (fix my use case CONTINUUM-1291 ). I will provide other patchs for other points (gui validation)
          Olivier Lamy (*$^¨%`£) made changes -
          Attachment CONTINUUM-44-LICENSE-REFORMATED [ 28053 ]
          Hide
          Emmanuel Venisse added a comment -

          Patch committed.
          We'll close this issue when all other patches will be provided/applied too

          Show
          Emmanuel Venisse added a comment - Patch committed. We'll close this issue when all other patches will be provided/applied too
          Hide
          Emmanuel Venisse added a comment -

          Great work, thanks Olivier

          Show
          Emmanuel Venisse added a comment - Great work, thanks Olivier
          Emmanuel Venisse made changes -
          Fix Version/s 1.1-alpha-3 [ 13432 ]
          Fix Version/s 1.1-alpha-# [ 13293 ]
          Assignee Emmanuel Venisse [ evenisse ]
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          This patch provide the following :

          • validation of the user entry when saving installation (jdk path, M2_HOME value etc..)
          • adding information on the builder use (like mvn -v) in the mail
          • change edit profile screen to not display installation (Add button) in case of profile creation
          • create a class ExecutorConfigurator to store configuration regarding executable informations.
          Show
          Olivier Lamy (*$^¨%`£) added a comment - This patch provide the following : validation of the user entry when saving installation (jdk path, M2_HOME value etc..) adding information on the builder use (like mvn -v) in the mail change edit profile screen to not display installation (Add button) in case of profile creation create a class ExecutorConfigurator to store configuration regarding executable informations.
          Olivier Lamy (*$^¨%`£) made changes -
          Attachment CONTINUUM-44-GOODIES [ 28069 ]
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          Sorry just detected a small issue on the previous patch
          Information on the builder in the mail was not correct.

          Show
          Olivier Lamy (*$^¨%`£) added a comment - Sorry just detected a small issue on the previous patch Information on the builder in the mail was not correct.
          Olivier Lamy (*$^¨%`£) made changes -
          Attachment CONTINUUM-44-GOODIES [ 28089 ]
          Hide
          Emmanuel Venisse added a comment -

          Applied. Thanks.

          Show
          Emmanuel Venisse added a comment - Applied. Thanks.
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          Can we close the issue and create a new one for profile inheritance and other profile features ?

          Show
          Olivier Lamy (*$^¨%`£) added a comment - Can we close the issue and create a new one for profile inheritance and other profile features ?
          Emmanuel Venisse made changes -
          Link This issue is related to CONTINUUM-1334 [ CONTINUUM-1334 ]
          Emmanuel Venisse made changes -
          Link This issue is related to CONTINUUM-1335 [ CONTINUUM-1335 ]
          Emmanuel Venisse made changes -
          Link This issue relates to CONTINUUM-427 [ CONTINUUM-427 ]
          Emmanuel Venisse made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
          Mark Thomas made changes -
          Workflow jira [ 12708731 ] Default workflow, editable Closed status [ 12738233 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
          Mark Thomas made changes -
          Workflow jira [ 12945978 ] Default workflow, editable Closed status [ 12983990 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          876d 11h 6m 1 Emmanuel Venisse 03/Jul/07 09:10

            People

            • Assignee:
              Emmanuel Venisse
              Reporter:
              Brett Porter
            • Votes:
              3 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development