Re: maven2, eclipse and hierarchical layout

2007-01-27 Thread Tim Morrow 2

I personally use a completely different approach when the parent + child
modules are really a self-contained project (and you always want to work on
all of them).

* I open the parent project in Eclipse.  All the child modules show up as
sub-folders
* I add each main and test source and resource folder to Eclipse build path
as source folders and customize their target directories appropriately.  I
do this for each child module too.
* I use the Maven2 eclipse plugin to automatically add all the dependencies
to the classpath.
* I commit to version control the .project and .classpath files

I end up with a single classpath in Eclipse across all sub-modules.  When I
add new dependencies to pom.xml, the Maven2 plugin updates my classpath.

Tim


Alexander Sack-3 wrote:
> 
> http://maven.apache.org/plugins/maven-eclipse-plugin/reactor.html
> 
> -aps
> 
> On 1/26/07, Marco Mistroni <[EMAIL PROTECTED]> wrote:
>>
>> hi all,
>>   i still havent' managed to use maven2 with eclipse where i have a
>> parent
>> project and few children project
>>
>> has anyone managed to have that setup working correctly in eclipse?
>>
>> any hints on how to make it work will be greatly appreciated
>>
>> regards
>>   marco
>>
>>
> 
> 
> -- 
> "What lies behind us and what lies in front of us is of little concern to
> what lies within us." -Ralph Waldo Emerson
> 
> 

-- 
View this message in context: 
http://www.nabble.com/maven2%2C-eclipse-and-hierarchical-layout-tf3123649s177.html#a8668829
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Configuring Continuum to authenticate with SCM

2006-08-04 Thread Tim Morrow 2

Would one approach be to support the Maven "scm:" style URLs which seem to
delegate to the underlying SCM implementation to ensure authentication (and
certificate acceptance) have been performed?

Not that I'm volunteering... (yet).

Thanks for the response,

Tim

-- 
View this message in context: 
http://www.nabble.com/Configuring-Continuum-to-authenticate-with-SCM-tf2005777.html#a5653518
Sent from the Continuum - Users forum at Nabble.com.



Re: Configuring Continuum to authenticate with SCM

2006-08-04 Thread Tim Morrow 2

I have the same problem.  However I figured out my issue for now (see below).

Meanwhile might I suggest you take a look in
apps/continuum/logs/continuum.log and check for the specific nature of the
error and post it here.  It might reveal the core problem.

I had the same problem when omitting the username & password:
When I try to add a maven 2 project with
  https://host/svn//pom.xml
I get "The URL you provided doesn't exist" with this in the logs:
java.io.IOException: Server returned HTTP response code: 401 for URL:
https://svn.shopzilla.com/svn/ConsumerAcquisition/dev/bidding/trunk/keywordcost/pom.xml

When I tried
  https://username:[EMAIL PROTECTED]/svn//pom.xml
I get "The URL you provided doesn't exist"

But it turns out my password has an "@" in it, which confuses the URL
parser.  This was made clear by examining the log file.

I'm going to work on setting up a user with a simpler password.  Meanwhile,
is there any other sane way of specifying the username/password for an https
url for adding the project?  Or is there another mechanism for locating the
pom.xml (which is a multi-module project)?

Thanks,

Tim

-- 
View this message in context: 
http://www.nabble.com/Configuring-Continuum-to-authenticate-with-SCM-tf2005777.html#a5653237
Sent from the Continuum - Users forum at Nabble.com.