uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Created: (UIMA-1596) fix sandbox build - use of <profile> for conditional not working for child projects
Date Thu, 01 Oct 2009 21:33:23 GMT
fix sandbox build - use of <profile> for conditional not working for child projects
-----------------------------------------------------------------------------------

                 Key: UIMA-1596
                 URL: https://issues.apache.org/jira/browse/UIMA-1596
             Project: UIMA
          Issue Type: Bug
          Components: Build, Packaging and Test, Sandbox
            Reporter: Marshall Schor
            Assignee: Marshall Schor
             Fix For: 2.3S


The SandboxDistr has common, factored-out build steps for the sandbox projects. One of this
is to conditionally run the docbook build for the child project, if that project has a build_documentation.xml
file.

This was being done using a <profile> element in the factored-out Sandbox pom, which
activated if that file was present.
This works when you do mvn install from the child project; the <profile> is inherited
via the <parent> chain, and all is well.

However, if you run from the SandboxDistr (with the intent of running the build recurisvely
on all the <module> children projects, this fails - because the <profile> is evaluated
just once, for the SandboxDistr project.

Fix this by abandoning this method of conditional execution, and reverting to <ant>
conditional tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message