AW: Integration testing best practices

2009-04-09 Thread Rouvinez, Jean-Claude
Hi,

We use the solution 3 suggested under 
http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing?focusedCommentId=114787113#comment-114787113
 and it works for us.
This article is not so old (Jan 09).

Best Regards
Jean-Claude

-Ursprüngliche Nachricht-
Von: Jason Voegele [mailto:ja...@jvoegele.com] 
Gesendet: Mittwoch, 8. April 2009 19:23
An: users@maven.apache.org
Betreff: Integration testing best practices

I'm interested in knowing the current thinking on best practices for 
integration testing in Maven projects.  I did find a few articles on the Web 
that discuss this issue, but they all are a bit old now.  The most relevant 
article appears to be this one:

http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing

Maven: The Definitive Guide is curiously silent on this issue.

Can anyone point me to some up-to-date discussion of integration testing best 
practices for Maven?  Failing that, would you care to share your thoughts on 
this mailing list?

Thanks.

-- 
Jason Voegele
The Gordian Maxim:
If a string has one end, it has another.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



AW: AW: Integration testing best practices

2009-04-09 Thread Rouvinez, Jean-Claude
Hi,

Maybe this link will help you:
http://www.coderanch.com/t/132916/General-Computing/Best-Developer-Tools-Combination
(take a look at the messages posted on the 3rd march 2009 and on the 4th march 
2009)

Best Regards
Jean-Claude

-Ursprüngliche Nachricht-
Von: Adam Hardy [mailto:adam.ma...@cyberspaceroad.com] 
Gesendet: Donnerstag, 9. April 2009 11:41
An: Maven Users List
Betreff: Re: AW: Integration testing best practices

I use (3) as well.

I haven't got many integration tests - I just do it to make sure it works. But 
I'd be interested to find out what kind of metrics and reports people use when 
doing intensive integration testing.


Rouvinez, Jean-Claude on 09/04/09 07:42, wrote:
 Hi,
 
 We use the solution 3 suggested under 
 http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing?focusedCommentId=114787113#comment-114787113
  and it works for us.
 This article is not so old (Jan 09).
 
 Best Regards
 Jean-Claude
 
 -Ursprüngliche Nachricht-
 Von: Jason Voegele [mailto:ja...@jvoegele.com] 
 Gesendet: Mittwoch, 8. April 2009 19:23
 An: users@maven.apache.org
 Betreff: Integration testing best practices
 
 I'm interested in knowing the current thinking on best practices for 
 integration testing in Maven projects.  I did find a few articles on the Web 
 that discuss this issue, but they all are a bit old now.  The most relevant 
 article appears to be this one:
 
 http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing
 
 Maven: The Definitive Guide is curiously silent on this issue.
 
 Can anyone point me to some up-to-date discussion of integration testing best 
 practices for Maven?  Failing that, would you care to share your thoughts on 
 this mailing list?


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Maven Wagon Plugin - Documentation

2008-12-24 Thread Rouvinez, Jean-Claude
Hi,

I want to use the Maven Wagon Plugin (http://maven.apache.org/wagon/) to
transfer files to a remote host but didn't find any useful documentation
with examples or usage.
Does anyone know any useful links to this plugin?

Thank You for Your Help.

Best Regards
Jean-Claude

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Maven and JBoss

2008-12-17 Thread Rouvinez, Jean-Claude
Hi,

I want to do the following:
 - Start a Jboss 5 App Server located on a remote server.
 - Stop a Jboss 5 App Server located on a remote server.
 - Deploy artifacts on a Jboss 5 App Server on a remote server.
 - Deploy artifacts on a locally installed Jboss 5 App Server.

I had a look at:
 - http://cargo.codehaus.org/Home
 - http://mojo.codehaus.org/jboss-maven-plugin/

Cargo:
I didn't find out how to start/stop a remote server. It only starts a
local instance of Jboss.

Jboss Maven Plugin:
I didn't find out how to start/stop a remote Jboss 5 App Server
I didn't find out how to start/stop a locally installed Jboss 5 App
Server

The documentation concerning Cargo and the Jboss Maven Plugin is not
very helpful...

Does anybody have the same problems? How did you solve them?
Does anybody know helpful links?

Any help is very appreciated

Best Regards
J.-Claude

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



AW: Is Maven / JUnit 4.x broken (annotations)

2008-12-10 Thread Rouvinez, Jean-Claude
Hi,

I tested it this way:
Configuration:
  Maven version: 2.0.9
  Java version: 1.5.0_09
  OS name: windows xp version: 5.1 arch: x86 Family: windows

  1). I renamed my test class from ServiceTest to ServiceXxx
  I run
   mvn clean install
  == The file was ignored

  2). I renamed my test class from ServiceXxx to ServiceTest
  All test methods in the file have the form:
@Test
public void noNameGetPersonByNameNoPerson() throws Exception
  I run
   mvn clean install
  == All tests were executed

== The test file must be named according to 

http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#includes

== The test methods don't have to follow any convention. 
Only the annotation @Test is necessary.

Best Regards.
Jean-Claude

-Ursprüngliche Nachricht-
Von: Anders Hammar [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 10. Dezember 2008 14:06
An: users@maven.apache.org
Betreff: Re: Is Maven / JUnit 4.x broken (annotations)


Or *Test.java, or *TestCase.java. That's the names surefire is configured
for by default.
(http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#includes)
I would suggest trying it in Eclipse first. If it works there, then there is
some configuration issue for Maven.

/Anders


Josh Suereth wrote:
 
 I believe the name of  the class still matters.  Try calling it
 Test*.java
 
 On Wed, Dec 10, 2008 at 12:16 AM, CheapLisa [EMAIL PROTECTED] wrote:
 

 I have JUnit 4.5 as a dependency in my maven pom
 and I have imported annotations into my test case but
 it is not recognizing the @Test and @Ignore annotations.

 I still have to preface the method name with test
 and the @Ignore tests get executed.

 Is something broken?  What do I need to do to get this
 to work like expected and to take advantage of JUnit 4.x
 which has over a year of release now.


 thanks

 Lisa
 --
 View this message in context:
 http://www.nabble.com/Is-Maven---JUnit-4.x-broken-%28annotations%29-tp20929389p20929389.html
 Sent from the Maven - Users mailing list archive at Nabble.com.


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


 
 

-- 
View this message in context: 
http://www.nabble.com/Is-Maven---JUnit-4.x-broken-%28annotations%29-tp20929389p20934997.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


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



AW: Nexus Publish Indexes

2008-12-04 Thread Rouvinez, Jean-Claude
Hi,

An issue has been opened concerning the update of the index on the fly:
https://issues.sonatype.org/browse/NEXUS-997

Best Regards
Jean-Claude 

-Ursprüngliche Nachricht-
Von: Brian E. Fox [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 4. Dezember 2008 16:41
An: Maven Users List
Betreff: RE: Nexus Publish Indexes



BTW. Is it possible to do this without using the scheduler?  Wouldn't
it
make sense to have a create index option when you right click on a
group so the user can do it manually? 

The group index is created automatically when there's a group made and
any reindex on the group will also update it, but it will also reindex
all the repos in the group. This is why we separated the publish step
from a full reindex. Since the index is created automatically, there's
no need for a create index option.

The other thing I would like to ask about is this comment:

The internal indexes are always updated in realtime...

Do you mean the Nexus hosted drepository indexes? If so, I have not
observed this behaviour. For instance, if I deploy an artifact to my
Nexus repository, it does not automatically update the index.  I have
always had to re-index it manually.  Thats actually why I started to
look at the scheduler to see if I could at least semi-automate it.

I mean the indexes that Nexus uses internally. If you deploy something
and then go to the Nexus UI and search for it, it should be there
immediately with no further action. If you're pulling the index into
m2e, then the publish needs to occur for the previously mentioned
reasons. If you see that it is not indexed immediately and visible from
the UI, check that the user you are logged in to the UI has permissions
to the repo where it exists (the search results are filtered based on
permissions). If you still have problems, then lets discuss more
debugging on the Nexus User list.

--Brian

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


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



Issue MRELEASE-128

2008-11-20 Thread Rouvinez, Jean-Claude
Hi,

Does anybody know when this problem will be corrected?
  Issue MRELEASE-128
  http://jira.codehaus.org/browse/MRELEASE-128

Does anybody know a good workaround? I haven't found any useable one
until now.

Thank you for your help.

Best Regards
Jean-Claude

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