Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.4.1
-
Component/s: None
-
Labels:None
-
Environment:continuum on win-xp, cvs on linux
-
Complexity:Intermediate
-
Number of attachments :
Description
Structure in CVS
- Parent
- Ear
- War
- Ejb-Jar
- Java
In the parent pom:
<modules>
<module>../JEEFrameworkRefAppJAVA</module>
<module>../JEEFrameworkRefAppEJB</module>
<module>../JEEFrameworkRefAppWAR</module>
<module>../JEEFrameworkRefAppEAR</module>
</modules>
In the child modules poms:
<parent>
<groupId>com.te.refapp</groupId>
<artifactId>JEEFrameworkRefApp</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath>.../JEEFrameworkRefApp/pom.xml</relativePath>
</parent>
Adding the parent pom to continuum I had all the projects created and they build successfully when scheduled or when build is forced.
BUT..
when I click on release and then "prepare project for release" I get: java.io.FileNotFoundException: C:\build\continuum-1.1-beta-4\apps\continuum\webapp\WEB-INF\working-directory\14\..\JEEFrameworkRefAppJAVA\pom.xml (The system cannot find the path specified)
Is there something wrong I do or is this a Continuum problem?
Note that: when we used to have parent pom one level above sub-modules pom, release worked fine. But that kind of structure is not friendly to our development tools so we need to use a flat one.
Thanks
Issue Links
- depends upon
-
CONTINUUM-2193
Add option to check out a multi-module project into a single working directory
-
- is related to
-
SCM-392
SCM SVN plugin does not cope with a flat structure
-
-
CONTINUUM-1298
Unable to release project with nested structure (more than one pom with modules)
-
-
CONTINUUM-1657
Split configuration of pom location, when adding new M2 projects, into two parts; optionally specify a workspace into which a (modular-)project should be checked-out.
-
- relates to
-
CONTINUUM-1850
Build Failure with Multimodule project - with flat file structure
-
It's a problem in the release manager used by Continuum and the release plugin.
A workaround would be to create a parent pom in the root directory and use it in your Parent/pom.xml. In this pom, you can add minimal information, all informations you want to share with submodules can be continue to be in your Parent/pom.xml
Then you'll do the release on it.