NPanday
  1. NPanday
  2. NPANDAY-405

Allow to build multiple configurations in one build (Multi-targeting)

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Maven Plugins
    • Labels:
      None

      Description

      It would be great, if 'mvn compile' just compiled different configuration combinations in one build.

      Just as an example, look at the log4net-distribution. How would we produce that using NPanday today?

      log4net-1.2.10/bin
      log4net-1.2.10/bin/cli
      log4net-1.2.10/bin/cli/1.0
      log4net-1.2.10/bin/cli/1.0/release
      log4net-1.2.10/bin/cli/1.0/release/log4net.dll
      log4net-1.2.10/bin/cli/1.0/release/log4net.xml
      log4net-1.2.10/bin/mono
      log4net-1.2.10/bin/mono/1.0
      log4net-1.2.10/bin/mono/1.0/debug
      log4net-1.2.10/bin/mono/1.0/debug/log4net.dll
      log4net-1.2.10/bin/mono/1.0/debug/log4net.dll.mdb
      log4net-1.2.10/bin/mono/1.0/debug/log4net.xml
      log4net-1.2.10/bin/mono/1.0/release
      log4net-1.2.10/bin/mono/1.0/release/log4net.dll
      log4net-1.2.10/bin/mono/1.0/release/log4net.xml
      log4net-1.2.10/bin/mono/2.0
      log4net-1.2.10/bin/mono/2.0/debug
      log4net-1.2.10/bin/mono/2.0/debug/log4net.dll
      log4net-1.2.10/bin/mono/2.0/debug/log4net.dll.mdb
      log4net-1.2.10/bin/mono/2.0/debug/log4net.xml
      log4net-1.2.10/bin/mono/2.0/release
      log4net-1.2.10/bin/mono/2.0/release/log4net.dll
      log4net-1.2.10/bin/mono/2.0/release/log4net.xml
      log4net-1.2.10/bin/net
      log4net-1.2.10/bin/net/1.0
      log4net-1.2.10/bin/net/1.0/debug
      log4net-1.2.10/bin/net/1.0/debug/log4net.dll
      log4net-1.2.10/bin/net/1.0/debug/log4net.pdb
      log4net-1.2.10/bin/net/1.0/debug/log4net.xml
      log4net-1.2.10/bin/net/1.0/release
      log4net-1.2.10/bin/net/1.0/release/log4net.dll
      log4net-1.2.10/bin/net/1.0/release/log4net.xml
      log4net-1.2.10/bin/net/1.1
      log4net-1.2.10/bin/net/1.1/debug
      log4net-1.2.10/bin/net/1.1/debug/log4net.dll
      log4net-1.2.10/bin/net/1.1/debug/log4net.pdb
      log4net-1.2.10/bin/net/1.1/debug/log4net.xml
      log4net-1.2.10/bin/net/1.1/release
      log4net-1.2.10/bin/net/1.1/release/log4net.dll
      log4net-1.2.10/bin/net/1.1/release/log4net.xml
      log4net-1.2.10/bin/net/2.0
      log4net-1.2.10/bin/net/2.0/debug
      log4net-1.2.10/bin/net/2.0/debug/log4net.dll
      log4net-1.2.10/bin/net/2.0/debug/log4net.pdb
      log4net-1.2.10/bin/net/2.0/debug/log4net.xml
      log4net-1.2.10/bin/net/2.0/release
      log4net-1.2.10/bin/net/2.0/release/log4net.dll
      log4net-1.2.10/bin/net/2.0/release/log4net.xml
      log4net-1.2.10/bin/netcf
      log4net-1.2.10/bin/netcf/1.0
      log4net-1.2.10/bin/netcf/1.0/debug
      log4net-1.2.10/bin/netcf/1.0/debug/log4net.dll
      log4net-1.2.10/bin/netcf/1.0/debug/log4net.pdb
      log4net-1.2.10/bin/netcf/1.0/debug/log4net.xml
      log4net-1.2.10/bin/netcf/1.0/release
      log4net-1.2.10/bin/netcf/1.0/release/log4net.dll
      log4net-1.2.10/bin/netcf/1.0/release/log4net.xml
      log4net-1.2.10/bin/sscli
      log4net-1.2.10/bin/sscli/1.0
      log4net-1.2.10/bin/sscli/1.0/debug
      log4net-1.2.10/bin/sscli/1.0/debug/log4net.dll
      log4net-1.2.10/bin/sscli/1.0/debug/log4net.ildb
      log4net-1.2.10/bin/sscli/1.0/release
      log4net-1.2.10/bin/sscli/1.0/release/log4net.dll
      

        Issue Links

          Activity

          Brett Porter made changes -
          Field Original Value New Value
          Link This issue relates to NPANDAY-549 [ NPANDAY-549 ]
          Show
          Lars Corneliussen added a comment - We should consider using the same abbreviations as NuGet: http://docs.nuget.org/docs/creating-packages/creating-and-publishing-a-package#Grouping_Assemblies_by_Framework_Version
          Hide
          John R. Fallows added a comment -

          Perhaps it would be helpful to use a forked Maven lifecycle, performing more than just the compile.

          For example, it could be important to run the unit tests against both the Debug and Release artifacts.

          Show
          John R. Fallows added a comment - Perhaps it would be helpful to use a forked Maven lifecycle, performing more than just the compile. For example, it could be important to run the unit tests against both the Debug and Release artifacts.
          Hide
          John R. Fallows added a comment -

          Please also consider the case where a dotnet-executable project needs to deploy both Debug and Release artifacts, where the Debug .exe is compiled against the Debug .dll, while the Release .exe is compiled against the Release .dll.

          Show
          John R. Fallows added a comment - Please also consider the case where a dotnet-executable project needs to deploy both Debug and Release artifacts, where the Debug .exe is compiled against the Debug .dll, while the Release .exe is compiled against the Release .dll.
          Hide
          Lars Corneliussen added a comment -

          Sonatype Tycho supports multi-platform builds for Eclipse. May be we can find out how they did that.

          Show
          Lars Corneliussen added a comment - Sonatype Tycho supports multi-platform builds for Eclipse. May be we can find out how they did that.
          Hide
          Lars Corneliussen added a comment -

          Anybody with a clear idea on how to implement this?

          Show
          Lars Corneliussen added a comment - Anybody with a clear idea on how to implement this?
          Lars Corneliussen created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Lars Corneliussen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development