Use of non-standard directory structure
Hello! It appears that we're using a non-standard directory structure. Due to our hierarchy of projects, we wanted to use short names for our directories, but longer names for the project names. So, our project names do not necessarily have the same value as the directory in which it sits. Because of this, Continuum can't find the source from svn, and I get an error like this: Provider message: The svn command failed. Command output: --- svn: URL 'https://company.com/com/company/group/group-module' doesn't exist --- When the URL should be: https://company.com/com/company/group/module Is my only option to change my directory names? Or can I set the values in my POMs or something? Thank you!
Re: M2 - How do I use a non standard directory structure for a web application
Hi Eric, You may specify the path of your web.xml in your webapp by configuring maven-war-plugin build ... plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId configuration webXml!-- path-to-your-webxml --/webXml /configuration /plugin /plugins /build You dont have to specify your outputDirectory, the classes get automatically copied in your /WEB-INF/classes. Hope this works for you. -allan [EMAIL PROTECTED] wrote: Trying to build a WAR file from a non-standard directory structure. projectA - src - Web Content - images - javascript - theme - WEB-INF - lib - web.xml Here is the relevent portion of my pom.xml file build sourceDirectorysrc/sourceDirectory outputDirectoryWeb Content/WEB-INF/classes/outputDirectory finalNameic-signon/finalName /build When I run mvn package I get this error: Embedded error: Deployment descriptor: C:\myWorkspace\projectA\target\projectA\WEB-INF\web.xml does not exist. and the directory structure that is built looks like this: - target (at the same level as the src directory above) - projectA - WEB-INF - classes - com - foo - bar - foo_bar.class - lib - jar1.jar - jar2.jar How do I get everything under the Web Content directory ( the javascript, theme, images and the WEB-XML directories) to be placed under the target/projectA directory? No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.5/212 - Release Date: 12/23/2005 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
M2 - How do I use a non standard directory structure for a web application
Trying to build a WAR file from a non-standard directory structure. projectA - src - Web Content - images - javascript - theme - WEB-INF - lib - web.xml Here is the relevent portion of my pom.xml file build sourceDirectorysrc/sourceDirectory outputDirectoryWeb Content/WEB-INF/classes/outputDirectory finalNameic-signon/finalName /build When I run mvn package I get this error: Embedded error: Deployment descriptor: C:\myWorkspace\projectA\target\projectA\WEB-INF\web.xml does not exist. and the directory structure that is built looks like this: - target (at the same level as the src directory above) - projectA - WEB-INF - classes - com - foo - bar - foo_bar.class - lib - jar1.jar - jar2.jar How do I get everything under the Web Content directory ( the javascript, theme, images and the WEB-XML directories) to be placed under the target/projectA directory?
Re: M2 - How do I use a non standard directory structure for a web application
this is very helpful ... mvn projecthelp:effective-pom and start from this output to make your modifications. On Friday 23 December 2005 21:04, [EMAIL PROTECTED] wrote: Trying to build a WAR file from a non-standard directory structure. projectA - src - Web Content - images - javascript - theme - WEB-INF - lib - web.xml Here is the relevent portion of my pom.xml file build sourceDirectorysrc/sourceDirectory outputDirectoryWeb Content/WEB-INF/classes/outputDirectory finalNameic-signon/finalName /build When I run mvn package I get this error: Embedded error: Deployment descriptor: C:\myWorkspace\projectA\target\projectA\WEB-INF\web.xml does not exist. and the directory structure that is built looks like this: - target (at the same level as the src directory above) - projectA - WEB-INF - classes - com - foo - bar - foo_bar.class - lib - jar1.jar - jar2.jar How do I get everything under the Web Content directory ( the javascript, theme, images and the WEB-XML directories) to be placed under the target/projectA directory? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]