multi-project question: is there a way to hide child projects?

2006-10-03 Thread Thomas_Perry
hello, I just began to use continuum 1.0.3 with maven 2.0.4 We have a parent project with module elements for child sub-projects. Each child sub-project has a corresponding parent element. parent and child projects are all contained as one eclipse project. When I added the parent project,

m202 - site:deploy fails trying to run ssh locally

2006-03-27 Thread Thomas_Perry
maven 202 is running from my xp desktop. I'm trying to deploy a project website to a *nix server putty and plink and pscp are installed on my desktop for access via ssh the problem appears to be that maybe the site plugin is trying to run ssh from my desktop (which is not installed)

[m202] release:perform hangs then fails

2006-02-16 Thread Thomas_Perry
hello everyone, I've been trying to run the release:perform goal on an eclipse project. I ran release:prepare successfully. The release:perform hangs on this message: Checking out the project to perform the release then eventually fails with this message: [INFO] Checking out the

RE: How can I store artifacts in our remote repository?

2006-02-14 Thread Thomas_Perry
hi Luca, I'm very interested in your use of a docroot. we also have a webroot defined under tomcat with an absolute path to the M2 repository. like /m2-repo with a path of /absolute/path/to/m2/repository I've gotten ftp and scpexe to work for deploys, but I haven't been able to deploy

Re: [m2] Wagon fails with HTTP destination

2006-02-13 Thread Thomas_Perry
One assumes your Location is Location /m2-repo, right? yes, here's what I added to httpd.conf Alias /m2-repo /absolute/path/to/.m2/repository DavLockDB /absolute/path/to/var/DavLock Location /m2-repo DAV On /Location Can you navigate to .../m2-repo and have it return content

Re: [m2] Wagon fails with HTTP destination

2006-02-12 Thread Thomas_Perry
Mathew, thanks for the steps. I followed them in our site but still couldn't use webdav to deploy a project jar to our internal repository. I followed your notes about handling the jars in M2_HOME\lib On our repo server, I did MKDIR for all the parent folders

m202 can't get deploy or deploy-file to deploy my project to our remote repo

2006-02-10 Thread Thomas_Perry
hello, We're running maven 202, eclipse maven plugin 004, eclipse 312 and xp I have questions about running the deploy goal from within eclipse, but for now I'm just trying to use deploy and deploy-file from the commandline. I'm at the point where deploy-file fails due to the error

[m202] eclipse plugin not running install correctly on multiproject?

2006-02-03 Thread Thomas_Perry
hello to all, I'm running eclipse 3.1.1, maven 2.0.2 and the eclipse maven2 plugin 0.0.4 the plugin from Mergere Inc. when I run the install goal against an eclipse multiproject, the only action that happens is the pom of the parent project is installed to my local repo. none of the

Re: [m202] eclipse plugin not running install correctly on multiproject?

2006-02-03 Thread Thomas_Perry
Thanks for the response. I have filed an issue on jira, http://jira.codehaus.org/browse/MNGECLIPSE-71 Mark Hewett [EMAIL PROTECTED]

[m202] compilation error in multiproject - dependency not loaded in classpath?

2006-02-02 Thread Thomas_Perry
hello, we are running eclipse 3.1.1 and maven2 .0.2 and the maven eclipse plugin 0.0.4 we have a multiproject where a subproject has a dependency on javax.servlet/servlet-api/2.4 The dependency appears in the Maven2 Dependencies container in eclipse and the jar is our local repository.

Re: [m202] compilation error in multiproject - dependency not loaded inclasspath? -- user error

2006-02-02 Thread Thomas_Perry
This was a user error. on the dependency element for servlet-api we had coded scopejar/scope instead of typejar/type Because of this, the servlet-api jar was not added to the compile classpath, resulting in compile errors. our fault, and something we will document for our teams. Thanks

Re: [m102] corrupt png files in a jar -- SOLVED

2005-11-30 Thread Thomas_Perry
Brett, Thanks so much. When we looked at the project, filtering was set to 'true' in buildresourcesresource...filteringtrue/filtering When it was changed to 'false', the image files in the jar file were saved correctly. Thanks again for your help. Tom

[m102] corrupt png files in a jar

2005-11-29 Thread Thomas_Perry
hello to all, we have a project that consists *only* of image files, like gif, png etc. a team member is using the jar goal on this project, and the jar is then distributed to webapps that need the images. However, after jarring up the image files, they are then unreadable. I saw a

Re: [m102] bad results when including custom.css

2005-11-08 Thread Thomas_Perry
hi Lukas, Thank you for responding with help. However, I was not able to get ${basedir}/xdocs/style/custom.css to work. The rendered html did not use my css, and when I viewed the html source, it was not importing custom.css I put the file everywhere in my project. The xdoc plugin

Re: [m102] bad results when including custom.css

2005-11-08 Thread Thomas_Perry
Lukas, my fault, I did not read your response thoroughly. You had the correction right. It would have saved me some time had I *carefully* read your response. Thank you again for your help. and a big d'oh for me. Tom

[m102] bad results when including custom.css

2005-11-04 Thread Thomas_Perry
hello, I put a custom.css file under xdocs/style and added maven.xdoc.theme.url =./style/custom.css to project.properties The m1 doc says ...a css file that can be used in addition to maven-base.css However, when the site is generated, the pages do not look like a standard maven project

[M102] I'm trying to use maven.xml to override variables in the pom

2005-11-01 Thread Thomas_Perry
hello to all, I have used variable notation for values in the pom, rather than hard coded values. example, for Site Directory I've coded ${maven.site.location} I'd like to use jelly script in maven.xml to set these pom variables, I can't use static values in project.properties. Testing has

[102] subproject Downloads page Release Notes

2005-10-28 Thread Thomas_Perry
hello to all, We're using v1.0.2. I have a multiproject, with several subprojects (each subproject has it's own project.xml, some not all have their own xdocs). When I tag and release the parent project, the Downloads page of a subproject contains a generated line for the new release tag,

[M102] can I build a site only for a major.minor release?

2005-10-27 Thread Thomas_Perry
hello to all, we are using maven 1.0.2 and luntbuild 1.2.2 for continuous builds. Is there anything I can add to maven that will build a project site *only* for a vMajor.Minor release, and NOT build a site for a vMajor.Minor.Bugfix release? for example, build the site docs for release

RE: [m102] is there a migration guide to m2?

2005-10-06 Thread Thomas_Perry
Vincent, Jason, Thank you for your replies. A guide, or even better, a conversion tool, would be great. We love Maven and want to migrate to Maven2. We have many projects that have been mavenized so it is not a trivial task to migrate them, and any time-saving($) help is greatly

[m102] is there a migration guide to m2?

2005-10-05 Thread Thomas_Perry
hello, We are currently using v1.0.2 I looked at the maven2 site but did not see anything that might serve as a guide to migrating from m1 to m2. Is there a helpful guide out there? something that might map m1's project.xml/project.properties/maven.xml

[m102] dependencies.html showing an unexpected url

2005-09-19 Thread Thomas_Perry
hello, I used site:generate for a web project, and the resulting dependencies.html shows one of the dependencies with a url value. However, the none of the dependencies in project.xml have a url value specified. My question is, where would the url come from, if not the pom? My web project

maven to build eclipse plugin?

2005-04-04 Thread Thomas_Perry
Return Receipt Your maven to build eclipse plugin? document :

Help !!

2005-03-21 Thread Thomas_Perry
Return Receipt Your Help !! document :

Re: running maven

2005-02-17 Thread Thomas_Perry
bahaa Nasrallah [EMAIL PROTECTED] wrote on 02/17/2005 08:22:30 AM: Hi, On my project i have a maven.xml file and project.xml file. when i run maven in the command line it doesn't compile the src files that are specified under sourceDirectory in the project.xml. it only runs the

Re: Castor plugin: The prefix castor for element castor:generate is not bound.

2005-02-17 Thread Thomas_Perry
This line indicates the problem: org.xml.sax.SAXParseException: The prefix castor for element castor:generate is not bound. This is a namespace problem. If you have a tag like castor: in your maven.xml, you have to declare the tag in a namespace, as in project xmlns:castor=maven:castor

Re: Castor plugin: The prefix castor for element castor:generate is not bound.

2005-02-17 Thread Thomas_Perry
Sorry, I shouldn't have used a generalized example without checking first. In the castor plugin I found this namespace declaration in plugin.jelly: xmlns:castor=castor try that in place of maven:castor regards Tom Graham Leggett [EMAIL PROTECTED] wrote on 02/17/2005 01:49:37 PM: [EMAIL

Re: Castor plugin: The prefix castor for element castor:generate is not bound.

2005-02-17 Thread Thomas_Perry
do you have castor\jars in your repository? If not, you need to do a plugin:download I also have a %HOME% environmental variable set to the path Documents and Settings\tperry I think maven uses that variable to get the path to the repository in the classpath. Do you have a similar variable

RE: Question on accessing user-defined properties in maven.xml

2005-02-09 Thread Thomas_Perry
hi Qian, I got this to work with eclipse 3.0.1, mevenide 0.3.0, maven 1.0 project.properties: tom.did.this=true maven.xml: postGoal name=build:end echotom did this=${tom.did.this}/echo j:if test=${tom.did.this} ant:echofound it true/ant:echo /j:if /postGoal eclipse console: [echo]

is there a way to force maven to always download a dependency?

2005-02-02 Thread Thomas_Perry
What if some jar files are not versioned (and maybe will never be versioned). Is there a way to force Maven to always go to the remote repositories to resolve dependencies? I've tried SNAPSHOT, but that does not reload a dependency every time a build is executed. Thanks for your help. Tom

Re: is there a way to force maven to always download a dependency?

2005-02-02 Thread Thomas_Perry
ok, I understand that it goes against all that Maven stands for :-) But I wish there were some property that could be added on a per-dependency basis that would force Maven to download the dependency every build. Just for weird situations, like teams working on company projects don't want

RE: is there a way to force maven to always download a dependency?

2005-02-02 Thread Thomas_Perry
You know what, I didn't test by changing the timestamp on a jar in our (internal) remote repository. I just ran a project build consecutively on my desktop and watched if the SNAPSHOT dependency caused the jar to be re-loaded every time; it didn't. I'm going to re-test by touching the