testFailureIgnoretrue/testFailureIgnore not working using all combinations of Maven/Surefire

2011-02-28 Thread Morgovsky, Alexander (US - Glen Mills)
Hi all.

I have tried using Maven 2.0.5, 2.0.6, etc. all the way up to 2.1.0.  I have 
also tried versions of maven-surefire plugin, from 2.2 all the way to 2.6.  I 
have also tried all versions of forkmode, including always, once, pretest and 
configuring testFailureIgnoretrue/testFailureIgnore.

I even tried passing maven.test.failure.ignore=true and 
maven.test.error.ignore=true both on the command line and in the argLine of the 
surefire-plugin config because I read about these arguments online..I don’t 
know if they are supported etc. but at this point I’m trying anything.

After all this, my Maven process still fails upon a build failure.

I get some nullpointers in my tests and then a Maven ERROR message, and the 
process fails.

java.lang.NullPointerException
[ERROR] There are test failures.

Can someone please tell me what is going on…The permutations of maven version, 
surefire plugin version,  etc that I have tried is up to 90, and nothing I try 
prevents Maven from failing on exception.

Please assist.



This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law. If you 
are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited.

v.E.1









RE: testFailureIgnoretrue/testFailureIgnore not working using all combinations of Maven/Surefire

2011-02-28 Thread Morgovsky, Alexander (US - Glen Mills)
Well, I figured out the problem.  My code was using System.exit(n0) which 
killed the surefire plugin, because this termination method is apparently is 
too much for testFailureIgnoretrue/testFailureIgnore.

Please close the issue.

From: Morgovsky, Alexander (US - Glen Mills)
Sent: Monday, February 28, 2011 2:21 PM
To: 'users@maven.apache.org'
Subject: testFailureIgnoretrue/testFailureIgnore not working using all 
combinations of Maven/Surefire

Hi all.

I have tried using Maven 2.0.5, 2.0.6, etc. all the way up to 2.1.0.  I have 
also tried versions of maven-surefire plugin, from 2.2 all the way to 2.6.  I 
have also tried all versions of forkmode, including always, once, pretest and 
configuring testFailureIgnoretrue/testFailureIgnore.

I even tried passing maven.test.failure.ignore=true and 
maven.test.error.ignore=true both on the command line and in the argLine of the 
surefire-plugin config because I read about these arguments online..I don't 
know if they are supported etc. but at this point I'm trying anything.

After all this, my Maven process still fails upon a build failure.

I get some nullpointers in my tests and then a Maven ERROR message, and the 
process fails.

java.lang.NullPointerException
[ERROR] There are test failures.

Can someone please tell me what is going on...The permutations of maven 
version, surefire plugin version,  etc that I have tried is up to 90, and 
nothing I try prevents Maven from failing on exception.

Please assist.


Excluding modules from a Parent build

2010-06-07 Thread Morgovsky, Alexander (US - Glen Mills)
Hi.  I have a parent POM defining multiple modules, is there a way to exclude 
specific modules from getting built, via the command-line, as in something 
like: mvn -exclude a,b,c?

Thanks.


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


re: Maven child site has unresolved image in top-right corner

2009-04-19 Thread Morgovsky, Alexander (US - Glen Mills)
Thanks, here are the parent and child site.xml's, but I do not have any url 
elements in my pom.xml's.  May this be a problem?

Parent site.xml:

project
  bannerLeft
namexxx/name
srcxxx/src
  /bannerLeft
  bannerRight
namexxx/name
  /bannerRight
   body
  menu ref=modules /
  menu ref=parent /
${reports}
  /body
skin
groupIdorg.apache.maven.skins/groupId
artifactIdmaven-classic-skin/artifactId
version1.0/version
  /skin
/project

Child site.xml:

project
body
  menu ref=modules /
  menu ref=parent /
  ${reports}
/body
/project


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven child site has unresolved image in top-right corner

2009-04-18 Thread Morgovsky, Alexander (US - Glen Mills)
Hi.  I'm using maven 2.1.0, maven-site-plugin 2.0-beta-7.

When I go to my child site, I see an image in the top right-hand corner which 
is unresolved, and I looked at its url, and it's trying to load an image from 
http://childhttp://%3cchild module name/child module name

What does this image do, and how can I properly configure it?

Thanks.


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: Maven 2.1.0 site issue

2009-04-16 Thread Morgovsky, Alexander (US - Glen Mills)
Thanks.  Actually, I don't have anything custom in my site, just a plain 
vanilla configuration.  Is the issue management section a required section for 
sites?  In Maven 2.0.5, I remember it wasn't a required field, I'm curious if 
it's also not required for 2.1.0.


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: Maven 2.1.0 site issue

2009-04-16 Thread Morgovsky, Alexander (US - Glen Mills)
Hi, actually, all these commands worked without error.


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: Maven 2.1.0 site issue

2009-04-16 Thread Morgovsky, Alexander (US - Glen Mills)
Thanks Wendy, your comment caused me to think about what the difference of my 
project is re: the archetype, and sure enough, I had a deprecated site.xml 
buried inside one of my child modules.  Once I removed it, sites worked.  
Thanks for your help!


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven 2.1.0 - changelog-2.0 throwing authentication error

2009-04-16 Thread Morgovsky, Alexander (US - Glen Mills)
Hello team.

My set-up is:

Maven 2.1.0 on Windows
SVN 1.4.2 via Apache on Windows
maven-changelog-plugin 2.0 on Windows

I am close to generating my m2 sites successfully, but I am seeing this error 
on the changelog part.

[INFO] Generating changed sets xml to: xxx\target\changelog.xml
[INFO] Executing: svn --non-interactive log -v -r {2009-03-17 19:21:02 +}:{
2009-04-17 19:21:02 +} http://xxx
[INFO] Working directory: xxx
[ERROR] Provider message:
[ERROR] The svn command failed.
[ERROR] Command output:
[ERROR] svn: PROPFIND request failed on 'xxx'
svn: PROPFIND of 'xxx
': authorization failed (http://xxx)

After a bit of Google searches, I found 
http://jira.codehaus.org/browse/MCHANGELOG-91, so I decided to use the latest 
released version of the maven-scm-plugin of 1.2 as below, but this has not 
solved the problem.


  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-scm-plugin/artifactId
version1.2/version
configuration
  username${scm_username}/username
  password${scm_password}/password
/configuration
  /plugin

Here, I put maven-scm-plugin into the build plugins section, and have the 
SVN username and SVN password in my settings.xml.

Please advise as to what I am doing wrong.


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


re: Maven 2.1.0 - changelog-2.0 throwing authentication error

2009-04-16 Thread Morgovsky, Alexander (US - Glen Mills)
I got changelog to work, the scm plugin wasn't helping me, so I found out that 
the maven plugin changelog itself had parameters for username and password.

I'm pasting it here so that others don't get affected by the same problem.

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-changelog-plugin/artifactId
version2.0/version
configuration
usernamexxx/username
  passwordxxx/password
/configuration
  /plugin



This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven 2.1.0 site issue

2009-04-15 Thread Morgovsky, Alexander (US - Glen Mills)
Team, please advise, I am not able to generate sites using Maven 2.1.0.

I have Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400).

My error is listed below.  Any advise would be greatly appreciated.

[INFO] [site:site]
[ERROR] No Issue Management set. JIRA Report will not be generated.
[INFO] 
[ERROR] FATAL ERROR
[INFO] 
[INFO] null
[INFO] 
[INFO] Trace
java.lang.NullPointerException
at org.apache.maven.doxia.site.decoration.inheritance.PathUtils.getRelat
ivePath(PathUtils.java:83)
at org.apache.maven.doxia.site.decoration.inheritance.PathUtils.convertP
ath(PathUtils.java:43)
at org.apache.maven.doxia.site.decoration.inheritance.DefaultDecorationM
odelInheritanceAssembler.convertPath(DefaultDecorationModelInheritanceAssembler.
java:334)
at org.apache.maven.doxia.site.decoration.inheritance.DefaultDecorationM
odelInheritanceAssembler.resolveLinkItemPaths(DefaultDecorationModelInheritanceA
ssembler.java:255)
at org.apache.maven.doxia.site.decoration.inheritance.DefaultDecorationM
odelInheritanceAssembler.mergeLinkItemLists(DefaultDecorationModelInheritanceAss
embler.java:277)
at org.apache.maven.doxia.site.decoration.inheritance.DefaultDecorationM
odelInheritanceAssembler.assembleBodyInheritance(DefaultDecorationModelInheritan
ceAssembler.java:192)
at org.apache.maven.doxia.site.decoration.inheritance.DefaultDecorationM
odelInheritanceAssembler.assembleModelInheritance(DefaultDecorationModelInherita




This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


eliminating 'dependency not found' warnings

2009-01-24 Thread Morgovsky, Alexander (US - Glen Mills)
How can we eliminate warnings during the build of the form:

[WARNING] Unable to get resource 'axis2:axis2-kernel:jar:1.2' from repository 
internal-snapshot (http://x.y.z.a:1234)?

Thanks for your help.




This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Dependent jars not included in package

2009-01-24 Thread Morgovsky, Alexander (US - Glen Mills)
If you are creating a jar, are you trying to include jars in your jars, or are 
you creating a war or ear or other object?


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Dependent jars not included in package

2009-01-24 Thread Morgovsky, Alexander (US - Glen Mills)
I see another user has a similar signature to mine.  When I posted messages to 
this board actively about a year ago, some people had a field day with me and 
made fun of my signature saying my messages should be confidential.

Well, it's not just me anymore, so where are the all comedians out there, or 
did you lose your humor all of a sudden?  Not so funny anymore is it?;)

The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments.

From: Morgovsky, Alexander (US - Glen Mills)
Sent: Saturday, January 24, 2009 5:23 PM
To: 'jude.prak...@wipro.com'
Cc: 'users@maven.apache.org'
Subject: Dependent jars not included in package

If you are creating a jar, are you trying to include jars in your jars, or are 
you creating a war or ear or other object?


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: Dependent jars not included in package

2009-01-24 Thread Morgovsky, Alexander (US - Glen Mills)
Neh, I'm just glad people are getting down to business instead of messing 
around like before.

Regarding the jar packaging, if you are making a war or ear, you can use the 
maven dependency plugin.


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.

Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


checkstyle

2008-08-06 Thread Morgovsky, Alexander (US - Glen Mills)
You are right, I was thinking checkstyle needs a license file to run,
but you are right, its open source. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: checkstyle

2008-08-03 Thread Morgovsky, Alexander (US - Glen Mills)
Actually, any license file which will allow checkstyle to run. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


M 2.0.5 Checkstyle Question

2008-08-03 Thread Morgovsky, Alexander (US - Glen Mills)
Hi, despite setting failsOnError to false, I still get this error.
Could someone please help?

 

Error:

 

[ERROR] BUILD FAILURE

[INFO]


[INFO] You have 3 checkstyle violations.

[INFO]


 

Pom:

 

plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-checkstyle-plugin/artifactId

  version2.1/version

  

  configuration

  failsOnErrorfalse/failsOnError

  /configuration

 

  /plugin 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: Maven 2.0.5

2008-08-01 Thread Morgovsky, Alexander (US - Glen Mills)
Wow, I didn't know about that, I will try this now. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


checkstyle

2008-08-01 Thread Morgovsky, Alexander (US - Glen Mills)
Could someone please supply me a default checkstyle license file? 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Eclipse - Maven Integration

2008-07-31 Thread Morgovsky, Alexander (US - Glen Mills)
I would like to create a maven plugin in eclipse which will throw up a
message box with radio buttons, check boxes, etc..What would be the way
to start this?  Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven 2.0.5

2008-07-31 Thread Morgovsky, Alexander (US - Glen Mills)
I have an antrun plugin which has the following definition..however,
even though I bind it to the validate phase, it doesn't run first, the
Maven Clean Plugin runs first...How can have this run first?  Thanks.

 

executions

  execution

idclean/id

phasevalidate/phase

goals

  goalrun/goal

/goals

configuration

  tasks

delete
dir=${project.build.directory}/

mkdir
dir=${project.build.directory}/

  /tasks

/configuration

  /execution

/executions 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: Maven 2.0.5 Reporting Fails with Java 1.4

2008-07-30 Thread Morgovsky, Alexander (US - Glen Mills)
Correct, but we have some methods which only will compile with 1.4..do
you think running jvm 1.5 with -source 1.4 will work? 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


M 2.0.5 - Failure executing javac

2008-07-30 Thread Morgovsky, Alexander (US - Glen Mills)
Please help, I am using Java 1.5 as my JAVA_HOME and have the following
in my POM - Maven 2.0.5.

 

plugin

  groupIdorg.apache.maven.plugins/groupId

  artifactIdmaven-compiler-plugin/artifactId

  configuration

forktrue/fork

compilerArguments

  verbose /

 
bootclasspath${env.JAVA_HOME}\jre\lib\rt.jar/bootclasspath

  source1.4/source

/compilerArguments

  /configuration

/plugin

 

I am getting:

 

 

[INFO]


[ERROR] BUILD FAILURE

[INFO]


[INFO] Compilation failure

 

Failure executing javac,  but could not parse the error:

The command line is too long. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


M 2.0.5 Maven Compiler Plugin 2.0.2 Problem

2008-07-30 Thread Morgovsky, Alexander (US - Glen Mills)
Even though I define my source as 1.4, I still get the following error.

 

Please help.

 

POM:

  plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-compiler-plugin/artifactId

version2.0.2/version

configuration

compilerArguments

  verbose /

 
bootclasspath${env.JAVA_HOME}\jre\lib\rt.jar/bootclasspath

  source1.4/source

  target1.4/target

/compilerArguments

  /configuration

/plugin

ERROR:

Embedded error: Error rendering Maven report: Exit code: 1 -
E:\development\workspace\ci-2\ecm\deloitte-maven-ecm\..\deloitte-p

word, and may not be used as an identifier

(try -source 1.4 or lower to use 'enum' as an identifier)

oper.setStyle(org.apache.axis.enum.Style.WRAPPED);

  ^ 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: M 2.0.5 Maven Compiler Plugin 2.0.2 Problem

2008-07-30 Thread Morgovsky, Alexander (US - Glen Mills)
Cool, thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: M 2.0.5 - Failure executing javac

2008-07-30 Thread Morgovsky, Alexander (US - Glen Mills)
Cool, thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven 2.0.5 Reporting Fails with Java 1.4

2008-07-29 Thread Morgovsky, Alexander (US - Glen Mills)
Hi, does anyone know a way to solve the Maven Java reporting issue where
path lengths are  255 chars?  I know 1.5+ will solve this, but I have
to use 1.4.  Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Multimodule Reporting Plugs - M2

2008-07-23 Thread Morgovsky, Alexander (US - Glen Mills)
Hi.  Could someone please point me to a list of actual working
multimodule site plugins for site-2.0-beta-7 plugin?  

I only have the following working:

 

Change Log

Developer Activity

File Activity

JavaNCSS Report

 

Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Path length on Windows with M 2.0.5

2008-07-21 Thread Morgovsky, Alexander (US - Glen Mills)
Hi, when I run a clean, I get the following error...Is there a
restriction on path length for windows/m2.0.5, and if so, how do I go
about solving it?  Thanks.

 

Embedded error:
E:\development\workspace\ci\platform\deloitte-maven-platform\..\deloitte
-platform-integration\target\generated-classes\cobertura\com\deloitte\pl
atform\intg\pim\groupmgmt\ws\Group_x0020_Management_x0020_ServicesGroup_
x0020_Management_x

0020_ServicesSoap12CallbackHandler.class (The filename, directory name,
or volume label syntax is incorrect) 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: Path length on Windows with M 2.0.5

2008-07-21 Thread Morgovsky, Alexander (US - Glen Mills)
Thanks, good point...Is there a way I could bind the call cmd /c rmdir
/s /q ${project.build.directory} to the clean phase so this is done on
every clean? 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Multi-module Reports

2008-07-19 Thread Morgovsky, Alexander (US - Glen Mills)
I have the following project structure:

 

Parent

  -Child A

  -Child B

  -Child C

 

Parent has pom.xml like this:

 

modules

  a

  b

  c

modules

 

When I run mvn site on Parent, the multi-module sites don't work..Could
someone please tell me the correct way to generate multimodule sites? 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Running MVN Plugin from POM.xml VS Command-Line

2008-07-04 Thread Morgovsky, Alexander (US - Glen Mills)
I have tried running a Maven plugin from a directory which has my
standard java maven structure and pom.xml.  From this directory, I run
the following command:

 

mvn test-group:test-plugin:TEST:work

Here, I got wrong results.

 

However, when I bound this plugin to a phase in the pom.xml (e.g.
deploy) and ran the following:

mvn deploy

 

Then the plugin executed correctly.  Why doesnt the plugin work from the
command line when invoked directly but only works in the POM.xml when
bound to a phase?  Please let me know what Im doing wrong.  Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: running Maven Tasks through Eclipse

2008-07-03 Thread Morgovsky, Alexander (US - Glen Mills)
I posted here to get an answer to a maven question, so your response
doesn't help me solve my issue.  But since you went down on this road,
the message says:

This message (including any attachments) contains confidential
information

 intended for a specific individual and purpose, and is protected by
law.  If

 you are not the intended recipient, you should delete this message.

 

so this message has a special purpose which is a maven question ad is
targeted to the Maven Users Group.  I hope we can get to the business at
hand rather than doing what we have done in this thread up to now. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


running Maven Tasks through Eclipse

2008-07-02 Thread Morgovsky, Alexander (US - Glen Mills)
Hello Maven Users.  In my MOJO I have:

 

/**

*  The project version.

* @parameter name=version required=true readonly=true
expression=${project.version}

*/

private String version;

 

..

..

getLog().info(The project.basedir is +basedir.getAbsolutePath());

getLog().info(The project.artifactId +artifactId);

getLog().info(The project.version +version);

 

[INFO] The project.basedir is
E:\development\workspace\deloitte-ecm-cm-core

[INFO] The project.artifactId deloitte-ecm-cm-core

[INFO] The project.version null

 

Above, the ${project.basedir} and ${project.artifactId} resolve
correctly.  However, ${project.version} does not.  I tried setting the
type of version to Integer, but that did not work either.  Could you
please help identify how I can correct this?  Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Connecting to an internal Maven Repository using Vista

2008-02-21 Thread Morgovsky, Alexander (US - Glen Mills)
I am not able to connect to my internal Maven Repository using
Vista...does anyone have any ideas on how to solve this?

 

Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven Multimodule Site plugins

2008-01-09 Thread Morgovsky, Alexander (US - Glen Mills)
Hello.  Could someone please tell me if there are any multimodule site
reporting plugs which produce multimodule reports?  I have tried many
plugins like javaNCSS but all the resulting sites return all 0's. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Deployment in M2

2007-12-23 Thread Morgovsky, Alexander (US - Glen Mills)
Hello.  Is it possible to disable uploading to the shared Maven
Repository during an M2 deployment?  In my deployment, I have customized
plugins bound to the deployment phase, and I need these to run, but I do
not need the binaries to be deployed themselves.  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Running A Set Of Tasks Per Project

2007-12-11 Thread Morgovsky, Alexander (US - Glen Mills)
In Continuum since I cannot have more than one default goal, how do I go
about having a set of tasks be run for each project, since even though I
can define more than one build definition per project, only the default
will be run?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven Sites

2007-11-29 Thread Morgovsky, Alexander (US - Glen Mills)
Could someone please explain to properly create multi-module sites in
Maven 2?  I have tried calling mvn site:site (custom site goals)
site:deploy site:site (custom site goals), and duplicating calls so that
my site would work, but it does not.  I understand that the parent site
gets generated before the child sites do, so the result if false,
however, I do not know the final correct way of properly generating a
multi-module Maven 2 site, please assist if you may. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: Maven Sites

2007-11-29 Thread Morgovsky, Alexander (US - Glen Mills)
Hello.  Calling mvn site:site site:deploy on a multi-module POM produces
a parent site with no values for children, because the parent is
generated with values before the children are created, which creates no
values for children in the parent. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Build definitions which exceed the default length

2007-11-26 Thread Morgovsky, Alexander (US - Glen Mills)
It is more than 300 characters of custom properties with their values set using 
-D parameters.  However, I decided to use less characters, thus I am fine for 
now.  Thank you.

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 26, 2007 7:30 AM
To: continuum-users@maven.apache.org
Subject: Re: Build definitions which exceed the default length

Can we know values you use in this screen?

Emmanuel

Morgovsky, Alexander (US - Glen Mills) a écrit :
 Sure.  
 
 On the Add/Edit Build Definition page, after entering the definition, I
 receive this error:
 
 org.apache.maven.continuum.ContinuumException: Error while executing the
 action 'update-build-definition-from-project-group'
 
 The Stack Trace contains:
 
 Caused by: javax.jdo.JDOFatalUserException: Attempt to store value my
 definition in column ARGUMENTS that has maximum length of 256.
 Please correct your data!
 
   at
 org.jpox.store.rdbms.mapping.CharRDBMSMapping.setString(CharRDBMSMapping
 .java:214)
   at
 org.jpox.store.mapping.SingleFieldMapping.setString(SingleFieldMapping.j
 ava:203)
   at
 org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(Param
 eterSetter.java:122)
   at
 org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.jav
 a:2757)
   at
 org.apache.maven.continuum.model.project.BuildDefinition.jdoProvideField
 (BuildDefinition.java)
   at
 org.apache.maven.continuum.model.project.BuildDefinition.jdoProvideField
 s(BuildDefinition.java)
   at
 org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115
 )
   at
 org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:25
 9)
   at
 org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:2573)
   at org.jpox.store.StoreManager.update(StoreManager.java:967)
   at
 org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:4928)
   at
 org.jpox.AbstractPersistenceManager.flush(AbstractPersistenceManager.jav
 a:3217)
   at
 org.jpox.store.rdbms.RDBMSNonmanagedTransaction.commit(RDBMSNonmanagedTr
 ansaction.java:397)
   at
 org.codehaus.plexus.jdo.PlexusJdoUtils.updateObject(PlexusJdoUtils.java:
 163)
   at
 org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoConti
 nuumStore.java:794)
   at
 org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoConti
 nuumStore.java:786)
   at
 org.apache.maven.continuum.store.JdoContinuumStore.storeBuildDefinition(
 JdoContinuumStore.java:707)
   at
 org.apache.maven.continuum.core.action.AbstractBuildDefinitionContinuumA
 ction.updateBuildDefinitionInList(AbstractBuildDefinitionContinuumAction
 .java:181)
   at
 org.apache.maven.continuum.core.action.UpdateBuildDefinitionFromProjectG
 roupAction.execute(UpdateBuildDefinitionFromProjectGroupAction.java:51)
   at
 org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultContinu
 um.java:2432)
   ... 81 more 
 
 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, November 24, 2007 9:34 PM
 To: continuum-users@maven.apache.org
 Subject: Re: Build definitions which exceed the default length
 
 On Nov 24, 2007 7:23 PM, Morgovsky, Alexander (US - Glen Mills)
 [EMAIL PROTECTED] wrote:
 
 Continuum does not allow build definitions to be longer than a
 specified
 length.  What is the suggested work-around for this issue?  Thank you.
 
 There are several fields on the add/edit build definition page.  Is
 one of the fields too short, or is it accepting your input and then
 complaining later?
 
 Please explain the steps needed to reproduce the problem.
 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Build definitions which exceed the default length

2007-11-26 Thread Morgovsky, Alexander (US - Glen Mills)
Thanks, I will try this. 

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 26, 2007 8:27 AM
To: continuum-users@maven.apache.org
Subject: Re: Build definitions which exceed the default length

it would be better to use a profile instead of to use all properties on the 
command line.

Emmanuel

Morgovsky, Alexander (US - Glen Mills) a écrit :
 It is more than 300 characters of custom properties with their values set 
 using -D parameters.  However, I decided to use less characters, thus I am 
 fine for now.  Thank you.
 
 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
 Sent: Monday, November 26, 2007 7:30 AM
 To: continuum-users@maven.apache.org
 Subject: Re: Build definitions which exceed the default length
 
 Can we know values you use in this screen?
 
 Emmanuel
 
 Morgovsky, Alexander (US - Glen Mills) a écrit :
 Sure.  

 On the Add/Edit Build Definition page, after entering the definition, I
 receive this error:

 org.apache.maven.continuum.ContinuumException: Error while executing the
 action 'update-build-definition-from-project-group'

 The Stack Trace contains:

 Caused by: javax.jdo.JDOFatalUserException: Attempt to store value my
 definition in column ARGUMENTS that has maximum length of 256.
 Please correct your data!

  at
 org.jpox.store.rdbms.mapping.CharRDBMSMapping.setString(CharRDBMSMapping
 .java:214)
  at
 org.jpox.store.mapping.SingleFieldMapping.setString(SingleFieldMapping.j
 ava:203)
  at
 org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(Param
 eterSetter.java:122)
  at
 org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.jav
 a:2757)
  at
 org.apache.maven.continuum.model.project.BuildDefinition.jdoProvideField
 (BuildDefinition.java)
  at
 org.apache.maven.continuum.model.project.BuildDefinition.jdoProvideField
 s(BuildDefinition.java)
  at
 org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115
 )
  at
 org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:25
 9)
  at
 org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:2573)
  at org.jpox.store.StoreManager.update(StoreManager.java:967)
  at
 org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:4928)
  at
 org.jpox.AbstractPersistenceManager.flush(AbstractPersistenceManager.jav
 a:3217)
  at
 org.jpox.store.rdbms.RDBMSNonmanagedTransaction.commit(RDBMSNonmanagedTr
 ansaction.java:397)
  at
 org.codehaus.plexus.jdo.PlexusJdoUtils.updateObject(PlexusJdoUtils.java:
 163)
  at
 org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoConti
 nuumStore.java:794)
  at
 org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoConti
 nuumStore.java:786)
  at
 org.apache.maven.continuum.store.JdoContinuumStore.storeBuildDefinition(
 JdoContinuumStore.java:707)
  at
 org.apache.maven.continuum.core.action.AbstractBuildDefinitionContinuumA
 ction.updateBuildDefinitionInList(AbstractBuildDefinitionContinuumAction
 .java:181)
  at
 org.apache.maven.continuum.core.action.UpdateBuildDefinitionFromProjectG
 roupAction.execute(UpdateBuildDefinitionFromProjectGroupAction.java:51)
  at
 org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultContinu
 um.java:2432)
  ... 81 more 

 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
 Sent: Saturday, November 24, 2007 9:34 PM
 To: continuum-users@maven.apache.org
 Subject: Re: Build definitions which exceed the default length

 On Nov 24, 2007 7:23 PM, Morgovsky, Alexander (US - Glen Mills)
 [EMAIL PROTECTED] wrote:

 Continuum does not allow build definitions to be longer than a
 specified
 length.  What is the suggested work-around for this issue?  Thank you.
 There are several fields on the add/edit build definition page.  Is
 one of the fields too short, or is it accepting your input and then
 complaining later?

 Please explain the steps needed to reproduce the problem.

 
 
 This message (including any attachments) contains confidential information 
 intended for a specific individual and purpose, and is protected by law.  If 
 you are not the intended recipient, you should delete this message. 
 
 
 Any disclosure, copying, or distribution of this message, or the taking of 
 any action based on it, is strictly prohibited. [v.E.1]
 
 



Build Definitions Question

2007-11-26 Thread Morgovsky, Alexander (US - Glen Mills)
Is it possible to have more than build definition in the same project
group to be set to default?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Build definitions which exceed the default length

2007-11-24 Thread Morgovsky, Alexander (US - Glen Mills)
Continuum does not allow build definitions to be longer than a specified
length.  What is the suggested work-around for this issue?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Build definitions which exceed the default length

2007-11-24 Thread Morgovsky, Alexander (US - Glen Mills)
Sure.  

On the Add/Edit Build Definition page, after entering the definition, I
receive this error:

org.apache.maven.continuum.ContinuumException: Error while executing the
action 'update-build-definition-from-project-group'

The Stack Trace contains:

Caused by: javax.jdo.JDOFatalUserException: Attempt to store value my
definition in column ARGUMENTS that has maximum length of 256.
Please correct your data!

at
org.jpox.store.rdbms.mapping.CharRDBMSMapping.setString(CharRDBMSMapping
.java:214)
at
org.jpox.store.mapping.SingleFieldMapping.setString(SingleFieldMapping.j
ava:203)
at
org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(Param
eterSetter.java:122)
at
org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.jav
a:2757)
at
org.apache.maven.continuum.model.project.BuildDefinition.jdoProvideField
(BuildDefinition.java)
at
org.apache.maven.continuum.model.project.BuildDefinition.jdoProvideField
s(BuildDefinition.java)
at
org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115
)
at
org.jpox.store.rdbms.request.UpdateRequest.execute(UpdateRequest.java:25
9)
at
org.jpox.store.rdbms.table.ClassTable.update(ClassTable.java:2573)
at org.jpox.store.StoreManager.update(StoreManager.java:967)
at
org.jpox.state.StateManagerImpl.flush(StateManagerImpl.java:4928)
at
org.jpox.AbstractPersistenceManager.flush(AbstractPersistenceManager.jav
a:3217)
at
org.jpox.store.rdbms.RDBMSNonmanagedTransaction.commit(RDBMSNonmanagedTr
ansaction.java:397)
at
org.codehaus.plexus.jdo.PlexusJdoUtils.updateObject(PlexusJdoUtils.java:
163)
at
org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoConti
nuumStore.java:794)
at
org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoConti
nuumStore.java:786)
at
org.apache.maven.continuum.store.JdoContinuumStore.storeBuildDefinition(
JdoContinuumStore.java:707)
at
org.apache.maven.continuum.core.action.AbstractBuildDefinitionContinuumA
ction.updateBuildDefinitionInList(AbstractBuildDefinitionContinuumAction
.java:181)
at
org.apache.maven.continuum.core.action.UpdateBuildDefinitionFromProjectG
roupAction.execute(UpdateBuildDefinitionFromProjectGroupAction.java:51)
at
org.apache.maven.continuum.DefaultContinuum.executeAction(DefaultContinu
um.java:2432)
... 81 more 

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 24, 2007 9:34 PM
To: continuum-users@maven.apache.org
Subject: Re: Build definitions which exceed the default length

On Nov 24, 2007 7:23 PM, Morgovsky, Alexander (US - Glen Mills)
[EMAIL PROTECTED] wrote:

 Continuum does not allow build definitions to be longer than a
specified
 length.  What is the suggested work-around for this issue?  Thank you.

There are several fields on the add/edit build definition page.  Is
one of the fields too short, or is it accepting your input and then
complaining later?

Please explain the steps needed to reproduce the problem.

-- 
Wendy 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Continuum Derby Question

2007-11-21 Thread Morgovsky, Alexander (US - Glen Mills)
I am trying to create a JDBC statement to test whether the start time of
a build and the end time of a build are between 2 Java Date getTime()
values.  However, the field of START_TIME and END_TIME in
SA.TABLE.BUILDRESULT is BIGINT.

The following statement fails in JDBC.  Could someone please tell me how
to properly write this statement for the Continuum Derby DB?
select START_TIME,END_TIME from SA.BUILDRESULT WHERE START_TIME 
1 and END_TIME  11000

Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven Sites Generation Creates Out-Of-Memory Error

2007-11-18 Thread Morgovsky, Alexander (US - Glen Mills)
It looks like there is a problem with being able to generate Maven
sites.  Even though plugins like Codestyle and PMD are available, it is
not possible to run the full suite of Maven sites because I always get
an Out-of-Memory Error.  I have tried updating Maven Java memory
settings through MAVEN_OPTS, but of course this only affects the
top-level Maven process, not the sub-processes which are created.  Thus,
please tell me what I need to do to stop my builds failing from Site
Out-of-Memory errors.  If it is not possible to set memory for the site
subprocesses, please let me know as well.  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven 2 Site Generation Question

2007-11-14 Thread Morgovsky, Alexander (US - Glen Mills)
Hello.  I would like to add a plugin to clean my deployed site directory
before creating new sites.  Is there a phase I could bind this plugin to
for this purpose as a best practice? 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven 2 Site Plugins Out-of-Memory Errors

2007-11-06 Thread Morgovsky, Alexander (US - Glen Mills)
What is the best practice for solving the Out-of-Memory errors which
result from running Site Plugins like PMD?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


StatSVN plugin

2007-11-06 Thread Morgovsky, Alexander (US - Glen Mills)
Hello.  Has anyone been able to make StatSVN functional in their
POM.xml?  I have done a search for any successful notes for this
plug-in, but I was not able to find any.  Please let me know, thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven Reporting Plugin's

2007-10-11 Thread Morgovsky, Alexander (US - Glen Mills)
Hello.  When JavaNCSS encounters a project which has no source code
files, it renders the summary site to have all 0's for its entries.  For
example, if I have nine projects which have source code files in their
src and one which does not, the summary page shows all 0's.  Please
advise on how to make sure that the JavaNCSS data for relevant projects
is shown and that data for irrelevant projects is not shown.  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven Runtime Settings

2007-10-03 Thread Morgovsky, Alexander (US - Glen Mills)
When I execute a Maven build I sometimes receive a memory heap
exception.  Is the a best practice set of parameters for running Maven?
Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Parent versions

2007-09-27 Thread Morgovsky, Alexander \(US - Glen Mills\)
In my codebase I tried giving parent versions to sub-projects in the
form of expressions like ${code.version}.  This fails in Maven 2.0.4.
Is there any plan to have this implemented in future versions?
Otherwise, how could I go around this issue because at the moment I need
to manually modify multiple parent versions in my child POM's.  Thank
you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven 2 Parent Versions

2007-09-27 Thread Morgovsky, Alexander \(US - Glen Mills\)
Has the bug whereby it is not possible to have an expression of the form
${code.version} in the version element of a parent reference been fixed
in Maven 2?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Terminating a build in a custom Maven plug-in

2007-09-23 Thread Morgovsky, Alexander \(US - Glen Mills\)
I have a custom Java Maven 2 plug-in where if a certain condition is
met, I want the build of the project calling this plug-in to terminate.
When I tried putting System.exit(0) into the catch block inside the
plug-in, the build did not terminate.  When I had put System.exit(0)
into the code, the build terminate, but I did not see a Build Failure
message, the build process just terminated without any message from
Maven.  How do I properly cause a build to terminate so that Maven
returns the message of the build failing with the total time elapsed.
Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Terminating a build in a maven-antrun-plugin call

2007-09-23 Thread Morgovsky, Alexander \(US - Glen Mills\)
I tried using the trycatch block from ant-contrib in the
maven-antrun-plugin call within the POM.xml.  However, a failure did not
transfer control to the catch block, and the build terminated
successfully.  How should I properly catch errors and terminate the
build using the maven-antrun-plugin?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Eclipse and Maven question

2007-09-15 Thread Morgovsky, Alexander \(US - Glen Mills\)
When I had looked at running the Maven builds in Eclipse, I saw that
there was an issue where Eclipse would only read the settings.xml in the
.m2\settings.xml file.  Is this issue currently a known issue? 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Finding Elapsed Time of a Build

2007-09-10 Thread Morgovsky, Alexander (US - Glen Mills)
In order to find the elapsed time of a build in seconds, is it correct
to subtract SA.BUILDRESULT.START_TIME from SA.BUILDRESULT.END_TIME and
divide by 3600?  Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Connecting to the Continuum Derby Database

2007-09-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
I would like to ask which file in the Continuum directory I should edit
for Continuum to use the Derby Network Server instead of the embedded
database. 

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 08, 2007 4:42 PM
To: continuum-users@maven.apache.org
Subject: Re: Connecting to the Continuum Derby Database

On 9/8/07, Morgovsky, Alexander (US - Glen Mills)
[EMAIL PROTECTED] wrote:
 Correct.  However, I have started Derby Network Server only when
having
 Continuum be shut down.  My concern is that I need to be able to
 generate reports on the builds while Continuum is running.  Would this
 be a possibility?

Yes.  You'll need to configure Continuum to use Derby Network Server
instead of the embedded database.

Derby Network Server can accept multiple connections-- in this case
one from Continuum and one from your reporting app.

It's not clear exactly what you've done so far, so if you still need
help, list the steps you've taken, the config files you've edited,
etc.

-- 
Wendy 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Connecting to the Continuum Derby Database

2007-09-07 Thread Morgovsky, Alexander \(US - Glen Mills\)
I started the Derby Database server on the Continuum machine.  It is
listening on port 1527.  In my JSP page deployed on an Application
Server on another machine in the same network I have the code:

Connection connection =
DriverManager.getConnection(jdbc:derby://Continuum IP:1527/Continuum
File System Database);

However, upon accessing the JSP page I receive: 

java.sql.SQLException: java.net.ConnectException : Error connecting to
server ip on port 1527 with message Connection refused: connect. 


What is the proper Java process for connecting to the Continuum Derby
Database?  Should I pass in a username/password?  If so, should these be
the Continuum admin username/password?

I am using Continuum 1.1-alpha-2.

Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Connecting to the Continuum Derby Database

2007-09-07 Thread Morgovsky, Alexander (US - Glen Mills)
Thank you.  I will look into this. 

-Original Message-
From: LAMY Olivier [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 07, 2007 10:46 AM
To: [EMAIL PROTECTED]
Subject: RE: Connecting to the Continuum Derby Database

Maybe you can add an issue and explain what kind of reports you need ? 


--
Olivier 

-Message d'origine-
De : Morgovsky, Alexander (US - Glen Mills) [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 7 septembre 2007 16:44
À : [EMAIL PROTECTED]
Objet : RE: Connecting to the Continuum Derby Database

Thank you.  In my JSP I am trying to select all rows and search by field to 
create some reporting pages for our builds.

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Friday, September 07, 2007 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Connecting to the Continuum Derby Database

the username is 'sa' with an empty password.

Just for my information, what do you try to do with your jsp?

Emmanuel

Nick Stolwijk a écrit :
 By default, Derby only listens on localhost, so no remote connections. 
 Have a look at the derby documentation on how to change it. [1]
 
 Hth,
 
 Nick S.
 
 [1]
 http://db.apache.org/derby/docs/dev/adminguide/cadminnetservsecurity.h
 tml
 
 Morgovsky, Alexander (US - Glen Mills) wrote:
 I started the Derby Database server on the Continuum machine.  It is 
 listening on port 1527.  In my JSP page deployed on an Application 
 Server on another machine in the same network I have the code:

 Connection connection =
 DriverManager.getConnection(jdbc:derby://Continuum 
 IP:1527/Continuum File System Database);

 However, upon accessing the JSP page I receive:
 java.sql.SQLException: java.net.ConnectException : Error connecting 
 to server ip on port 1527 with message Connection refused: connect.

 What is the proper Java process for connecting to the Continuum Derby 
 Database?  Should I pass in a username/password?  If so, should these 
 be the Continuum admin username/password?

 I am using Continuum 1.1-alpha-2.

 Thank you.

 This message (including any attachments) contains confidential 
 information intended for a specific individual and purpose, and is 
 protected by law.  If you are not the intended recipient, you should 
 delete this message.

 Any disclosure, copying, or distribution of this message, or the 
 taking of any action based on it, is strictly prohibited. [v.E.1]

   
 
 
 
 


This e-mail, any attachments and the information contained therein (this 
message) are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
** 
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après le message ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
** 



RE: Connecting to the Continuum Derby Database

2007-09-07 Thread Morgovsky, Alexander (US - Glen Mills)
I am trying to create some reporting pages which show statistics of
number of builds per project, elapsed build times, average build times,
and other similar information.  Thank you.

-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 07, 2007 10:36 AM
To: [EMAIL PROTECTED]
Subject: Re: Connecting to the Continuum Derby Database

On 9/7/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:

 the username is 'sa' with an empty password.

I knew I wrote this down somewhere.  Here's a page talking about
Archiva and Derby Network Server.  It should be easily adaptable to
Continuum.
http://docs.codehaus.org/display/MAVENUSER/Archiva+User+DB+on+Derby+Netw
ork+Server

 Just for my information, what do you try to do with your jsp?

Also curious.  Continuum needs some reporting but I'm waiting for
actual requests to come in before I start guessing what people need.

-- 
Wendy 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Connecting to the Continuum Derby Database

2007-09-07 Thread Morgovsky, Alexander (US - Glen Mills)
Thank you.  In my JSP I am trying to select all rows and search by field to 
create some reporting pages for our builds.

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 07, 2007 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Connecting to the Continuum Derby Database

the username is 'sa' with an empty password.

Just for my information, what do you try to do with your jsp?

Emmanuel

Nick Stolwijk a écrit :
 By default, Derby only listens on localhost, so no remote connections. 
 Have a look at the derby documentation on how to change it. [1]
 
 Hth,
 
 Nick S.
 
 [1] 
 http://db.apache.org/derby/docs/dev/adminguide/cadminnetservsecurity.html
 
 Morgovsky, Alexander (US - Glen Mills) wrote:
 I started the Derby Database server on the Continuum machine.  It is
 listening on port 1527.  In my JSP page deployed on an Application
 Server on another machine in the same network I have the code:

 Connection connection =
 DriverManager.getConnection(jdbc:derby://Continuum IP:1527/Continuum
 File System Database);

 However, upon accessing the JSP page I receive:
 java.sql.SQLException: java.net.ConnectException : Error connecting to
 server ip on port 1527 with message Connection refused: connect.

 What is the proper Java process for connecting to the Continuum Derby
 Database?  Should I pass in a username/password?  If so, should these be
 the Continuum admin username/password?

 I am using Continuum 1.1-alpha-2.

 Thank you.

 This message (including any attachments) contains confidential 
 information intended for a specific individual and purpose, and is 
 protected by law.  If you are not the intended recipient, you should 
 delete this message.

 Any disclosure, copying, or distribution of this message, or the 
 taking of any action based on it, is strictly prohibited. [v.E.1]

   
 
 
 
 



RE: Connecting to the Continuum Derby Database

2007-09-07 Thread Morgovsky, Alexander (US - Glen Mills)
Sure. 

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 07, 2007 10:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Connecting to the Continuum Derby Database

the username is 'sa' with an empty password.

Just for my information, what do you try to do with your jsp?

Emmanuel

Nick Stolwijk a écrit :
 By default, Derby only listens on localhost, so no remote connections. 
 Have a look at the derby documentation on how to change it. [1]
 
 Hth,
 
 Nick S.
 
 [1] 
 http://db.apache.org/derby/docs/dev/adminguide/cadminnetservsecurity.html
 
 Morgovsky, Alexander (US - Glen Mills) wrote:
 I started the Derby Database server on the Continuum machine.  It is
 listening on port 1527.  In my JSP page deployed on an Application
 Server on another machine in the same network I have the code:

 Connection connection =
 DriverManager.getConnection(jdbc:derby://Continuum IP:1527/Continuum
 File System Database);

 However, upon accessing the JSP page I receive:
 java.sql.SQLException: java.net.ConnectException : Error connecting to
 server ip on port 1527 with message Connection refused: connect.

 What is the proper Java process for connecting to the Continuum Derby
 Database?  Should I pass in a username/password?  If so, should these be
 the Continuum admin username/password?

 I am using Continuum 1.1-alpha-2.

 Thank you.

 This message (including any attachments) contains confidential 
 information intended for a specific individual and purpose, and is 
 protected by law.  If you are not the intended recipient, you should 
 delete this message.

 Any disclosure, copying, or distribution of this message, or the 
 taking of any action based on it, is strictly prohibited. [v.E.1]

   
 
 
 
 



Code Complexity Plugin

2007-09-07 Thread Morgovsky, Alexander (US - Glen Mills)
Is there a plug-in to calculate the code complexity of Java code?  I
tried using the PMD, but I did not see the results for complexity.  May
someone please point me in the right direction for this?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


PMD parameters

2007-09-06 Thread Morgovsky, Alexander (US - Glen Mills)
Hello.  May someone please inform me on how to call the PMD Reporting
Plugin to acquire Code Complexity analysis.  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Continuum Build Reporting

2007-09-01 Thread Morgovsky, Alexander \(US - Glen Mills\)
What is the best practice of reporting on Continuum builds?  I am
interesting in calculating the average of builds per project group, the
average success rate, and the average build time.  Is there a plugin for
this?  If not, what tables in the database should I query for this
information?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Maven 2 Classpath

2007-08-20 Thread Morgovsky, Alexander \(US - Glen Mills\)
Is it possible to set the order of the JAR's added to the classpath of a
Maven project?  If yes, how is this is done?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Continuum Dependency Changes

2007-08-13 Thread Morgovsky, Alexander \(US - Glen Mills\)
When a dependency change is detected in the 1.1 latest version, does
Continuum both look at the local repository and remote repository for
changes?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Continuum Emails

2007-08-10 Thread Morgovsky, Alexander (US - Glen Mills)
Thank you for your help. 

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 10, 2007 2:50 AM
To: [EMAIL PROTECTED]
Subject: Re: Continuum Emails

No.

In conf/plexus.xml, you must have something like that:

 resources
   !--
Mail Session
   --
   resource
 namemail/Session/name
 typejavax.mail.Session/type
 properties
   property
 namemail.smtp.host/name
 valuelocalhost/value
   /property
   property
 namemail.smtp.port/name
 value25/value
   /property
 /properties
   /resource

and in application.xml, you must keep the component declaration like it iwas 
when you installed Continuum:

 component
   roleorg.codehaus.plexus.mailsender.MailSender/role
   
implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation
   configuration
 jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
   /configuration
 /component

Emmanuel

LAMY Olivier a écrit :
 Yep. 
 
 -Message d'origine-
 De : Morgovsky, Alexander (US - Glen Mills) [mailto:[EMAIL PROTECTED] 
 Envoyé : vendredi 10 août 2007 00:36
 À : [EMAIL PROTECTED]
 Objet : RE: Continuum Emails
 
 Does this mean that I should put the whole component node into plexus.xml?
 
 component
   roleorg.codehaus.plexus.mailsender.MailSender/role
   
 implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation
   configuration
 jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
   smtp-host/smtp-host
 smtp-port/smtp-port
   /configuration
 /component 
 
 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 09, 2007 5:18 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Continuum Emails
 
 the jndi conf must be done in conf/plexus.xml
 
 Morgovsky, Alexander (US - Glen Mills) a écrit :
 I am using Continuum 1.1-alpha-2.  I have noticed that my Continuum 
 instance is not sending out emails.  In the logs I found the error:

 [pool-1-thread-1] ERROR
 org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:
 default  - Error while trying to use the mailnotifier.
 org.codehaus.plexus.notification.NotificationException: Exception 
 while sending message.
  at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
 dM
 essage(MailContinuumNotifier.java:415)
  at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.bui
 ld
 Complete(MailContinuumNotifier.java:319)
  at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
 dN
 otification(MailContinuumNotifier.java:211)
  at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:198)
  at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:150)
  at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
  at
 org.apache.maven.continuum.buildcontroller.DefaultBuildController.endB
 ui
 ld(DefaultBuildController.java:219)
  at
 org.apache.maven.continuum.buildcontroller.DefaultBuildController.buil
 d(
 DefaultBuildController.java:173)
  at
 org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.ex
 ec
 uteTask(BuildProjectTaskExecutor.java:50)
  at
 org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Exec
 ut
 orRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
  at
 edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapt
 er
 .call(Executors.java:442)
  at
 edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTa
 sk
 .java:176)
  at
 edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
 er
 .runTask(ThreadPoolExecutor.java:665)
  at
 edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
 er
 .run(ThreadPoolExecutor.java:690)
  at java.lang.Thread.run(Thread.java:534)
 Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error 
 while sending the message.
  at
 org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.sen
 d(
 AbstractJavamailMailSender.java:219)
  at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
 dM
 essage(MailContinuumNotifier.java:411)
  ... 14 more

 I configured the
 continuum-1.1-alpha-2\apps\continuum\webapp\WEB-INF\classes\META-INF\p
 le xus\application.xml with the following:

 component
   roleorg.codehaus.plexus.mailsender.MailSender/role

Continuum Emails

2007-08-09 Thread Morgovsky, Alexander \(US - Glen Mills\)
I am using Continuum 1.1-alpha-2.  I have noticed that my Continuum
instance is not sending out emails.  In the logs I found the error:

[pool-1-thread-1] ERROR
org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:
default  - Error while trying to use the mailnotifier.
org.codehaus.plexus.notification.NotificationException: Exception while
sending message.
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendM
essage(MailContinuumNotifier.java:415)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.build
Complete(MailContinuumNotifier.java:319)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendN
otification(MailContinuumNotifier.java:211)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:198)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:150)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBui
ld(DefaultBuildController.java:219)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
DefaultBuildController.java:173)
at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec
uteTask(BuildProjectTaskExecutor.java:50)
at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
orRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter
.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask
.java:176)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error
while sending the message.
at
org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(
AbstractJavamailMailSender.java:219)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendM
essage(MailContinuumNotifier.java:411)
... 14 more

I configured the
continuum-1.1-alpha-2\apps\continuum\webapp\WEB-INF\classes\META-INF\ple
xus\application.xml with the following:

component
  roleorg.codehaus.plexus.mailsender.MailSender/role
 
implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMail
Sender/implementation
  configuration

jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
smtp-hosta.b.c.d/smtp-host
smtp-porte/smtp-port
  /configuration
/component

Could someone please explain what I am doing wrong?

Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Continuum Emails

2007-08-09 Thread Morgovsky, Alexander (US - Glen Mills)
Does this mean that I should put the whole component node into plexus.xml?

component
  roleorg.codehaus.plexus.mailsender.MailSender/role
  
implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation
  configuration
jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
smtp-host/smtp-host
smtp-port/smtp-port
  /configuration
/component 

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 09, 2007 5:18 PM
To: continuum-users@maven.apache.org
Subject: Re: Continuum Emails

the jndi conf must be done in conf/plexus.xml

Morgovsky, Alexander (US - Glen Mills) a écrit :
 I am using Continuum 1.1-alpha-2.  I have noticed that my Continuum
 instance is not sending out emails.  In the logs I found the error:
 
 [pool-1-thread-1] ERROR
 org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:
 default  - Error while trying to use the mailnotifier.
 org.codehaus.plexus.notification.NotificationException: Exception while
 sending message.
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendM
 essage(MailContinuumNotifier.java:415)
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.build
 Complete(MailContinuumNotifier.java:319)
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendN
 otification(MailContinuumNotifier.java:211)
   at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:198)
   at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:150)
   at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
 atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
   at
 org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBui
 ld(DefaultBuildController.java:219)
   at
 org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
 DefaultBuildController.java:173)
   at
 org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec
 uteTask(BuildProjectTaskExecutor.java:50)
   at
 org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
 orRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
   at
 edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter
 .call(Executors.java:442)
   at
 edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask
 .java:176)
   at
 edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
 .runTask(ThreadPoolExecutor.java:665)
   at
 edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
 .run(ThreadPoolExecutor.java:690)
   at java.lang.Thread.run(Thread.java:534)
 Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error
 while sending the message.
   at
 org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(
 AbstractJavamailMailSender.java:219)
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendM
 essage(MailContinuumNotifier.java:411)
   ... 14 more
 
 I configured the
 continuum-1.1-alpha-2\apps\continuum\webapp\WEB-INF\classes\META-INF\ple
 xus\application.xml with the following:
 
 component
   roleorg.codehaus.plexus.mailsender.MailSender/role
  
 implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMail
 Sender/implementation
   configuration
   
 jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
   smtp-hosta.b.c.d/smtp-host
   smtp-porte/smtp-port
   /configuration
 /component
 
 Could someone please explain what I am doing wrong?
 
 Thank you. 
 
 
 This message (including any attachments) contains confidential information 
 intended for a specific individual and purpose, and is protected by law.  If 
 you are not the intended recipient, you should delete this message. 
 
 
 Any disclosure, copying, or distribution of this message, or the taking of 
 any action based on it, is strictly prohibited. [v.E.1]
 



Re: Java for Continuum 1.1-beta-2

2007-08-08 Thread Morgovsky, Alexander (US - Glen Mills)
Yes..1.5.12 resulted in a tools.jar not found error, after which I went back to 
1.1-alpha-2.

Sent by Good Messaging (www.good.com)


 -Original Message-
From:   Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent:   Wednesday, August 08, 2007 12:10 PM Central Standard Time
To: continuum-users@maven.apache.org
Subject:Re: Java for Continuum 1.1-beta-2

The version you want. Do you have an issue with a specific version?

Morgovsky, Alexander (US - Glen Mills) a écrit :
 Which version of Java 1.5 should I use with Continuum 1.1-beta-2?  Thank
 you. 
 
 
 This message (including any attachments) contains confidential information 
 intended for a specific individual and purpose, and is protected by law.  If 
 you are not the intended recipient, you should delete this message. 
 
 
 Any disclosure, copying, or distribution of this message, or the taking of 
 any action based on it, is strictly prohibited. [v.E.1]
 



RE: Continuum 1.1-beta-1 profile does not seem to work

2007-08-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
When will 1.1-beta-2 be released? 

-Original Message-
From: fherrerav [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 08, 2007 2:39 PM
To: continuum-users@maven.apache.org
Subject: RE: Continuum 1.1-beta-1 profile does not seem to work


Yes the NPE is when i click the save button. 



LAMY Olivier wrote:
 
 Just to be sure  
 Add installation (jdk1.6.0) - Add profile (JDK1.6)-Edit profile-Add the
 new installation from list
 
 Here you click on save button ? 
 
 If yes the NPE is fixed in trunk and will be in beta-2.
 
 --
 Olivier
 
 
 
 -Message d'origine-
 De : fherrerav [mailto:[EMAIL PROTECTED] 
 Envoyé : mercredi 8 août 2007 18:30
 À : continuum-users@maven.apache.org
 Objet : RE: Continuum 1.1-beta-1 profile does not seem to work
 
 
 I get the same NPE
 
 Add installation (jdk1.6.0) - Add profile (JDK1.6)-Edit profile-Add the
 new installation from list - NPE
 
 Server: Red Hat
 Client Browser: Opera
 Note: Only 1 profile and 1 installation defined
 
 
 java.lang.NullPointerException
   at
 org.apache.maven.continuum.web.action.admin.ProfileAction.addInstallation(ProfileAction.java:140)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at
 com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:364)
   at
 com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:216)
   at
 com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
   at
 com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:168)
   at
 com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
   at
 com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
   at
 com.opensymphony.xwork.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:115)
   at
 com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
   at
 com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
   at
 org.apache.maven.continuum.web.interceptor.ForceContinuumConfigurationInterceptor.intercept(ForceContinuumConfigurationInterceptor.java:72)
   at
 com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
   at
 org.codehaus.plexus.redback.xwork.interceptor.PolicyEnforcementInterceptor.intercept(PolicyEnforcementInterceptor.java:103)
   at
 com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)
 
 
 
 
 
 
 
 LAMY Olivier wrote:
 
 I think it's due to CONTINUUM-1361.
 
 Rewrite the end of the workflow ;-)
 
 - Edit profile, add an installation, go to Profiles List
 
 --
 Olivier
 
 -Message d'origine-
 De : Stephane Nicoll [mailto:[EMAIL PROTECTED]
 Envoyé : mardi 7 août 2007 12:11
 À : continuum-users@maven.apache.org
 Objet : Re: Continuum 1.1-beta-1 profile does not seem to work
 
 - Firefox
 - Login as admin
 - Profiles, add profiles, give a name, save
 - Edit profile, add an installation, save - NPE
 
 But the profile is there with the installation. Note I never restarted 
 the service so it's maybe not saved at all (and in a transient cache 
 or something).
 
 Stéphane
 
 On 8/7/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:
 What is the process to reproduce it?

 Stephane Nicoll a écrit :
  Hey,
 
  I've also a NPE (see below) but I'm able to create the build 
  profile anyway. I'm on 1.1-beta-1, war version on tomcat 5.5.23/JDK5.
 
  Cheers,
  Stéphane
 
  12790974 [TP-Processor6] INFO
  com.opensymphony.xwork.interceptor.Interceptor:exceptionLogging  - 
  Error ocurred during execution java.lang.NullPointerException
  at
 org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerIm
 pl.java:3667)
  at
 org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:
 3646)
  at
 org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPe
 rsistenceManager.java:1202)
  at
 org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenc
 eManager.java:1261)
  at
 org.codehaus.plexus.jdo.PlexusJdoUtils.updateObject(PlexusJdoUtils.ja
 va:160)
  at
 org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoCo
 ntinuumStore.java:843)
  at
 org.apache.maven.continuum.store.JdoContinuumStore.updateObject(JdoCo
 ntinuumStore.java:835)
  at
 org.apache.maven.continuum.store.JdoContinuumStore.updateProfile(JdoC
 ontinuumStore.java:1226)
  at
 org.apache.maven.continuum.profile.DefaultProfileService.updateProfil
 

Java for Continuum 1.1-beta-2

2007-08-08 Thread Morgovsky, Alexander \(US - Glen Mills\)
Which version of Java 1.5 should I use with Continuum 1.1-beta-2?  Thank
you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Build Fresh option

2007-08-06 Thread Morgovsky, Alexander \(US - Glen Mills\)
It appears that the Build Fresh option does not fully work.  I found a
Jira issue #1156.  Is it recommended to not use the Build Fresh option
until later?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Deletion of Build Directory Error

2007-08-06 Thread Morgovsky, Alexander \(US - Glen Mills\)
I am using 1.1-alpha-2.  I received the following exception during a
scheduled, automated build of a project.  Is this a known issue, and if
yes, has it been fixed in 1.1-beta-1?  Thank you.
org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
executing action 'clean-working-directory' at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.perfor
mAction(DefaultBuildController.java:432) at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.cleanW
orkingDirectory(DefaultBuildController.java:361) at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
DefaultBuildController.java:103) at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec
uteTask(BuildProjectTaskExecutor.java:50) at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
orRunnable$1.run(ThreadedTaskQueueExecutor.java:116) at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter
.call(Executors.java:442) at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask
.java:176) at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665) at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:690) at
java.lang.Thread.run(Thread.java:534) 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


1.1-alpha-beta questions

2007-08-05 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hello.  I have worked with 1.0.3 for some time, and after moving to the
newer versions, I have some questions.

What is the fresh build option?  

What is the release option?

I was successfully able to install 1.1-alpha-1, and I saw an issue where
I tried to build the group with all the modules, the modules were not
built according to the order defined in the parent POM.  Is this issue
fixed in 1.1-beta-1?

I tried installing 1.1-beta-1, but the service could not find tools.jar
in the Java 1.5 version 12 installation.  Which version of Java 1.5
should I install for 1.1-beta-1?

Many thanks for the assistance. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: 1.1-alpha-beta questions

2007-08-05 Thread Morgovsky, Alexander (US - Glen Mills)
That is fine.  Thank you. 

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Sunday, August 05, 2007 9:00 PM
To: continuum-users@maven.apache.org
Subject: Re: 1.1-alpha-beta questions

Both could be bugs, though it's a bit hard to tell from the
information you've given. If you can come up with some reproducible
steps we can see, and put them in JIRA, we'll certainly look into it.

On 06/08/07, Morgovsky, Alexander (US - Glen Mills)
[EMAIL PROTECTED] wrote:
 Yes, I expected the order to be the same as if I were running the
build
 of the parent project from command-line.  However, some of the
projects
 were not built in the expected order.  As for the Java part, I set my
 JAVA_HOME to the JDK installation directory.  Is there a specific
 version of Java 1.5 I may use for 1.1-beta-1 to work?  Thank you.

 -Original Message-
 From: Brett Porter [mailto:[EMAIL PROTECTED]
 Sent: Sunday, August 05, 2007 5:21 PM
 To: continuum-users@maven.apache.org
 Subject: Re: 1.1-alpha-beta questions

 On 06/08/07, Morgovsky, Alexander (US - Glen Mills)
 [EMAIL PROTECTED] wrote:
  What is the fresh build option?

 Clean check out from SCM

 
  What is the release option?

 Uses the Maven release plugin's technology to do a web based release
 from SCM (tag, build, update POMs).

  I was successfully able to install 1.1-alpha-1, and I saw an issue
 where
  I tried to build the group with all the modules, the modules were
not
  built according to the order defined in the parent POM.  Is this
issue
  fixed in 1.1-beta-1?

 They are built in the reactor (dependency) order - is that not what
 you'd expect?

  I tried installing 1.1-beta-1, but the service could not find
 tools.jar
  in the Java 1.5 version 12 installation.  Which version of Java 1.5
  should I install for 1.1-beta-1?

 I've never seen that before - is your JAVA_HOME set to JDK or JRE?

 - Brett


 This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law.  If you are not the intended recipient, you should
delete this message.


 Any disclosure, copying, or distribution of this message, or the
taking of any action based on it, is strictly prohibited. [v.E.1]



-- 
Brett Porter
Blog: http://www.devzuz.org/blogs/bporter/


Maven dependency versions

2007-08-05 Thread Morgovsky, Alexander \(US - Glen Mills\)
If I have an artifact of version a.b.c.0 in my local repository, and
someone uploads a newer artifact with version a.b.c.0 to the remote
repository, will my dependent project check if there is a newer version
of artifact a.b.c.0 in all of the repositories compared to that in my
local repository, or will it find the older artifact in the local
repository and not look for the newer one in the remote repository?
Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Accessing Continuum Webapp

2007-08-03 Thread Morgovsky, Alexander (US - Glen Mills)
Hi Randall.  I uninstalled the 1.0.3 service by the UninstallService.bat
script and then installed 1.1-beta-1 by running the InstallService.bat
script. 

-Original Message-
From: Randall Fidler [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 03, 2007 10:43 AM
To: [EMAIL PROTECTED]
Subject: RE: Accessing Continuum Webapp

Hi Alexander,

I too just installed to 1.1-beta-1 but didn't have any problems with
the web service.  When started Continuum was at
http://ip:8080/continuum.  Are you sure the service/daemon is running?
Another thing is did you upgrade or remove 1.0.3 and then install
1.1-beta-1 fresh?

Regards,

Randall

-Original Message-
From: Morgovsky, Alexander (US - Glen Mills)
[mailto:[EMAIL PROTECTED] 
Sent: Friday, August 03, 2007 7:26 AM
To: [EMAIL PROTECTED]
Subject: Accessing Continuum Webapp

I installed Continuum 1.1-beta-1 as a service.  Unlike in 1.0.3, I
cannot access it by going to http://ip:8080/continuum.  What is the
new way of accessing it?  I did not change any of the default
configurations.

The continuum.log file only has the following:
   [WrapperSimpleAppMain] INFO  org.codehaus.plexus.PlexusContainer  -
Loading on start [role,roleHint]:
[org.apache.maven.continuum.Continuum,default]

Thank you. 


This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law.  If you are not the intended recipient, you should
delete this message. 


Any disclosure, copying, or distribution of this message, or the taking
of any action based on it, is strictly prohibited. [v.E.1]


Accessing Continuum Webapp

2007-08-03 Thread Morgovsky, Alexander \(US - Glen Mills\)
I installed Continuum 1.1-beta-1 as a service.  Unlike in 1.0.3, I
cannot access it by going to http://ip:8080/continuum.  What is the
new way of accessing it?  I did not change any of the default
configurations.

The continuum.log file only has the following:
   [WrapperSimpleAppMain] INFO  org.codehaus.plexus.PlexusContainer  -
Loading on start [role,roleHint]:
[org.apache.maven.continuum.Continuum,default]

Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Accessing Continuum Webapp

2007-08-03 Thread Morgovsky, Alexander (US - Glen Mills)
I figured out my issue, I needed to have Java 1.5 running, and I had
Java 1.4 running.  The issue which I have is I need to have my codebase
be compiled and ran using Java 1.4.  Can Continuum 1.1-beta-1 be
configured to run using Java 1.4?  If not, have others encountered this
issue?  If yes, please share how you solved this issue.  Thank you.   

-Original Message-
From: Randall Fidler [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 03, 2007 10:43 AM
To: [EMAIL PROTECTED]
Subject: RE: Accessing Continuum Webapp

Hi Alexander,

I too just installed to 1.1-beta-1 but didn't have any problems with
the web service.  When started Continuum was at
http://ip:8080/continuum.  Are you sure the service/daemon is running?
Another thing is did you upgrade or remove 1.0.3 and then install
1.1-beta-1 fresh?

Regards,

Randall

-Original Message-
From: Morgovsky, Alexander (US - Glen Mills)
[mailto:[EMAIL PROTECTED] 
Sent: Friday, August 03, 2007 7:26 AM
To: [EMAIL PROTECTED]
Subject: Accessing Continuum Webapp

I installed Continuum 1.1-beta-1 as a service.  Unlike in 1.0.3, I
cannot access it by going to http://ip:8080/continuum.  What is the
new way of accessing it?  I did not change any of the default
configurations.

The continuum.log file only has the following:
   [WrapperSimpleAppMain] INFO  org.codehaus.plexus.PlexusContainer  -
Loading on start [role,roleHint]:
[org.apache.maven.continuum.Continuum,default]

Thank you. 


This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law.  If you are not the intended recipient, you should
delete this message. 


Any disclosure, copying, or distribution of this message, or the taking
of any action based on it, is strictly prohibited. [v.E.1]


RE: Accessing Continuum Webapp

2007-08-03 Thread Morgovsky, Alexander (US - Glen Mills)
Thanks.  If this is the case, should I define my System Environment Variable 
JAVA_HOME to Java 1.5, and define the version of Java for my build to 1.4 using 
the build profile? 

-Original Message-
From: LAMY Olivier [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 03, 2007 3:41 PM
To: [EMAIL PROTECTED]
Subject: RE: Accessing Continuum Webapp

Yep a feature coming with this release.
Have a look : 
http://maven.apache.org/continuum/guides/mini/guide-build-profile.html

-
Olivier

-Message d'origine-
De : Morgovsky, Alexander (US - Glen Mills) [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 3 août 2007 20:30
À : [EMAIL PROTECTED]
Objet : RE: Accessing Continuum Webapp

I figured out my issue, I needed to have Java 1.5 running, and I had Java 1.4 
running.  The issue which I have is I need to have my codebase be compiled and 
ran using Java 1.4.  Can Continuum 1.1-beta-1 be configured to run using Java 
1.4?  If not, have others encountered this
issue?  If yes, please share how you solved this issue.  Thank you.   

-Original Message-
From: Randall Fidler [mailto:[EMAIL PROTECTED]
Sent: Friday, August 03, 2007 10:43 AM
To: [EMAIL PROTECTED]
Subject: RE: Accessing Continuum Webapp

Hi Alexander,

I too just installed to 1.1-beta-1 but didn't have any problems with the 
web service.  When started Continuum was at http://ip:8080/continuum.  Are 
you sure the service/daemon is running?
Another thing is did you upgrade or remove 1.0.3 and then install
1.1-beta-1 fresh?

Regards,

Randall

-Original Message-
From: Morgovsky, Alexander (US - Glen Mills) [mailto:[EMAIL PROTECTED]
Sent: Friday, August 03, 2007 7:26 AM
To: [EMAIL PROTECTED]
Subject: Accessing Continuum Webapp

I installed Continuum 1.1-beta-1 as a service.  Unlike in 1.0.3, I cannot 
access it by going to http://ip:8080/continuum.  What is the new way of 
accessing it?  I did not change any of the default configurations.

The continuum.log file only has the following:
   [WrapperSimpleAppMain] INFO  org.codehaus.plexus.PlexusContainer  - Loading 
on start [role,roleHint]:
[org.apache.maven.continuum.Continuum,default]

Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


This e-mail, any attachments and the information contained therein (this 
message) are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
** 
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après le message ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
** 



RE: Accessing Continuum Webapp

2007-08-03 Thread Morgovsky, Alexander (US - Glen Mills)
Thank you, I will try this and report back. 

-Original Message-
From: LAMY Olivier [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 03, 2007 3:52 PM
To: [EMAIL PROTECTED]
Subject: RE: Accessing Continuum Webapp

Yes.
 

-Message d'origine-
De : Morgovsky, Alexander (US - Glen Mills) [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 3 août 2007 21:47
À : [EMAIL PROTECTED]
Objet : RE: Accessing Continuum Webapp

Thanks.  If this is the case, should I define my System Environment Variable 
JAVA_HOME to Java 1.5, and define the version of Java for my build to 1.4 using 
the build profile? 

-Original Message-
From: LAMY Olivier [mailto:[EMAIL PROTECTED]
Sent: Friday, August 03, 2007 3:41 PM
To: [EMAIL PROTECTED]
Subject: RE: Accessing Continuum Webapp

Yep a feature coming with this release.
Have a look : 
http://maven.apache.org/continuum/guides/mini/guide-build-profile.html

-
Olivier

-Message d'origine-
De : Morgovsky, Alexander (US - Glen Mills) [mailto:[EMAIL PROTECTED] Envoyé : 
vendredi 3 août 2007 20:30 À : [EMAIL PROTECTED] Objet : RE: Accessing 
Continuum Webapp

I figured out my issue, I needed to have Java 1.5 running, and I had Java 1.4 
running.  The issue which I have is I need to have my codebase be compiled and 
ran using Java 1.4.  Can Continuum 1.1-beta-1 be configured to run using Java 
1.4?  If not, have others encountered this
issue?  If yes, please share how you solved this issue.  Thank you.   

-Original Message-
From: Randall Fidler [mailto:[EMAIL PROTECTED]
Sent: Friday, August 03, 2007 10:43 AM
To: [EMAIL PROTECTED]
Subject: RE: Accessing Continuum Webapp

Hi Alexander,

I too just installed to 1.1-beta-1 but didn't have any problems with the 
web service.  When started Continuum was at http://ip:8080/continuum.  Are 
you sure the service/daemon is running?
Another thing is did you upgrade or remove 1.0.3 and then install
1.1-beta-1 fresh?

Regards,

Randall

-Original Message-
From: Morgovsky, Alexander (US - Glen Mills) [mailto:[EMAIL PROTECTED]
Sent: Friday, August 03, 2007 7:26 AM
To: [EMAIL PROTECTED]
Subject: Accessing Continuum Webapp

I installed Continuum 1.1-beta-1 as a service.  Unlike in 1.0.3, I cannot 
access it by going to http://ip:8080/continuum.  What is the new way of 
accessing it?  I did not change any of the default configurations.

The continuum.log file only has the following:
   [WrapperSimpleAppMain] INFO  org.codehaus.plexus.PlexusContainer  - Loading 
on start [role,roleHint]:
[org.apache.maven.continuum.Continuum,default]

Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


This e-mail, any attachments and the information contained therein (this 
message) are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
**
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après le message ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
** 


RE: Continuum 1.1-alpha-2

2007-08-02 Thread Morgovsky, Alexander (US - Glen Mills)
Hi Jesse.  I was thinking of using alpha-2 because I had read that some users 
on this forum had some concerns about installing beta-1, and I figured that I 
should try it with the previous version to the last.  However, I will certainly 
install beta-1 if that is the recommended version at this point in time.  
Please let me know your thoughts regarding this.  As always, thank you for 
creating this excellent tool.

-Original Message-
From: Jesse McConnell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 02, 2007 2:21 PM
To: continuum-users@maven.apache.org
Subject: Re: Continuum 1.1-alpha-2

oh dear, didn't even notice he was thinking of using alpha-2...

Alex, why not beta-1?

jesse

On 8/2/07, Emmanuel Venisse [EMAIL PROTECTED] wrote:
 profiles/installations are in 1.1-beta-1 not in 1.1-alpha-2

 Jesse McConnell a écrit :
  yes, you can use those with the profile setup, just register those
  installations of maven and the jdk and you'll be in good shape
 
  ping here if you have issues
 
  cheers!
 
  jesse
 
  On 8/2/07, Morgovsky, Alexander (US - Glen Mills)
  [EMAIL PROTECTED] wrote:
  I would like to install Continuum 1.1-alpha-2.  Will I be able to use
  Maven 2.0.5 and Java 1.4.2_10?  Thank you.
 
 
  This message (including any attachments) contains confidential information 
  intended for a specific individual and purpose, and is protected by law.  
  If you are not the intended recipient, you should delete this message.
 
 
  Any disclosure, copying, or distribution of this message, or the taking of 
  any action based on it, is strictly prohibited. [v.E.1]
 
 
 




-- 
jesse mcconnell
[EMAIL PROTECTED]


Continuum 1.1-alpha-2

2007-08-02 Thread Morgovsky, Alexander \(US - Glen Mills\)
I would like to install Continuum 1.1-alpha-2.  Will I be able to use
Maven 2.0.5 and Java 1.4.2_10?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: [Announce] Continuum 1.1-beta-1 is released

2007-07-25 Thread Morgovsky, Alexander \(US - Glen Mills\)
Are there plans to implement a stop build button?  Having to manually
go to the database, use process viewers and other tools is the biggest
problem which I have experienced when using Continuum.  Thank you.

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 10:04 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; Maven Users List
Subject: [Announce] Continuum 1.1-beta-1 is released

Hi,

The maven/Continuum team is pleased to announce the first beta of
Continuum 1.1

Highlights are:

* Continuum profiles to define JDK/maven/ANT to use in a build
definition
* many bug fixes and ui improvements.


You can grab the latest release from:

http://maven.apache.org/continuum/download.html


Next up we are going to have another beta release in a month, or
ideally before to have a final release in 1.5 month

Anyway, below is the jira release notes for this release.

Release Notes - Continuum - Version 1.1-alpha-2

Bug

 * [CONTINUUM-530] - HTML encode the build output
 * [CONTINUUM-691] - Build Numbers are obscured by the
queuing/building icon
 * [CONTINUUM-706] - XML-RPC Server does not support addition of
BuildDefinitions
 * [CONTINUUM-709] - Runtime error during recording in datanase
 * [CONTINUUM-723] - strange trouble on solaris
 * [CONTINUUM-817] - The generated output in the Working Copy page
displays the wrong content
 * [CONTINUUM-821] - The Project.getBuildResults() method returns an
empty list
 * [CONTINUUM-963] - Derby Database initialization error on Webapp
restarts on Jetty
 * [CONTINUUM-1094] - Continuum does not build with Sun JDK 6
 * [CONTINUUM-1119] - Creating a Group with an existing id errors
 * [CONTINUUM-1191] - editProject: NoSuchMethodException:
 * [CONTINUUM-1194] - Project is stuck in the Build in Progress
state if the associated exception has more than 8192 chars
 * [CONTINUUM-1226] - Second build definitions on a project is never
triggered with CVS
 * [CONTINUUM-1228] - OgnlException while setting property
'projectGroupId' on redirect
 * [CONTINUUM-1235] - Continuum 1.1-SNAPSHOT fails to check out
projects from CVS when kicking off the build
 * [CONTINUUM-1241] - Schedule fails to start due to derby database
column being too small
 * [CONTINUUM-1244] - project group name is not validated when left
blank in Edit Project Group page, resulting to an error
 * [CONTINUUM-1308] - error moving projects to a new group
 * [CONTINUUM-1314] - NPE in DefaultContinuum.java -
isInBuildingQueue
 * [CONTINUUM-1316] - Hitting 'Add' button repetitively in adding an
Ant, Shell and Schedule using empty string only accumulates validation
prompts in IE browser
 * [CONTINUUM-1320] - DefaultBuildController.makeAndStoreBuildResult
cannot save build result due to maximum size of COMMAND_LINE
 * [CONTINUUM-1337] - NPE during profile creation
 * [CONTINUUM-1338] - field name in class
org.apache.maven.continuum.model.scm is too small
 * [CONTINUUM-1339] - Deleting a project group does not delete
related build output directories
 * [CONTINUUM-1340] - After adding a ant project to the default
project group (default project group is not displayed)
 * [CONTINUUM-1341] - Adding a Maven 2 POM from secure SVN on a
non-standard port does not work

Improvement

 * [CONTINUUM-774] - Better support for multiprojects
 * [CONTINUUM-1002] - build email cleanup
 * [CONTINUUM-1113] - Continuum doesn't work with MySQL
 * [CONTINUUM-1184] - Ability to pre-configure the Jetty port in
conf/plexus.xml
 * [CONTINUUM-1350] - Documentation on Build profiles

New Feature

 * [CONTINUUM-44] - multiple profiles
 * [CONTINUUM-614] - Enable auto-refresh for the build results page
 * [CONTINUUM-761] - Ability to delete results
 * [CONTINUUM-991] - Add meta refresh header to summary pages
 * [CONTINUUM-1178] - In Add New Maven 2 Project woudl like
opportunity not to load modules
 * [CONTINUUM-1222] - usage of an alternative maven2-executable
 * [CONTINUUM-1291] - In a special configuration the report mail can
contains false java version used for the build

Task

 * [CONTINUUM-977] - Create web UI tests for Add m1  m2 projects
pages

Test

 * [CONTINUUM-978] - add web ui tests for all pages related to
schedules
 * [CONTINUUM-1223] - Ability to choose JVM (export JAVA_HOME) for
different projects

Wish

 * [CONTINUUM-1224] - Ability to set MAVEN_OPTS for Maven2 build
definitions
 * [CONTINUUM-1258] - Configure the possibility of resolving or not
the search of build executables (maven, ant ...)


Emmanuel 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on 

RE: [Announce] Continuum 1.1-beta-1 is released

2007-07-25 Thread Morgovsky, Alexander (US - Glen Mills)
Okay, I am referring to the 1.1-beta-1 release.  For the non-terminating build 
scenario, does Continuum now have a time-out where it will terminate the build 
after n minutes?  If not, how will Continuum know when to terminate a build if 
it is indeed non-terminating, even for reason outside of Continuum like the 
deployment server being down and/or custom scripts not terminating properly.  
Thank you. 

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 10:16 AM
To: [EMAIL PROTECTED]
Subject: Re: [Announce] Continuum 1.1-beta-1 is released



Morgovsky, Alexander (US - Glen Mills) a écrit :
 Are there plans to implement a stop build button?

I don't know yet because it can't be done for windows.

 Having to manually
 go to the database, use process viewers and other tools is the biggest
 problem which I have experienced when using Continuum.  Thank you.

With a 1.1-alpha or beta-1?
I don't think you will have to do that with 1.1-beta-1

Emmanuel
 
 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, July 25, 2007 10:04 AM
 To: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]; Maven Users List
 Subject: [Announce] Continuum 1.1-beta-1 is released
 
 Hi,
 
 The maven/Continuum team is pleased to announce the first beta of
 Continuum 1.1
 
 Highlights are:
 
 * Continuum profiles to define JDK/maven/ANT to use in a build
 definition
 * many bug fixes and ui improvements.
 
 
 You can grab the latest release from:
 
 http://maven.apache.org/continuum/download.html
 
 
 Next up we are going to have another beta release in a month, or
 ideally before to have a final release in 1.5 month
 
 Anyway, below is the jira release notes for this release.
 
 Release Notes - Continuum - Version 1.1-alpha-2
 
 Bug
 
  * [CONTINUUM-530] - HTML encode the build output
  * [CONTINUUM-691] - Build Numbers are obscured by the
 queuing/building icon
  * [CONTINUUM-706] - XML-RPC Server does not support addition of
 BuildDefinitions
  * [CONTINUUM-709] - Runtime error during recording in datanase
  * [CONTINUUM-723] - strange trouble on solaris
  * [CONTINUUM-817] - The generated output in the Working Copy page
 displays the wrong content
  * [CONTINUUM-821] - The Project.getBuildResults() method returns an
 empty list
  * [CONTINUUM-963] - Derby Database initialization error on Webapp
 restarts on Jetty
  * [CONTINUUM-1094] - Continuum does not build with Sun JDK 6
  * [CONTINUUM-1119] - Creating a Group with an existing id errors
  * [CONTINUUM-1191] - editProject: NoSuchMethodException:
  * [CONTINUUM-1194] - Project is stuck in the Build in Progress
 state if the associated exception has more than 8192 chars
  * [CONTINUUM-1226] - Second build definitions on a project is never
 triggered with CVS
  * [CONTINUUM-1228] - OgnlException while setting property
 'projectGroupId' on redirect
  * [CONTINUUM-1235] - Continuum 1.1-SNAPSHOT fails to check out
 projects from CVS when kicking off the build
  * [CONTINUUM-1241] - Schedule fails to start due to derby database
 column being too small
  * [CONTINUUM-1244] - project group name is not validated when left
 blank in Edit Project Group page, resulting to an error
  * [CONTINUUM-1308] - error moving projects to a new group
  * [CONTINUUM-1314] - NPE in DefaultContinuum.java -
 isInBuildingQueue
  * [CONTINUUM-1316] - Hitting 'Add' button repetitively in adding an
 Ant, Shell and Schedule using empty string only accumulates validation
 prompts in IE browser
  * [CONTINUUM-1320] - DefaultBuildController.makeAndStoreBuildResult
 cannot save build result due to maximum size of COMMAND_LINE
  * [CONTINUUM-1337] - NPE during profile creation
  * [CONTINUUM-1338] - field name in class
 org.apache.maven.continuum.model.scm is too small
  * [CONTINUUM-1339] - Deleting a project group does not delete
 related build output directories
  * [CONTINUUM-1340] - After adding a ant project to the default
 project group (default project group is not displayed)
  * [CONTINUUM-1341] - Adding a Maven 2 POM from secure SVN on a
 non-standard port does not work
 
 Improvement
 
  * [CONTINUUM-774] - Better support for multiprojects
  * [CONTINUUM-1002] - build email cleanup
  * [CONTINUUM-1113] - Continuum doesn't work with MySQL
  * [CONTINUUM-1184] - Ability to pre-configure the Jetty port in
 conf/plexus.xml
  * [CONTINUUM-1350] - Documentation on Build profiles
 
 New Feature
 
  * [CONTINUUM-44] - multiple profiles
  * [CONTINUUM-614] - Enable auto-refresh for the build results page
  * [CONTINUUM-761] - Ability to delete results
  * [CONTINUUM-991] - Add meta refresh header to summary pages
  * [CONTINUUM-1178] - In Add New Maven 2 Project woudl like
 opportunity not to load modules
  * [CONTINUUM-1222] - usage of an alternative maven2-executable

RE: [Announce] Continuum 1.1-beta-1 is released

2007-07-25 Thread Morgovsky, Alexander (US - Glen Mills)
Thank you for your help, I will try this option. 

-Original Message-
From: Stephane Nicoll [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 25, 2007 10:35 AM
To: [EMAIL PROTECTED]
Subject: Re: [Announce] Continuum 1.1-beta-1 is released

You simply need to setup your schedule properly. It has an option to
specify the max. build time (default to 1h). It has always worked for
me.

HTH,
Stéphane

On 7/25/07, Morgovsky, Alexander (US - Glen Mills)
[EMAIL PROTECTED] wrote:
 Okay, I am referring to the 1.1-beta-1 release.  For the non-terminating 
 build scenario, does Continuum now have a time-out where it will terminate 
 the build after n minutes?  If not, how will Continuum know when to terminate 
 a build if it is indeed non-terminating, even for reason outside of Continuum 
 like the deployment server being down and/or custom scripts not terminating 
 properly.  Thank you.

 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 25, 2007 10:16 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [Announce] Continuum 1.1-beta-1 is released



 Morgovsky, Alexander (US - Glen Mills) a écrit :
  Are there plans to implement a stop build button?

 I don't know yet because it can't be done for windows.

  Having to manually
  go to the database, use process viewers and other tools is the biggest
  problem which I have experienced when using Continuum.  Thank you.

 With a 1.1-alpha or beta-1?
 I don't think you will have to do that with 1.1-beta-1

 Emmanuel
 
  -Original Message-
  From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 25, 2007 10:04 AM
  To: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]; Maven Users List
  Subject: [Announce] Continuum 1.1-beta-1 is released
 
  Hi,
 
  The maven/Continuum team is pleased to announce the first beta of
  Continuum 1.1
 
  Highlights are:
 
  * Continuum profiles to define JDK/maven/ANT to use in a build
  definition
  * many bug fixes and ui improvements.
 
 
  You can grab the latest release from:
 
  http://maven.apache.org/continuum/download.html
 
 
  Next up we are going to have another beta release in a month, or
  ideally before to have a final release in 1.5 month
 
  Anyway, below is the jira release notes for this release.
 
  Release Notes - Continuum - Version 1.1-alpha-2
 
  Bug
 
   * [CONTINUUM-530] - HTML encode the build output
   * [CONTINUUM-691] - Build Numbers are obscured by the
  queuing/building icon
   * [CONTINUUM-706] - XML-RPC Server does not support addition of
  BuildDefinitions
   * [CONTINUUM-709] - Runtime error during recording in datanase
   * [CONTINUUM-723] - strange trouble on solaris
   * [CONTINUUM-817] - The generated output in the Working Copy page
  displays the wrong content
   * [CONTINUUM-821] - The Project.getBuildResults() method returns an
  empty list
   * [CONTINUUM-963] - Derby Database initialization error on Webapp
  restarts on Jetty
   * [CONTINUUM-1094] - Continuum does not build with Sun JDK 6
   * [CONTINUUM-1119] - Creating a Group with an existing id errors
   * [CONTINUUM-1191] - editProject: NoSuchMethodException:
   * [CONTINUUM-1194] - Project is stuck in the Build in Progress
  state if the associated exception has more than 8192 chars
   * [CONTINUUM-1226] - Second build definitions on a project is never
  triggered with CVS
   * [CONTINUUM-1228] - OgnlException while setting property
  'projectGroupId' on redirect
   * [CONTINUUM-1235] - Continuum 1.1-SNAPSHOT fails to check out
  projects from CVS when kicking off the build
   * [CONTINUUM-1241] - Schedule fails to start due to derby database
  column being too small
   * [CONTINUUM-1244] - project group name is not validated when left
  blank in Edit Project Group page, resulting to an error
   * [CONTINUUM-1308] - error moving projects to a new group
   * [CONTINUUM-1314] - NPE in DefaultContinuum.java -
  isInBuildingQueue
   * [CONTINUUM-1316] - Hitting 'Add' button repetitively in adding an
  Ant, Shell and Schedule using empty string only accumulates validation
  prompts in IE browser
   * [CONTINUUM-1320] - DefaultBuildController.makeAndStoreBuildResult
  cannot save build result due to maximum size of COMMAND_LINE
   * [CONTINUUM-1337] - NPE during profile creation
   * [CONTINUUM-1338] - field name in class
  org.apache.maven.continuum.model.scm is too small
   * [CONTINUUM-1339] - Deleting a project group does not delete
  related build output directories
   * [CONTINUUM-1340] - After adding a ant project to the default
  project group (default project group is not displayed)
   * [CONTINUUM-1341] - Adding a Maven 2 POM from secure SVN on a
  non-standard port does not work
 
  Improvement
 
   * [CONTINUUM-774] - Better support for multiprojects
   * [CONTINUUM-1002] - build email cleanup
   * [CONTINUUM-1113] - Continuum doesn't work with MySQL

Mirror Entry is not working

2007-07-02 Thread Morgovsky, Alexander \(US - Glen Mills\)
I am using Maven 2.0.5.  In my c:\documents and
settings\.m2\settings.xml I have:

mirror 
ida/id 
namea/name 
urlhttp://a.b.c.d:abcd/repository/url
mirrorOf*/mirrorOf 
/mirror

In my POM I define both Repositories and Plugin Repositories, but I do
not declare any of them to have snapshots or releases enabled.  I have
found posts on the mailing list which dealt with this error, and the
proposed solution was to delete c:\documents and settings\.m2\repository
and try again.  I have tried this, but it failed again.  Please help me
if you may with answering these questions:

1)  Do I need to set up a repository manager like Archiva for the Mirror
object in Settings.xml to work?
2)  If my maven-site-plugin is in a company repository, do I need to
define the repository as having snapshots and/or releases enabled?
3)  Has mirrorOf*/mirrorOf been proven to work in Maven 2.0.5 and
beyond?

Are there any other known solutions for this issue beside deleting the
.m2\repository as this solution is not working for me?  Thank you in
advance.




When I run mvn package -X, I receive:

[DEBUG] maven-site-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest version

  org.apache.maven.plugins:maven-site-plugin:pom:LATEST


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-site-plugin:pom:LATEST
[DEBUG] maven-site-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
release version

  org.apache.maven.plugins:maven-site-plugin:pom:RELEASE


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-site-plugin:pom:RELEASE
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not
exist or no valid version could be found
[INFO]

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid
versio
n could be found 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: Third Party Dependencies

2007-06-30 Thread Morgovsky, Alexander \(US - Glen Mills\)
Thank you, that is a good idea.  Is there a method which I could call
which would tell me what repositories are used by the various plugins?
Otherwise, would you suggest that I open the various POM's and obtain
the information from these?  Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Third Party Dependencies

2007-06-29 Thread Morgovsky, Alexander \(US - Glen Mills\)
My Maven process runs in a controlled environment where I do not have
connectivity to the internet.  For this reason, I placed all the Maven
dependencies from repositories like repo1 and codehaus onto our company
repository.  The problem is that even though these dependencies are on
our company repository, once the build calls a plugin which uses
codehaus, for example, the build fails automatically, without ever going
to our company repository.  Is there a solution for this?  How has
everyone else solved this issue?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: [ANN] Maven 1.1 released

2007-06-25 Thread Morgovsky, Alexander (US - Glen Mills)
Thank you. 

-Original Message-
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 25, 2007 10:06 AM
To: Morgovsky, Alexander (US - Glen Mills)
Cc: Maven Users List
Subject: Re: [ANN] Maven 1.1 released

If you are using maven 1.0.2, in the changelog screen [1] you can see
all changes from maven 1.1 beta 1 to maven 1.1 final. Be careful, this
one doesn't include changes in plugins bundled in the distribution.
You can find the list of plugin changed between these 2 releases in
the following table [2]. You need to have a look at each plugin to
have the complete list of changes.

Arnaud

[1]
http://jira.codehaus.org/browse/MAVEN?report=com.atlassian.jira.plugin.s
ystem.project:changelog-panel
[2] http://maven.apache.org/maven-1.x/plugins/bundledHistory.html

On 25/06/07, Morgovsky, Alexander (US - Glen Mills)
[EMAIL PROTECTED] wrote:




 May you please provide a URL to the JIRA page which lists specifically
what
 changes have taken place?  Thank you.


  This message (including any attachments) contains confidential
information
 intended for a specific individual and purpose, and is protected by
law.  If
 you are not the intended recipient, you should delete this message.


  Any disclosure, copying, or distribution of this message, or the
taking of
 any action based on it, is strictly prohibited. [v.E.1]



-- 
..
Arnaud HERITIER
..
OCTO Technology - [EMAIL PROTECTED]
www.octo.com | blog.octo.com
..
ASF - [EMAIL PROTECTED]
www.apache.org | maven.apache.org
...

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



RE: Continuum while building maven 2 project does not recognise package javax.servlet.http

2007-06-20 Thread Morgovsky, Alexander \(US - Glen Mills\)
Is javax.servlet.http in the servlet-api jar?  Thanks.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 20, 2007 9:17 AM
To: continuum-users@maven.apache.org
Subject: FW: Continuum while building maven 2 project does not recognise
package javax.servlet.http

I am using the continuum-1.1-alpha-2.

Regards,
Bhramara

-Original Message-
From: Bhramara Chickamuniswamy-IC 
Sent: Wednesday, June 20, 2007 6:43 PM
To: continuum-users@maven.apache.org
Subject: Continuum while building maven 2 project does not recognise
package javax.servlet.http

Hi,

 

I am trying to build a project to generate a war file as the artifact.

 

The project dependency includes

 

dependency

groupIdjavax.servlet/groupId

artifactIdservlet-api/artifactId

version2.4/version

scopeprovided/scope

/dependency

 

But the build fails with the error

 

D:\continuum-1.1-alpha-2\apps\continuum\webapp\WEB-INF\working-directory
\31\src\main\java\com\iflexsolutions\crm\action\CRMSendMsgAction.java:[1
8,25] package javax.servlet.http does not exist

 

It does not recognize any of the code which uses the classes of the
javax.servlet package.

 

Can you please let me know what I might be doing wrong

 

Regards,

Bhramara

 

 

Regards,

Bhramara

Extn: 6279 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Build hanging in 1.1-alpha-2

2007-06-18 Thread Morgovsky, Alexander (US - Glen Mills)
Thank you. 

-Original Message-
From: Jesse McConnell [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 18, 2007 2:10 PM
To: continuum-users@maven.apache.org
Subject: Re: Build hanging in 1.1-alpha-2

it existed in 1.0.3 with another table when the build results were too
large if I remember correctly.

jesse

On 6/18/07, Madsen,Bryan [EMAIL PROTECTED] wrote:
 Issue logged http://jira.codehaus.org/browse/CONTINUUM-1317. I did not
 see this with the same project in 1.0.3.


 -Original Message-
 From: Morgovsky, Alexander (US - Glen Mills)
 [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 18, 2007 11:10 AM
 To: continuum-users@maven.apache.org
 Subject: RE: Build hanging in 1.1-alpha-2

 Does this issue exist in version 1.0.3?  Thanks.

 -Original Message-
 From: Jesse McConnell [mailto:[EMAIL PROTECTED]
 Sent: Monday, June 18, 2007 12:03 PM
 To: continuum-users@maven.apache.org
 Subject: Re: Build hanging in 1.1-alpha-2

 oh nice...another place that the results are too big to fit into the
 database...

 we really need to either switch these things over to clobs or truc the
 results going into the databasefirst time I have noticed this
issue
 on
 this table I think...

 if you could file the issue against the alpha-2 version in jira we'll
 get
 this knocked out for the next release, many thanks :)

 jesse

 On 6/18/07, Madsen,Bryan [EMAIL PROTECTED] wrote:
 
  I have a project that shows in the log that the build completed
after
  approximately 2 minutes, yet Continuum is still showing the project
in
 a
  building state.
 
  I'm not sure if this exception in the continuum.log has anything to
do
  with this issue. It is an exception related to the project that is
  building. Is this a bug and is there a resolution?
 
  2450541 [pool-1-thread-1] INFO
  org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2
-
  Exit code: 0
  2450900 [Thread-6] ERROR
 

org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project
  - Error executing task
  edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
  javax.jdo.JDOFatalUserException: Attempt to store value
  org.codehaus.plexus.taskqueue.execution.TaskExecutionException:
Error
  executing action 'execute-builder'
  at
 

org.apache.maven.continuum.buildcontroller.DefaultBuildController.perfor
  mAction(DefaultBuildController.java:432)
  at
 

org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
  DefaultBuildController.java:145)
  at
 

org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec
  uteTask(BuildProjectTaskExecutor.java:50)
  at
 

org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
  orRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
  at
 

edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter
  .call(Executors.java:442)
  at
 

edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask
  .java:176)
  at
 

edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
  .runTask(ThreadPoolExecutor.java:665)
  at
 

edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
  .run(ThreadPoolExecutor.java:690)
  at java.lang.Thread.run(Thread.java:595)
  Caused by: javax.jdo.JDOFatalUserException: Attempt to store value
  junit.framework.AssertionFailedError: Line does not contain
expected
  text
  ...
 
  at junit.framework.Assert.fail(Assert.java:47)
  at junit.framework.Assert.assertTrue(Assert.java:20)
  at
 

com.cerner.msvc.signatureline.SignatureLineManagerTest.test199535_AllSup
  portedElements(SignatureLineManagerTest.java:440)
   in column EXCEPTIONSTRING that has maximum length of 8192.
Please
  correct your data!
  at
 

org.jpox.store.rdbms.mapping.CharRDBMSMapping.setString(CharRDBMSMapping
  .java:214)
  at
 

org.jpox.store.mapping.SingleFieldMapping.setString(SingleFieldMapping.j
  ava:203)
  at
 

org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(Param
  eterSetter.java:122)
  at
 

org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.jav
  a:2757)
  at
 

org.apache.maven.continuum.model.scm.TestCaseFailure.jdoProvideField(Tes
  tCaseFailure.java)
  at
 

org.apache.maven.continuum.model.scm.TestCaseFailure.jdoProvideFields(Te
  stCaseFailure.java)
  at
 

org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115
  )
  at
 

org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:25
  2)
  at
  org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
  at org.jpox.store.StoreManager.insert(StoreManager.java:920)
  at
 

org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.
  java:3667)
  at
 

org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:364
  6

RE: Build hanging in 1.1-alpha-2

2007-06-18 Thread Morgovsky, Alexander \(US - Glen Mills\)
Does this issue exist in version 1.0.3?  Thanks. 

-Original Message-
From: Jesse McConnell [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 18, 2007 12:03 PM
To: [EMAIL PROTECTED]
Subject: Re: Build hanging in 1.1-alpha-2

oh nice...another place that the results are too big to fit into the
database...

we really need to either switch these things over to clobs or truc the
results going into the databasefirst time I have noticed this issue
on
this table I think...

if you could file the issue against the alpha-2 version in jira we'll
get
this knocked out for the next release, many thanks :)

jesse

On 6/18/07, Madsen,Bryan [EMAIL PROTECTED] wrote:

 I have a project that shows in the log that the build completed after
 approximately 2 minutes, yet Continuum is still showing the project in
a
 building state.

 I'm not sure if this exception in the continuum.log has anything to do
 with this issue. It is an exception related to the project that is
 building. Is this a bug and is there a resolution?

 2450541 [pool-1-thread-1] INFO
 org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  -
 Exit code: 0
 2450900 [Thread-6] ERROR

org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor:build-project
 - Error executing task
 edu.emory.mathcs.backport.java.util.concurrent.ExecutionException:
 javax.jdo.JDOFatalUserException: Attempt to store value
 org.codehaus.plexus.taskqueue.execution.TaskExecutionException: Error
 executing action 'execute-builder'
 at

org.apache.maven.continuum.buildcontroller.DefaultBuildController.perfor
 mAction(DefaultBuildController.java:432)
 at

org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
 DefaultBuildController.java:145)
 at

org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec
 uteTask(BuildProjectTaskExecutor.java:50)
 at

org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
 orRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
 at

edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter
 .call(Executors.java:442)
 at

edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask
 .java:176)
 at

edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
 .runTask(ThreadPoolExecutor.java:665)
 at

edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
 .run(ThreadPoolExecutor.java:690)
 at java.lang.Thread.run(Thread.java:595)
 Caused by: javax.jdo.JDOFatalUserException: Attempt to store value
 junit.framework.AssertionFailedError: Line does not contain expected
 text
 ...

 at junit.framework.Assert.fail(Assert.java:47)
 at junit.framework.Assert.assertTrue(Assert.java:20)
 at

com.cerner.msvc.signatureline.SignatureLineManagerTest.test199535_AllSup
 portedElements(SignatureLineManagerTest.java:440)
  in column EXCEPTIONSTRING that has maximum length of 8192. Please
 correct your data!
 at

org.jpox.store.rdbms.mapping.CharRDBMSMapping.setString(CharRDBMSMapping
 .java:214)
 at

org.jpox.store.mapping.SingleFieldMapping.setString(SingleFieldMapping.j
 ava:203)
 at

org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(Param
 eterSetter.java:122)
 at

org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.jav
 a:2757)
 at

org.apache.maven.continuum.model.scm.TestCaseFailure.jdoProvideField(Tes
 tCaseFailure.java)
 at

org.apache.maven.continuum.model.scm.TestCaseFailure.jdoProvideFields(Te
 stCaseFailure.java)
 at

org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115
 )
 at

org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:25
 2)
 at
 org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
 at org.jpox.store.StoreManager.insert(StoreManager.java:920)
 at

org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.
 java:3667)
 at

org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:364
 6)
 at

org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersi
 stenceManager.java:1198)
 at

org.jpox.AbstractPersistenceManager.makePersistentInternal(AbstractPersi
 stenceManager.java:1243)
 at

org.jpox.store.rdbms.scostore.FKListStore.validateElementForWriting(FKLi
 stStore.java:1231)
 at

org.jpox.store.rdbms.scostore.FKListStore.internalAdd(FKListStore.java:7
 72)
 at

org.jpox.store.rdbms.scostore.AbstractListStore.addAll(AbstractListStore
 .java:386)
 at

org.jpox.store.mapping.CollectionMapping.postInsert(CollectionMapping.ja
 va:209)
 at

org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:46
 4)
 at
 org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
 at org.jpox.store.StoreManager.insert(StoreManager.java:920)
 at


Specifying Profile

2007-06-17 Thread Morgovsky, Alexander \(US - Glen Mills\)
When I try to add a new Maven 2 project using Continuum 1.1-alpha-2, I
am not able to see specify the profile.  I have the version of the
project specified in the profile, and when I try to add this project,
the version in the GUI does not become resolved because the correct
profile was not specified.  I do not have this issue when I have a
single instance of Continuum running since I can set the profile to be
default.  However, when I have multiple profiles on a single machine
with multiple Continuum instances, I would like a way to add the profile
of a project during the time when I am adding the project.  Is this
impossible to do, currently?  If so, are there any known work-arounds
for this situation?  Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Multiple Continuum instances on a single server

2007-06-16 Thread Morgovsky, Alexander (US - Glen Mills)
The closest I went to was the wrapper.conf file in \bin\win32.  In there
I found these settings which I set to specific values.  However, I was
not successful.  Is this feature of installing multiple services on a
single server documented somewhere?  Thank you.

wrapper.ntservice.name=
wrapper.ntservice.displayname=
wrapper.ntservice.description=

-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 16, 2007 12:40 AM
To: continuum-users@maven.apache.org
Subject: Re: Multiple Continuum instances on a single server

dig deeper, you will find it :-)

On 6/15/07, Morgovsky, Alexander (US - Glen Mills)
[EMAIL PROTECTED]
wrote:

 Is it possible to set up multiple Windows services for the multiple
 Continuum instances?  If yes, what file(s) need to be modified so that
 \bin\win32\InstallService.bat runs correctly?  Thank you.

 -Original Message-
 From: Dan Tran [mailto:[EMAIL PROTECTED]
 Sent: Friday, June 15, 2007 4:32 PM
 To: continuum-users@maven.apache.org
 Subject: Re: Multiple Continuum instances on a single server

 and make sure each using its own local repository

 On 6/15/07, McNaught, Duncan [EMAIL PROTECTED] wrote:
 
  You can have multiple continuum instances on a single server, just
  change the port in apps/continuum/conf/application.xml and the paths
 in
  the configuration (you have to start the server to change this)
  (http://ci2:8080/continuum/admin/configuration!input.action)
  We have 5 instances running on one linux box.
  Thanks
  --Duncan
 
  -Original Message-
  From: Morgovsky, Alexander (US - Glen Mills)
  [mailto:[EMAIL PROTECTED]
  Sent: Friday, June 15, 2007 2:01 PM
  To: continuum-users@maven.apache.org
  Subject: Multiple Continuum instances on a single server
 
  Is it possible to have multiple Continuum instances on a single
 server?
  Has this set-up been tested and shown to work correctly?  Thank you.
 
 
  This message (including any attachments) contains confidential
  information intended for a specific individual and purpose, and is
  protected by law.  If you are not the intended recipient, you should
  delete this message.
 
 
  Any disclosure, copying, or distribution of this message, or the
 taking
  of any action based on it, is strictly prohibited. [v.E.1]
 



  1   2   3   >