You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "Sharma, Jaikumar" <ja...@barco.com> on 2006/04/18 11:41:39 UTC

RE: Maven a Developer's notebook : Upgraded to M2 is available so mewh ere online ?

Thanks Timo.
BR.
Jaikumar

-----Original Message-----
From: Timo Westkämper [mailto:timo.westkamper@pp.inet.fi] 
Sent: Tuesday, April 18, 2006 2:15 PM
To: Maven Users List
Subject: Re: Maven a Developer's notebook : Upgraded to M2 is available
somewh ere online ?


Hello.


I have just started reading "Better Builds with Maven" which was written 
for Maven 2.


You can get it for free from

http://www.mergere.com/products.jsp

Br,
Timo Westkämper.

> Took a book on Maven -- Maven Developer's Notebook - just to get 
> started and to be comfortable using it, but found that examples in it 
> ------- not working, because it is intended to be used with Maven 1.x. 
> While Maven 2 is complete re-write of version 1.x.
>  
> Who has this book : can note the following :
>  
>     maven genapp   
>    
>         -- does not work any more in M2.
>  
> Any online e-copy of this book, which is upgraded to M2; available 
> somewhere ?
>  
> Regards, Jaikumar
>  
> - - - - - - - DISCLAIMER- - - - - - - -
> Unless indicated otherwise, the information contained in this message 
> is privileged and confidential, and is intended only for the use of 
> the
> addressee(s) named above and others who have been specifically authorized
to
> receive it. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution or copying of this message and/or
> attachments is strictly prohibited. The company accepts no liability for
any
> damage caused by any virus transmitted by this email. Furthermore, the
> company does not warrant a proper and complete transmission of this
> information, nor does it accept liability for any delays. If you have
> received this message in error, please contact the sender and delete the
> message. Thank you.
>
>   


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

- - - - - - - DISCLAIMER- - - - - - - -
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liablility for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.

RE: Help me about changes plugin

Posted by Vijay Shanker <vs...@comframe.com>.
Hi Lee,
 
Thanks a lot. It is great help to me, I will try to use changelog plugin as per your suggestion and let you know shortly. I think if changes plugin works as you explained then that is what we are looking for.
 
Thanks again.
 
Vijay
 
 
 
From: leemeador76018@gmail.com on behalf of Lee Meador
Sent: Tue 4/18/2006 11:25 AM
To: Maven Users List
Subject: Re: Help me about changes plugin



Put this in your pom.xml to add a report showing what has changed in the
version control during the last 30 days. There are some config settings you
can add that change just what is shown in the report.

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>changelog-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </reporting>

When you do a mvn site, it will generate the reports as html and put them
under the 'target' folder.

You also have to be sure and set the <scm> section in your pom so it knows
how to talk to the version control:

 <scm>
 <connection>scm:svn:svn://subversion.company.com/project/trunk/base/</connection>
 <developerConnection>scm:svn:svn://subversion.company.com/project/trunk/base/</developerConnection>
 <url></url>
 </scm>

You can find the right connection url by going to a blank working folder and
doing this from command line:

mvn scm:checkout -DconnectionUrl="scm:svn:svn://sub..."

with the same thing as is in the <connection> tag. When it checks out your
project, you have it right.

There used to be some info at http://mojo.codehaus.org/*changelog*-*maven*-*
plugin*/howto.html<http://mojo.codehaus.org/changelog-maven-plugin/howto.html>
but it seems to point back to
http://maven.apache.org/plugins/maven-changelog-plugin now and that doesn't
have anything there.

I think the 'changes' plugin is used to generate a page for the site showing
what has changed between version 1.1 and 1.2 for example. I'm not really
sure.

-- Lee Meador

On 4/18/06, Vijay Shanker <vs...@comframe.com> wrote:
>
> As per requirement, I have to prepares reports about changes in files
> between current version and previous version of files so could any body
> suggest me the approach for achieving this goal.
>
> I got to know from maven website that there are two plugins neams as
> "changes" and "changelog" but when I click on those, I get page not found
> problem.
>
> Looking for the help.
>
> Thanks in advance.
>
> Vijay
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
-- Lee Meador
Sent from gmail. My real email address is lee@leemeador.com




Re: Help me about changes plugin

Posted by Lee Meador <le...@leemeador.com>.
Its funny, the changelog only seems to care about "sources" and changes to
things like pom.xml and other files that are not considered source cause
that message.

On 5/2/06, Gautham Pamu <ga...@gmail.com> wrote:
>
> Hi Lee,
>
> I tried to generate the changelog report. I have the scm defined in my pom
> but it says.. no sources found to create a report.
>
> No sources found to create a report.
>
>              <plugin>
>                <groupId>org.codehaus.mojo</groupId>
>                <artifactId>changelog-maven-plugin</artifactId>
>            </plugin>
>
>
> Thanks
> Gautham Pamu
>
> /18/06, Vijay Shanker <vs...@comframe.com> wrote:
> >
> > I have my cvs repository in C:/viewcvsinstall/CVSROOT and it has test1
> > directory for my projects. I have defined following <scm> tag in my
> > project's pom.xml but I get invalid scm tag error.
> >
> >   <scm>
> >
> >
> <connection>scm:cvs|local|C:/viewcvsinstall/CVSROOT|test1/Project1</connection>
> >
> >
> <developerConnection>scm:cvs|local|C:/viewcvsinstall/CVSROOT|Project1/${artifactId}</developerConnection>
> >   </scm>
> >
> > While if I do checkout with following(at command prompt) then it works
> > fine. We can see URL is same.
> >
> > mvn scm:checkout
> > -DconnectionUrl="scm:cvs|local|C:/viewcvsinstall/CVSROOT|test1/Project1"
> >
> > Please suggest the solution.
> >
> > Thanks,
> > Vijay
> >
> >
> > From: leemeador76018@gmail.com on behalf of Lee Meador
> > Sent: Tue 4/18/2006 11:25 AM
> > To: Maven Users List
> > Subject: Re: Help me about changes plugin
> >
> >
> >
> > Put this in your pom.xml to add a report showing what has changed in the
> > version control during the last 30 days. There are some config settings
> > you
> > can add that change just what is shown in the report.
> >
> >     <reporting>
> >         <plugins>
> >             <plugin>
> >                 <groupId>org.codehaus.mojo</groupId>
> >                 <artifactId>changelog-maven-plugin</artifactId>
> >             </plugin>
> >         </plugins>
> >     </reporting>
> >
> > When you do a mvn site, it will generate the reports as html and put
> them
> > under the 'target' folder.
> >
> > You also have to be sure and set the <scm> section in your pom so it
> knows
> > how to talk to the version control:
> >
> > <scm>
> >
> >
> <connection>scm:svn:svn://subversion.company.com/project/trunk/base/</connection>
> >
> >
> <developerConnection>scm:svn:svn://subversion.company.com/project/trunk/base/</developerConnection>
> > <url></url>
> > </scm>
> >
> > You can find the right connection url by going to a blank working folder
> > and
> > doing this from command line:
> >
> > mvn scm:checkout -DconnectionUrl="scm:svn:svn://sub..."
> >
> > with the same thing as is in the <connection> tag. When it checks out
> your
> > project, you have it right.
> >
> > There used to be some info at
> > http://mojo.codehaus.org/*changelog*-*maven*-*
> > plugin*/howto.html<
> > http://mojo.codehaus.org/changelog-maven-plugin/howto.html>
> > but it seems to point back to
> > http://maven.apache.org/plugins/maven-changelog-plugin now and that
> > doesn't
> > have anything there.
> >
> > I think the 'changes' plugin is used to generate a page for the site
> > showing
> > what has changed between version 1.1 and 1.2 for example. I'm not really
> > sure.
> >
> > -- Lee Meador
> >
> > On 4/18/06, Vijay Shanker <vs...@comframe.com> wrote:
> > >
> > > As per requirement, I have to prepares reports about changes in files
> > > between current version and previous version of files so could any
> body
> > > suggest me the approach for achieving this goal.
> > >
> > > I got to know from maven website that there are two plugins neams as
> > > "changes" and "changelog" but when I click on those, I get page not
> > found
> > > problem.
> > >
> > > Looking for the help.
> > >
> > > Thanks in advance.
> > >
> > > Vijay
> > >
> > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > -- Lee Meador
> > Sent from gmail. My real email address is lee@leemeador.com
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> -Gautham Pamu
>
>


--
-- Lee Meador
Sent from gmail. My real email address is lee@leemeador.com

Re: Help me about changes plugin

Posted by Gautham Pamu <ga...@gmail.com>.
Hi Lee,

I tried to generate the changelog report. I have the scm defined in my pom
but it says.. no sources found to create a report.

No sources found to create a report.

             <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>changelog-maven-plugin</artifactId>
           </plugin>


Thanks
Gautham Pamu

/18/06, Vijay Shanker <vs...@comframe.com> wrote:
>
> I have my cvs repository in C:/viewcvsinstall/CVSROOT and it has test1
> directory for my projects. I have defined following <scm> tag in my
> project's pom.xml but I get invalid scm tag error.
>
>   <scm>
>
>     <connection>scm:cvs|local|C:/viewcvsinstall/CVSROOT|test1/Project1</connection>
>
>     <developerConnection>scm:cvs|local|C:/viewcvsinstall/CVSROOT|Project1/${artifactId}</developerConnection>
>   </scm>
>
> While if I do checkout with following(at command prompt) then it works
> fine. We can see URL is same.
>
> mvn scm:checkout
> -DconnectionUrl="scm:cvs|local|C:/viewcvsinstall/CVSROOT|test1/Project1"
>
> Please suggest the solution.
>
> Thanks,
> Vijay
>
>
> From: leemeador76018@gmail.com on behalf of Lee Meador
> Sent: Tue 4/18/2006 11:25 AM
> To: Maven Users List
> Subject: Re: Help me about changes plugin
>
>
>
> Put this in your pom.xml to add a report showing what has changed in the
> version control during the last 30 days. There are some config settings
> you
> can add that change just what is shown in the report.
>
>     <reporting>
>         <plugins>
>             <plugin>
>                 <groupId>org.codehaus.mojo</groupId>
>                 <artifactId>changelog-maven-plugin</artifactId>
>             </plugin>
>         </plugins>
>     </reporting>
>
> When you do a mvn site, it will generate the reports as html and put them
> under the 'target' folder.
>
> You also have to be sure and set the <scm> section in your pom so it knows
> how to talk to the version control:
>
> <scm>
>
> <connection>scm:svn:svn://subversion.company.com/project/trunk/base/</connection>
>
> <developerConnection>scm:svn:svn://subversion.company.com/project/trunk/base/</developerConnection>
> <url></url>
> </scm>
>
> You can find the right connection url by going to a blank working folder
> and
> doing this from command line:
>
> mvn scm:checkout -DconnectionUrl="scm:svn:svn://sub..."
>
> with the same thing as is in the <connection> tag. When it checks out your
> project, you have it right.
>
> There used to be some info at
> http://mojo.codehaus.org/*changelog*-*maven*-*
> plugin*/howto.html<
> http://mojo.codehaus.org/changelog-maven-plugin/howto.html>
> but it seems to point back to
> http://maven.apache.org/plugins/maven-changelog-plugin now and that
> doesn't
> have anything there.
>
> I think the 'changes' plugin is used to generate a page for the site
> showing
> what has changed between version 1.1 and 1.2 for example. I'm not really
> sure.
>
> -- Lee Meador
>
> On 4/18/06, Vijay Shanker <vs...@comframe.com> wrote:
> >
> > As per requirement, I have to prepares reports about changes in files
> > between current version and previous version of files so could any body
> > suggest me the approach for achieving this goal.
> >
> > I got to know from maven website that there are two plugins neams as
> > "changes" and "changelog" but when I click on those, I get page not
> found
> > problem.
> >
> > Looking for the help.
> >
> > Thanks in advance.
> >
> > Vijay
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
> -- Lee Meador
> Sent from gmail. My real email address is lee@leemeador.com
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
-Gautham Pamu

RE: Help me about changes plugin

Posted by Vijay Shanker <vs...@comframe.com>.
I have my cvs repository in C:/viewcvsinstall/CVSROOT and it has test1 directory for my projects. I have defined following <scm> tag in my project's pom.xml but I get invalid scm tag error.
 
  <scm>
    <connection>scm:cvs|local|C:/viewcvsinstall/CVSROOT|test1/Project1</connection>
    <developerConnection>scm:cvs|local|C:/viewcvsinstall/CVSROOT|Project1/${artifactId}</developerConnection>
  </scm>
 
While if I do checkout with following(at command prompt) then it works fine. We can see URL is same.
 
mvn scm:checkout -DconnectionUrl="scm:cvs|local|C:/viewcvsinstall/CVSROOT|test1/Project1"
 
Please suggest the solution.
 
Thanks,
Vijay
 
 
From: leemeador76018@gmail.com on behalf of Lee Meador
Sent: Tue 4/18/2006 11:25 AM
To: Maven Users List
Subject: Re: Help me about changes plugin



Put this in your pom.xml to add a report showing what has changed in the
version control during the last 30 days. There are some config settings you
can add that change just what is shown in the report.

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>changelog-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </reporting>

When you do a mvn site, it will generate the reports as html and put them
under the 'target' folder.

You also have to be sure and set the <scm> section in your pom so it knows
how to talk to the version control:

 <scm>
 <connection>scm:svn:svn://subversion.company.com/project/trunk/base/</connection>
 <developerConnection>scm:svn:svn://subversion.company.com/project/trunk/base/</developerConnection>
 <url></url>
 </scm>

You can find the right connection url by going to a blank working folder and
doing this from command line:

mvn scm:checkout -DconnectionUrl="scm:svn:svn://sub..."

with the same thing as is in the <connection> tag. When it checks out your
project, you have it right.

There used to be some info at http://mojo.codehaus.org/*changelog*-*maven*-*
plugin*/howto.html<http://mojo.codehaus.org/changelog-maven-plugin/howto.html>
but it seems to point back to
http://maven.apache.org/plugins/maven-changelog-plugin now and that doesn't
have anything there.

I think the 'changes' plugin is used to generate a page for the site showing
what has changed between version 1.1 and 1.2 for example. I'm not really
sure.

-- Lee Meador

On 4/18/06, Vijay Shanker <vs...@comframe.com> wrote:
>
> As per requirement, I have to prepares reports about changes in files
> between current version and previous version of files so could any body
> suggest me the approach for achieving this goal.
>
> I got to know from maven website that there are two plugins neams as
> "changes" and "changelog" but when I click on those, I get page not found
> problem.
>
> Looking for the help.
>
> Thanks in advance.
>
> Vijay
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
-- Lee Meador
Sent from gmail. My real email address is lee@leemeador.com




Re: Help me about changes plugin

Posted by Lee Meador <le...@leemeador.com>.
Put this in your pom.xml to add a report showing what has changed in the
version control during the last 30 days. There are some config settings you
can add that change just what is shown in the report.

    <reporting>
        <plugins>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>changelog-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </reporting>

When you do a mvn site, it will generate the reports as html and put them
under the 'target' folder.

You also have to be sure and set the <scm> section in your pom so it knows
how to talk to the version control:

 <scm>
 <connection>scm:svn:svn://subversion.company.com/project/trunk/base/</connection>
 <developerConnection>scm:svn:svn://subversion.company.com/project/trunk/base/</developerConnection>
 <url></url>
 </scm>

You can find the right connection url by going to a blank working folder and
doing this from command line:

mvn scm:checkout -DconnectionUrl="scm:svn:svn://sub..."

with the same thing as is in the <connection> tag. When it checks out your
project, you have it right.

There used to be some info at http://mojo.codehaus.org/*changelog*-*maven*-*
plugin*/howto.html<http://mojo.codehaus.org/changelog-maven-plugin/howto.html>
but it seems to point back to
http://maven.apache.org/plugins/maven-changelog-plugin now and that doesn't
have anything there.

I think the 'changes' plugin is used to generate a page for the site showing
what has changed between version 1.1 and 1.2 for example. I'm not really
sure.

-- Lee Meador

On 4/18/06, Vijay Shanker <vs...@comframe.com> wrote:
>
> As per requirement, I have to prepares reports about changes in files
> between current version and previous version of files so could any body
> suggest me the approach for achieving this goal.
>
> I got to know from maven website that there are two plugins neams as
> "changes" and "changelog" but when I click on those, I get page not found
> problem.
>
> Looking for the help.
>
> Thanks in advance.
>
> Vijay
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
-- Lee Meador
Sent from gmail. My real email address is lee@leemeador.com

Re: Help me about changes plugin

Posted by ia...@jpmchase.com.
There are a number of dead links on maven.apache.org.  The plugin
documentation links are the most visible, primarily because those are the
ones that long term Maven users are most interested in (personal
opinion/observation here.  Any relation to objective fact is purely
coincidental).

Is this something that the Maven team is aware of, and what, if anything,
can we as users do to help us help ourselves (beyond opening issues in
JIRA)?


Thanks,
Ian

It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078


                                                                                                                                       
                      "Vijay Shanker"                                                                                                  
                      <vshanker@comfram        To:       "Maven Users List" <us...@maven.apache.org>                                   
                      e.com>                   cc:                                                                                     
                                               Subject:  Help me about changes plugin                                                  
                      04/18/2006 11:45                                                                                                 
                      AM                                                                                                               
                      Please respond to                                                                                                
                      "Maven Users                                                                                                     
                      List"                                                                                                            
                                                                                                                                       




As per requirement, I have to prepares reports about changes in files
between current version and previous version of files so could any body
suggest me the approach for achieving this goal.

I got to know from maven website that there are two plugins neams as
"changes" and "changelog" but when I click on those, I get page not found
problem.

Looking for the help.

Thanks in advance.

Vijay




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


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


Help me about changes plugin

Posted by Vijay Shanker <vs...@comframe.com>.
As per requirement, I have to prepares reports about changes in files between current version and previous version of files so could any body suggest me the approach for achieving this goal.

I got to know from maven website that there are two plugins neams as "changes" and "changelog" but when I click on those, I get page not found problem.

Looking for the help.

Thanks in advance.

Vijay