You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Tim-Christian Mundt <mu...@tzi.de> on 2010/01/12 18:43:42 UTC

Maven build explanation

Hi,

it would be helpful for beginners to tell them where to find James after 
building it. I attached a quick proposal. (Was still expecting it in 
/target, took me quite some time to find it.)

Tim

Re: Maven build explanation

Posted by Norman Maurer <no...@apache.org>.
2010/1/12, Tim-Christian Mundt <mu...@tzi.de>:
> Hi Norman,
>
>> thx for the pointer.. Anyway thats not quite right, cause the
>> distribution build can be found under spring-deployment/target.
> Interesting, where do the archives in the repository come from then? Are
> they downloaded by Maven from a Maven repository?
>
> Tim
>

they got installed by maven during the build process, but this only
includes jars and poms not the tars and zips.

Hope this helps
Norman
>> I just
>> add a note about it..
>>
>> Bye,
>> Norman
>>
>> 2010/1/12 Tim-Christian Mundt <mu...@tzi.de>:
>> > Hi,
>> >
>> > it would be helpful for beginners to tell them where to find James after
>> > building it. I attached a quick proposal. (Was still expecting it in
>> > /target, took me quite some time to find it.)
>> >
>> > Tim
>> >
>> > Index: BUILDING.txt
>> > ===================================================================
>> > --- BUILDING.txt        (revision 898340)
>> > +++ BUILDING.txt        (working copy)
>> > @@ -1,4 +1,4 @@
>> > -The primary build tool for James server is maven.
>> > +The primary build tool for James server is Maven.
>> >
>> >  On a new checkout start by running
>> >  $ cd stage
>> > @@ -6,4 +6,4 @@
>> >  $ cd ..
>> >  $ mvn clean package
>> >
>> > -This will compiled all modules and build the distributions.
>> > +This will compile all modules and build the distributions which can
>> > then be
>> > found in the local Maven repository:
>> > <HOME>/.m2/repository/org/apache/james/james-server-spring-deployment/
>> > \ No newline at end of file
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> > For additional commands, e-mail: server-dev-help@james.apache.org
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Maven build explanation

Posted by Tim-Christian Mundt <mu...@tzi.de>.
Hi Norman,

> thx for the pointer.. Anyway thats not quite right, cause the
> distribution build can be found under spring-deployment/target.
Interesting, where do the archives in the repository come from then? Are
they downloaded by Maven from a Maven repository?

Tim

> I just
> add a note about it..
> 
> Bye,
> Norman
> 
> 2010/1/12 Tim-Christian Mundt <mu...@tzi.de>:
> > Hi,
> >
> > it would be helpful for beginners to tell them where to find James after
> > building it. I attached a quick proposal. (Was still expecting it in
> > /target, took me quite some time to find it.)
> >
> > Tim
> >
> > Index: BUILDING.txt
> > ===================================================================
> > --- BUILDING.txt        (revision 898340)
> > +++ BUILDING.txt        (working copy)
> > @@ -1,4 +1,4 @@
> > -The primary build tool for James server is maven.
> > +The primary build tool for James server is Maven.
> >
> >  On a new checkout start by running
> >  $ cd stage
> > @@ -6,4 +6,4 @@
> >  $ cd ..
> >  $ mvn clean package
> >
> > -This will compiled all modules and build the distributions.
> > +This will compile all modules and build the distributions which can then be
> > found in the local Maven repository:
> > <HOME>/.m2/repository/org/apache/james/james-server-spring-deployment/
> > \ No newline at end of file
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> > For additional commands, e-mail: server-dev-help@james.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Maven build explanation

Posted by Stefano Bagnara <ap...@bago.org>.
2010/1/13 Robert L. Gurule <rg...@lanl.gov>:
> Hi,
>  I'm attempting  to build James and am getting the folowing error:
> any suggestions?

THe error says you don't have a "pom.xml" in the folder from which you
run maven, and probably this means that you are not in the james
folder or that you checked out the wrong tree.

If you list the folder you should see a list of folders (they are
james modules) and some files (NOTICE, LICENSE... and the pom.xml).

Stefano

> THanks,
>
> Robert
>
>
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot execute mojo: clean. It requires a project with an existing
> pom.xm
> l, but the build is not using one.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Wed Jan 13 09:10:44 MST 2010
> [INFO] Final Memory: 1M/4M
> [INFO]
> ------------------------------------------------------------------------
> C:\Documents and Settings\106052>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Maven build explanation

Posted by "Robert L. Gurule" <rg...@lanl.gov>.
Hi,
  I'm attempting  to build James and am getting the folowing error:
any suggestions?

THanks,

Robert


[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute mojo: clean. It requires a project with an existing
pom.xm
l, but the build is not using one.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Jan 13 09:10:44 MST 2010
[INFO] Final Memory: 1M/4M
[INFO]
------------------------------------------------------------------------
C:\Documents and Settings\106052>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Maven build explanation

Posted by Norman Maurer <no...@googlemail.com>.
Hi Tim,

thx for the pointer.. Anyway thats not quite right, cause the
distribution build can be found under spring-deployment/target. I just
add a note about it..

Bye,
Norman

2010/1/12 Tim-Christian Mundt <mu...@tzi.de>:
> Hi,
>
> it would be helpful for beginners to tell them where to find James after
> building it. I attached a quick proposal. (Was still expecting it in
> /target, took me quite some time to find it.)
>
> Tim
>
> Index: BUILDING.txt
> ===================================================================
> --- BUILDING.txt        (revision 898340)
> +++ BUILDING.txt        (working copy)
> @@ -1,4 +1,4 @@
> -The primary build tool for James server is maven.
> +The primary build tool for James server is Maven.
>
>  On a new checkout start by running
>  $ cd stage
> @@ -6,4 +6,4 @@
>  $ cd ..
>  $ mvn clean package
>
> -This will compiled all modules and build the distributions.
> +This will compile all modules and build the distributions which can then be
> found in the local Maven repository:
> <HOME>/.m2/repository/org/apache/james/james-server-spring-deployment/
> \ No newline at end of file
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org