or is there a way to execute a build of this last child after the main
build is finished?

On 5 Mrz., 12:12, Viktor <[email protected]> wrote:
> Hi all,
>
> i'm developing a jenkins plugin that use the maven-assembly-plugin to
> generate an assembly of a multimode project. To achieve this i copy a
> pom.xml file to the current job workspace to build the correct
> archive..
>
> This shows the start of the build:
>
> <===[JENKINS REMOTING CAPACITY]===>channel started
> Executing Maven: -B -f workspace/jfp/work/workspace/FossMulti/
> parent@13/pom.xml clean install
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO] parent
> [INFO] child1
> [INFO] child2
> [INFO] childWithChilds
> [INFO] child3
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building parent
> [INFO] task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
>
> Now i need to access the build before the reactor could scan all
> project and add the pom.xml as a child to the parent-pom.xml. Is there
> a way to do this? I'm using the MavenReporter Class for my plugin and
> the preBuild()-method only execute after maven has the reactor build
> order..
>
> thanks and greetings

Reply via email to