Continuum | How to setup a Maven project

View: New views
10 Messages — Rating Filter:   Alert me  

Continuum | How to setup a Maven project

by Pawan Preetsingh Gandhi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Everyone,

I have a project with multiple modules

Parent have one pom.xml
And child folder (core) has pom.xml which acts as child module.

I did Ant setup successfully but I am not getting for Maven 2.0 project.
It is mentioned that specify POM URL or upload. I need to know that what
are these options.

I have my project repo as SVN, so is POM URL as SVN repo URL or some
local copy of pom.xml. Please explain so that I can setup the project
easily.

Thanks
Pawanpreet Singh



Re: Continuum | How to setup a Maven project

by Emmanuel Venisse-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can't upload actually a multi-module project.
In your case, you must use the URL field. Allowed protocols are http(s) and
ftp. You can use file protocol too if you configure it in
WEB-INF/classes/META-INF/plexus/application.xml, a Continuum restart is
required.

Emmanuel

On Mon, Jul 7, 2008 at 1:43 PM, Pawan Preetsingh Gandhi <
pgandhi3@...> wrote:

>
> Hi Everyone,
>
> I have a project with multiple modules
>
> Parent have one pom.xml
> And child folder (core) has pom.xml which acts as child module.
>
> I did Ant setup successfully but I am not getting for Maven 2.0 project.
> It is mentioned that specify POM URL or upload. I need to know that what
> are these options.
>
> I have my project repo as SVN, so is POM URL as SVN repo URL or some
> local copy of pom.xml. Please explain so that I can setup the project
> easily.
>
> Thanks
> Pawanpreet Singh
>
>
>

RE: Continuum | How to setup a Maven project

by Pawan Preetsingh Gandhi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Emmanuel,

My pom.xml is in svn repo. Under

https://scm1.del.rs.abs.com/svn/repo/trunk/javapractice/pom.xml

When I use it by providing user/password, I get error

jvm 1    | 2008-07-08 08:36:34,629 [SocketListener0-0] INFO
org.apache.maven.continuum.project.builder.ContinuumProject
Builder:maven-two-builder  - Downloading
https://scm1.del.rs.sapient.com/svn/repos/javapractice/javapractice/trun
k/Devel
opment/Code/Continuous_Integration/Continuum-Cobertura-JUnit/pom.xml
jvm 1    | 2008-07-08 08:36:39,145 [SocketListener0-0] ERROR
org.apache.maven.continuum.execution.maven.m2.MavenBuilderH
elper:default  - Missing 'connection' element in the 'scm' element in
the Coverage POM.


Please let me know will it be some SVN url.

-Pawan



-----Original Message-----
From: Emmanuel Venisse [mailto:emmanuel.venisse@...]
Sent: Monday, July 07, 2008 8:27 PM
To: users@...
Subject: Re: Continuum | How to setup a Maven project

You can't upload actually a multi-module project.
In your case, you must use the URL field. Allowed protocols are http(s)
and
ftp. You can use file protocol too if you configure it in
WEB-INF/classes/META-INF/plexus/application.xml, a Continuum restart is
required.

Emmanuel

On Mon, Jul 7, 2008 at 1:43 PM, Pawan Preetsingh Gandhi <
pgandhi3@...> wrote:

>
> Hi Everyone,
>
> I have a project with multiple modules
>
> Parent have one pom.xml
> And child folder (core) has pom.xml which acts as child module.
>
> I did Ant setup successfully but I am not getting for Maven 2.0
project.
> It is mentioned that specify POM URL or upload. I need to know that
what

> are these options.
>
> I have my project repo as SVN, so is POM URL as SVN repo URL or some
> local copy of pom.xml. Please explain so that I can setup the project
> easily.
>
> Thanks
> Pawanpreet Singh
>
>
>

Cofigure Gmail as SMTP server

by Pawan Preetsingh Gandhi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi All,

According to
http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+FAQ

Q. How do I configure Continuum to use GMail as the SMTP server?


I have mentioned same as it is written there.

        <!-- START SNIPPET: mail -->
          <!--
               Mail Session
          -->
          <resource>
            <name>mail/Session</name>
            <type>javax.mail.Session</type>
            <properties>
              <property>
                <name>mail.smtp.host</name>
                <value>smtp.gmail.com</value>
              </property>
              <property>
                <name>mail.smtp.port</name>
                <value>465</value>
              </property>

   
              <property>
                <name>mail.smtp.auth</name>
                <value>true</value>
              </property>
              <property>
                <name>mail.smtp.user</name>
                <value>pawanpreeteng@...</value>
              </property>
              <property>
                <name>password</name>
                <value>*************</value>
              </property>
              <property>
                <name>mail.smtp.debug</name>
                <value>true</value>
              </property>
              <property>
                <name>mail.smtp.starttls.enable</name>
                <value>true</value>
              </property>
              <property>
                <name>mail.smtp.socketFactory.class</name>
                <value>javax.net.ssl.SSLSocketFactory</value>
              </property>
            </properties>
          </resource>



 Still I am not getting this error.

jvm 1    | 2008-07-08 09:23:30,833 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:de
fault  - Performing action deploy-artifact
jvm 1    | 2008-07-08 09:23:30,864 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Sa
me state, not sending message.


-Pawan

RE: Cofigure Gmail as SMTP server

by Andrew Och :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Pawan

I didn't know that GMail offers smtp gateway services other then to GMail web interface itself. Generally your ISP offers you an SMTP gateway and the SMTP port is 25.

Where did you find information about GMail SMTP services:
smtp.gmail.com port 465

Best regards
Andrew Och

-----Original Message-----
From: Pawan Preetsingh Gandhi [mailto:pgandhi3@...]
Sent: Tuesday, July 08, 2008 11:57 AM
To: users@...
Subject: Cofigure Gmail as SMTP server


Hi All,

According to
http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+FAQ

Q. How do I configure Continuum to use GMail as the SMTP server?


I have mentioned same as it is written there.

        <!-- START SNIPPET: mail -->
          <!--
               Mail Session
          -->
          <resource>
            <name>mail/Session</name>
            <type>javax.mail.Session</type>
            <properties>
              <property>
                <name>mail.smtp.host</name>
                <value>smtp.gmail.com</value>
              </property>
              <property>
                <name>mail.smtp.port</name>
                <value>465</value>
              </property>


              <property>
                <name>mail.smtp.auth</name>
                <value>true</value>
              </property>
              <property>
                <name>mail.smtp.user</name>
                <value>pawanpreeteng@...</value>
              </property>
              <property>
                <name>password</name>
                <value>*************</value>
              </property>
              <property>
                <name>mail.smtp.debug</name>
                <value>true</value>
              </property>
              <property>
                <name>mail.smtp.starttls.enable</name>
                <value>true</value>
              </property>
              <property>
                <name>mail.smtp.socketFactory.class</name>
                <value>javax.net.ssl.SSLSocketFactory</value>
              </property>
            </properties>
          </resource>



 Still I am not getting this error.

jvm 1    | 2008-07-08 09:23:30,833 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:de
fault  - Performing action deploy-artifact
jvm 1    | 2008-07-08 09:23:30,864 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Sa me state, not sending message.


-Pawan

RE: Cofigure Gmail as SMTP server

by Pawan Preetsingh Gandhi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



From http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+FAQ 

-----Original Message-----
From: Och, Andrew Daniel (TSG-GDCC-SH) [mailto:andrew.och@...]
Sent: Tuesday, July 08, 2008 11:15 AM
To: users@...
Subject: RE: Cofigure Gmail as SMTP server

Dear Pawan

I didn't know that GMail offers smtp gateway services other then to
GMail web interface itself. Generally your ISP offers you an SMTP
gateway and the SMTP port is 25.

Where did you find information about GMail SMTP services:
smtp.gmail.com port 465

Best regards
Andrew Och

-----Original Message-----
From: Pawan Preetsingh Gandhi [mailto:pgandhi3@...]
Sent: Tuesday, July 08, 2008 11:57 AM
To: users@...
Subject: Cofigure Gmail as SMTP server


Hi All,

According to
http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+FAQ

Q. How do I configure Continuum to use GMail as the SMTP server?


I have mentioned same as it is written there.

        <!-- START SNIPPET: mail -->
          <!--
               Mail Session
          -->
          <resource>
            <name>mail/Session</name>
            <type>javax.mail.Session</type>
            <properties>
              <property>
                <name>mail.smtp.host</name>
                <value>smtp.gmail.com</value>
              </property>
              <property>
                <name>mail.smtp.port</name>
                <value>465</value>
              </property>


              <property>
                <name>mail.smtp.auth</name>
                <value>true</value>
              </property>
              <property>
                <name>mail.smtp.user</name>
                <value>pawanpreeteng@...</value>
              </property>
              <property>
                <name>password</name>
                <value>*************</value>
              </property>
              <property>
                <name>mail.smtp.debug</name>
                <value>true</value>
              </property>
              <property>
                <name>mail.smtp.starttls.enable</name>
                <value>true</value>
              </property>
              <property>
                <name>mail.smtp.socketFactory.class</name>
                <value>javax.net.ssl.SSLSocketFactory</value>
              </property>
            </properties>
          </resource>



 Still I am not getting this error.

jvm 1    | 2008-07-08 09:23:30,833 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:de
fault  - Performing action deploy-artifact
jvm 1    | 2008-07-08 09:23:30,864 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Sa me state,
not sending message.


-Pawan

Continuum | Coverage tool integration

by Pawan Preetsingh Gandhi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Hi All,

Could any body let me know how to do integration of Continuum with
Cobertura or Clover for getting report generation.


-Pawan

Re: Cofigure Gmail as SMTP server

by Emmanuel Venisse-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

All informations are in this page :
http://mail.google.com/support/bin/answer.py?hl=en&answer=13287

Emmanuel

On Tue, Jul 8, 2008 at 7:49 AM, Pawan Preetsingh Gandhi <
pgandhi3@...> wrote:

>
>
> From http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+FAQ
>
> -----Original Message-----
> From: Och, Andrew Daniel (TSG-GDCC-SH) [mailto:andrew.och@...]
> Sent: Tuesday, July 08, 2008 11:15 AM
> To: users@...
> Subject: RE: Cofigure Gmail as SMTP server
>
> Dear Pawan
>
> I didn't know that GMail offers smtp gateway services other then to
> GMail web interface itself. Generally your ISP offers you an SMTP
> gateway and the SMTP port is 25.
>
> Where did you find information about GMail SMTP services:
> smtp.gmail.com port 465
>
> Best regards
> Andrew Och
>
> -----Original Message-----
> From: Pawan Preetsingh Gandhi [mailto:pgandhi3@...]
> Sent: Tuesday, July 08, 2008 11:57 AM
> To: users@...
> Subject: Cofigure Gmail as SMTP server
>
>
> Hi All,
>
> According to
> http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+FAQ
>
> Q. How do I configure Continuum to use GMail as the SMTP server?
>
>
> I have mentioned same as it is written there.
>
>        <!-- START SNIPPET: mail -->
>          <!--
>               Mail Session
>          -->
>          <resource>
>            <name>mail/Session</name>
>            <type>javax.mail.Session</type>
>            <properties>
>              <property>
>                <name>mail.smtp.host</name>
>                <value>smtp.gmail.com</value>
>              </property>
>              <property>
>                <name>mail.smtp.port</name>
>                <value>465</value>
>              </property>
>
>
>              <property>
>                <name>mail.smtp.auth</name>
>                <value>true</value>
>              </property>
>              <property>
>                <name>mail.smtp.user</name>
>                <value>pawanpreeteng@...</value>
>              </property>
>              <property>
>                <name>password</name>
>                <value>*************</value>
>              </property>
>              <property>
>                <name>mail.smtp.debug</name>
>                <value>true</value>
>              </property>
>              <property>
>                <name>mail.smtp.starttls.enable</name>
>                <value>true</value>
>              </property>
>              <property>
>                <name>mail.smtp.socketFactory.class</name>
>                <value>javax.net.ssl.SSLSocketFactory</value>
>              </property>
>            </properties>
>          </resource>
>
>
>
>  Still I am not getting this error.
>
> jvm 1    | 2008-07-08 09:23:30,833 [pool-1-thread-1] INFO
> org.apache.maven.continuum.buildcontroller.BuildController:de
> fault  - Performing action deploy-artifact
> jvm 1    | 2008-07-08 09:23:30,864 [pool-1-thread-1] INFO
> org.codehaus.plexus.notification.notifier.Notifier:mail  - Sa me state,
> not sending message.
>
>
> -Pawan
>

Re: Continuum | Coverage tool integration

by Emmanuel Venisse-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We don't have a plugin for the moment to print the result in Continuum pages
but you can generate a site with maven and deploy it on a web server.

Emmanuel

On Tue, Jul 8, 2008 at 9:02 AM, Pawan Preetsingh Gandhi <
pgandhi3@...> wrote:

>
>
> Hi All,
>
> Could any body let me know how to do integration of Continuum with
> Cobertura or Clover for getting report generation.
>
>
> -Pawan
>

Re: Continuum | How to setup a Maven project

by Emmanuel Venisse-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 8, 2008 at 5:11 AM, Pawan Preetsingh Gandhi <
pgandhi3@...> wrote:

>
> Hi Emmanuel,
>
> My pom.xml is in svn repo. Under
>
> https://scm1.del.rs.abs.com/svn/repo/trunk/javapractice/pom.xml
>
> When I use it by providing user/password, I get error
>
> jvm 1    | 2008-07-08 08:36:34,629 [SocketListener0-0] INFO
> org.apache.maven.continuum.project.builder.ContinuumProject
> Builder:maven-two-builder  - Downloading
> https://scm1.del.rs.sapient.com/svn/repos/javapractice/javapractice/trun
> k/Devel
> opment/Code/Continuous_Integration/Continuum-Cobertura-JUnit/pom.xml<https://scm1.del.rs.sapient.com/svn/repos/javapractice/javapractice/trunk/Development/Code/Continuous_Integration/Continuum-Cobertura-JUnit/pom.xml>
> jvm 1    | 2008-07-08 08:36:39,145 [SocketListener0-0] ERROR
> org.apache.maven.continuum.execution.maven.m2.MavenBuilderH
> elper:default  - Missing 'connection' element in the 'scm' element in
> the Coverage POM.


As it is explain in the logs, you must add scm informations in your POM like
this:

<scm>
  <connection>scm:svn:
https://scm1.del.rs.sapient.com/svn/repos/javapractice/javapractice/trunk/Development/Code/Continuous_Integration/Continuum-Cobertura-JUnit/<https://scm1.del.rs.sapient.com/svn/repos/javapractice/javapractice/trunk/Development/Code/Continuous_Integration/Continuum-Cobertura-JUnit/pom.xml>
</connection>
  <developerConnection>scm:svn:
https://scm1.del.rs.sapient.com/svn/repos/javapractice/javapractice/trunk/Development/Code/Continuous_Integration/Continuum-Cobertura-JUnit/<https://scm1.del.rs.sapient.com/svn/repos/javapractice/javapractice/trunk/Development/Code/Continuous_Integration/Continuum-Cobertura-JUnit/pom.xml>
</developerConnection>
</scm>

Continuum use it to know how to checkout your sources.

Emmanuel


>
>
>
> Please let me know will it be some SVN url.
>
> -Pawan
>
>
>
> -----Original Message-----
> From: Emmanuel Venisse [mailto:emmanuel.venisse@...]
> Sent: Monday, July 07, 2008 8:27 PM
> To: users@...
> Subject: Re: Continuum | How to setup a Maven project
>
> You can't upload actually a multi-module project.
> In your case, you must use the URL field. Allowed protocols are http(s)
> and
> ftp. You can use file protocol too if you configure it in
> WEB-INF/classes/META-INF/plexus/application.xml, a Continuum restart is
> required.
>
> Emmanuel
>
> On Mon, Jul 7, 2008 at 1:43 PM, Pawan Preetsingh Gandhi <
> pgandhi3@...> wrote:
>
> >
> > Hi Everyone,
> >
> > I have a project with multiple modules
> >
> > Parent have one pom.xml
> > And child folder (core) has pom.xml which acts as child module.
> >
> > I did Ant setup successfully but I am not getting for Maven 2.0
> project.
> > It is mentioned that specify POM URL or upload. I need to know that
> what
> > are these options.
> >
> > I have my project repo as SVN, so is POM URL as SVN repo URL or some
> > local copy of pom.xml. Please explain so that I can setup the project
> > easily.
> >
> > Thanks
> > Pawanpreet Singh
> >
> >
> >
>
LightInTheBox - Buy quality products at wholesale price