You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by rk...@cisco.com on 2005/10/12 23:08:30 UTC

[m102]: Suppresing download progress etc.

  Env:
  ====
     JDK 5.0
     Maven 1.0.2
     Multiproject plugin: 1.3.1

  Context:
  ========
     I have setup a multiproject dependency as follows:
       (rh
         (common)
         (cs)
         (dal)
      )

    where both cs and dal extend ${basedir}common/project.xml.

  Problem:
  ========
    (0) How do I suppress the download progress messages printed by Maven?
        While this looks fine in "real-time", in batched reports, these
        incremental progress updates are listed on separate lines (probably
        becuase CR/LF is used instead of just CR), building up a huge
        preface to the build of a project.

       So how do I tell Maven not to print these messages?


    (1) When triggering the build of dal (either locally or
    thru the multi-project plugin), cs-1.0.jar is built
    deposited into the repository but the build of
    dal fails with the message that cs-SNAPSHOT.jar could not
    be located.

    The dependency specs in dal POM identifies cs-${pomVersion}.jar
     as shown below; why is this lookinh for the SNAPSHOT version?

      <dependencies>
        <dependency>
          <groupId>dcm</groupId>
          <artifactId>cs</artifactId>
          <version>${pom.currentVersion}</version>
          <type>jar</type>
        </dependency>
      </dependencies>


Thanks,

Rk
x77309

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


Re: [m102]: Suppresing download progress etc.

Posted by rk...@cisco.com.
Thanks, that did it.

Rk
x77309

On Sat, 15 Oct 2005, Brett Porter wrote:

> Sorry about that. I remember what it was - set the property:
> 
> maven.download.meter=bootstrap
> 
> 
> On 10/15/05, rks@cisco.com <rk...@cisco.com> wrote:
> > 'maven -q' makes it worse: it suppresses other useful info,
> > continues to display artifact download progress but without
> > listing the name of the artifact being downloaded:
> >
> >  $ cd acceptance; /vob/enm_jdk/maven1.0.2/bin/maven -q
> >  Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. Attempting to create.
> >  56/13877K
> >  60/13877K
> >  //...
> >  13877/13877K downloaded
> >  10/47K
> >  //...
> >  Response content length is not known
> >  //... rest of it
> >
> > Thanks,
> >
> > Rk
> > x77309
> >
> > On Sat, 15 Oct 2005, Brett Porter wrote:
> >
> > > I think maven -q will do this, though it does suppress much of the
> > > other output too.
> > >
> > > - Brett
> > >
> > > On 10/15/05, rks@cisco.com <rk...@cisco.com> wrote:
> > > > Is there anyway to suppress the artifact download progress messages
> > > > issued by Maven? This looks fine on a console; but in build reports,
> > > > takes up reams of space:
> > > >
> > > > $ maven
> > > >  __  __
> > > > |  \/  |__ _Apache__ ___
> > > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> > > >
> > > > Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. Attempting to create.
> > > > Attempting to download my-component-1.0.jar.
> > > > 56/13877K
> > > > 60/13877K
> > > > 61/13877K
> > > > 63/13877K
> > > > 64/13877K
> > > > 65/13877K
> > > > 66/13877K
> > > > //... zillion more lines
> > > >
> > > > Thanks,
> > > >
> > > > Rk
> > > > x77309
> > > >
> > > > On Wed, 12 Oct 2005 rks@cisco.com wrote:
> > > >
> > > > >
> > > > >   Env:
> > > > >   ====
> > > > >      JDK 5.0
> > > > >      Maven 1.0.2
> > > > >      Multiproject plugin: 1.3.1
> > > > >
> > > > >   Context:
> > > > >   ========
> > > > >      I have setup a multiproject dependency as follows:
> > > > >        (rh
> > > > >          (common)
> > > > >          (cs)
> > > > >          (dal)
> > > > >       )
> > > > >
> > > > >     where both cs and dal extend ${basedir}common/project.xml.
> > > > >
> > > > >   Problem:
> > > > >   ========
> > > > >     (0) How do I suppress the download progress messages printed by Maven?
> > > > >         While this looks fine in "real-time", in batched reports, these
> > > > >         incremental progress updates are listed on separate lines (probably
> > > > >         becuase CR/LF is used instead of just CR), building up a huge
> > > > >         preface to the build of a project.
> > > > >
> > > > >        So how do I tell Maven not to print these messages?
> > > > >
> > > > >
> > > > >     (1) When triggering the build of dal (either locally or
> > > > >     thru the multi-project plugin), cs-1.0.jar is built
> > > > >     deposited into the repository but the build of
> > > > >     dal fails with the message that cs-SNAPSHOT.jar could not
> > > > >     be located.
> > > > >
> > > > >     The dependency specs in dal POM identifies cs-${pomVersion}.jar
> > > > >      as shown below; why is this lookinh for the SNAPSHOT version?
> > > > >
> > > > >       <dependencies>
> > > > >         <dependency>
> > > > >           <groupId>dcm</groupId>
> > > > >           <artifactId>cs</artifactId>
> > > > >           <version>${pom.currentVersion}</version>
> > > > >           <type>jar</type>
> > > > >         </dependency>
> > > > >       </dependencies>
> > > > >
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Rk
> > > > > x77309
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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
> > >
> >
> > ---------------------------------------------------------------------
> > 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
> 

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


Re: [m102]: Suppresing download progress etc.

Posted by Brett Porter <br...@gmail.com>.
Sorry about that. I remember what it was - set the property:

maven.download.meter=bootstrap


On 10/15/05, rks@cisco.com <rk...@cisco.com> wrote:
> 'maven -q' makes it worse: it suppresses other useful info,
> continues to display artifact download progress but without
> listing the name of the artifact being downloaded:
>
>  $ cd acceptance; /vob/enm_jdk/maven1.0.2/bin/maven -q
>  Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. Attempting to create.
>  56/13877K
>  60/13877K
>  //...
>  13877/13877K downloaded
>  10/47K
>  //...
>  Response content length is not known
>  //... rest of it
>
> Thanks,
>
> Rk
> x77309
>
> On Sat, 15 Oct 2005, Brett Porter wrote:
>
> > I think maven -q will do this, though it does suppress much of the
> > other output too.
> >
> > - Brett
> >
> > On 10/15/05, rks@cisco.com <rk...@cisco.com> wrote:
> > > Is there anyway to suppress the artifact download progress messages
> > > issued by Maven? This looks fine on a console; but in build reports,
> > > takes up reams of space:
> > >
> > > $ maven
> > >  __  __
> > > |  \/  |__ _Apache__ ___
> > > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > > |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> > >
> > > Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. Attempting to create.
> > > Attempting to download my-component-1.0.jar.
> > > 56/13877K
> > > 60/13877K
> > > 61/13877K
> > > 63/13877K
> > > 64/13877K
> > > 65/13877K
> > > 66/13877K
> > > //... zillion more lines
> > >
> > > Thanks,
> > >
> > > Rk
> > > x77309
> > >
> > > On Wed, 12 Oct 2005 rks@cisco.com wrote:
> > >
> > > >
> > > >   Env:
> > > >   ====
> > > >      JDK 5.0
> > > >      Maven 1.0.2
> > > >      Multiproject plugin: 1.3.1
> > > >
> > > >   Context:
> > > >   ========
> > > >      I have setup a multiproject dependency as follows:
> > > >        (rh
> > > >          (common)
> > > >          (cs)
> > > >          (dal)
> > > >       )
> > > >
> > > >     where both cs and dal extend ${basedir}common/project.xml.
> > > >
> > > >   Problem:
> > > >   ========
> > > >     (0) How do I suppress the download progress messages printed by Maven?
> > > >         While this looks fine in "real-time", in batched reports, these
> > > >         incremental progress updates are listed on separate lines (probably
> > > >         becuase CR/LF is used instead of just CR), building up a huge
> > > >         preface to the build of a project.
> > > >
> > > >        So how do I tell Maven not to print these messages?
> > > >
> > > >
> > > >     (1) When triggering the build of dal (either locally or
> > > >     thru the multi-project plugin), cs-1.0.jar is built
> > > >     deposited into the repository but the build of
> > > >     dal fails with the message that cs-SNAPSHOT.jar could not
> > > >     be located.
> > > >
> > > >     The dependency specs in dal POM identifies cs-${pomVersion}.jar
> > > >      as shown below; why is this lookinh for the SNAPSHOT version?
> > > >
> > > >       <dependencies>
> > > >         <dependency>
> > > >           <groupId>dcm</groupId>
> > > >           <artifactId>cs</artifactId>
> > > >           <version>${pom.currentVersion}</version>
> > > >           <type>jar</type>
> > > >         </dependency>
> > > >       </dependencies>
> > > >
> > > >
> > > > Thanks,
> > > >
> > > > Rk
> > > > x77309
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
>
> ---------------------------------------------------------------------
> 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


Re: [m102]: Suppresing download progress etc.

Posted by rk...@cisco.com.
'maven -q' makes it worse: it suppresses other useful info, 
continues to display artifact download progress but without 
listing the name of the artifact being downloaded:

 $ cd acceptance; /vob/enm_jdk/maven1.0.2/bin/maven -q
 Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. Attempting to create.
 56/13877K
 60/13877K
 //...
 13877/13877K downloaded
 10/47K 
 //...
 Response content length is not known
 //... rest of it

Thanks,

Rk
x77309

On Sat, 15 Oct 2005, Brett Porter wrote:

> I think maven -q will do this, though it does suppress much of the
> other output too.
> 
> - Brett
> 
> On 10/15/05, rks@cisco.com <rk...@cisco.com> wrote:
> > Is there anyway to suppress the artifact download progress messages
> > issued by Maven? This looks fine on a console; but in build reports,
> > takes up reams of space:
> >
> > $ maven
> >  __  __
> > |  \/  |__ _Apache__ ___
> > | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> >
> > Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. Attempting to create.
> > Attempting to download my-component-1.0.jar.
> > 56/13877K
> > 60/13877K
> > 61/13877K
> > 63/13877K
> > 64/13877K
> > 65/13877K
> > 66/13877K
> > //... zillion more lines
> >
> > Thanks,
> >
> > Rk
> > x77309
> >
> > On Wed, 12 Oct 2005 rks@cisco.com wrote:
> >
> > >
> > >   Env:
> > >   ====
> > >      JDK 5.0
> > >      Maven 1.0.2
> > >      Multiproject plugin: 1.3.1
> > >
> > >   Context:
> > >   ========
> > >      I have setup a multiproject dependency as follows:
> > >        (rh
> > >          (common)
> > >          (cs)
> > >          (dal)
> > >       )
> > >
> > >     where both cs and dal extend ${basedir}common/project.xml.
> > >
> > >   Problem:
> > >   ========
> > >     (0) How do I suppress the download progress messages printed by Maven?
> > >         While this looks fine in "real-time", in batched reports, these
> > >         incremental progress updates are listed on separate lines (probably
> > >         becuase CR/LF is used instead of just CR), building up a huge
> > >         preface to the build of a project.
> > >
> > >        So how do I tell Maven not to print these messages?
> > >
> > >
> > >     (1) When triggering the build of dal (either locally or
> > >     thru the multi-project plugin), cs-1.0.jar is built
> > >     deposited into the repository but the build of
> > >     dal fails with the message that cs-SNAPSHOT.jar could not
> > >     be located.
> > >
> > >     The dependency specs in dal POM identifies cs-${pomVersion}.jar
> > >      as shown below; why is this lookinh for the SNAPSHOT version?
> > >
> > >       <dependencies>
> > >         <dependency>
> > >           <groupId>dcm</groupId>
> > >           <artifactId>cs</artifactId>
> > >           <version>${pom.currentVersion}</version>
> > >           <type>jar</type>
> > >         </dependency>
> > >       </dependencies>
> > >
> > >
> > > Thanks,
> > >
> > > Rk
> > > x77309
> > >
> >
> > ---------------------------------------------------------------------
> > 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
> 

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


Re: [m102]: Suppresing download progress etc.

Posted by Brett Porter <br...@gmail.com>.
I think maven -q will do this, though it does suppress much of the
other output too.

- Brett

On 10/15/05, rks@cisco.com <rk...@cisco.com> wrote:
> Is there anyway to suppress the artifact download progress messages
> issued by Maven? This looks fine on a console; but in build reports,
> takes up reams of space:
>
> $ maven
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
>
> Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. Attempting to create.
> Attempting to download my-component-1.0.jar.
> 56/13877K
> 60/13877K
> 61/13877K
> 63/13877K
> 64/13877K
> 65/13877K
> 66/13877K
> //... zillion more lines
>
> Thanks,
>
> Rk
> x77309
>
> On Wed, 12 Oct 2005 rks@cisco.com wrote:
>
> >
> >   Env:
> >   ====
> >      JDK 5.0
> >      Maven 1.0.2
> >      Multiproject plugin: 1.3.1
> >
> >   Context:
> >   ========
> >      I have setup a multiproject dependency as follows:
> >        (rh
> >          (common)
> >          (cs)
> >          (dal)
> >       )
> >
> >     where both cs and dal extend ${basedir}common/project.xml.
> >
> >   Problem:
> >   ========
> >     (0) How do I suppress the download progress messages printed by Maven?
> >         While this looks fine in "real-time", in batched reports, these
> >         incremental progress updates are listed on separate lines (probably
> >         becuase CR/LF is used instead of just CR), building up a huge
> >         preface to the build of a project.
> >
> >        So how do I tell Maven not to print these messages?
> >
> >
> >     (1) When triggering the build of dal (either locally or
> >     thru the multi-project plugin), cs-1.0.jar is built
> >     deposited into the repository but the build of
> >     dal fails with the message that cs-SNAPSHOT.jar could not
> >     be located.
> >
> >     The dependency specs in dal POM identifies cs-${pomVersion}.jar
> >      as shown below; why is this lookinh for the SNAPSHOT version?
> >
> >       <dependencies>
> >         <dependency>
> >           <groupId>dcm</groupId>
> >           <artifactId>cs</artifactId>
> >           <version>${pom.currentVersion}</version>
> >           <type>jar</type>
> >         </dependency>
> >       </dependencies>
> >
> >
> > Thanks,
> >
> > Rk
> > x77309
> >
>
> ---------------------------------------------------------------------
> 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


Re: [m102]: Suppresing download progress etc.

Posted by rk...@cisco.com.
Is there anyway to suppress the artifact download progress messages
issued by Maven? This looks fine on a console; but in build reports, 
takes up reams of space:

$ maven 
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Directory /vob/nm_dcm/acceptance/../maven/repository does not exist. Attempting to create.
Attempting to download my-component-1.0.jar.
56/13877K
60/13877K
61/13877K
63/13877K
64/13877K
65/13877K
66/13877K
//... zillion more lines

Thanks,

Rk
x77309

On Wed, 12 Oct 2005 rks@cisco.com wrote:

> 
>   Env:
>   ====
>      JDK 5.0
>      Maven 1.0.2
>      Multiproject plugin: 1.3.1
> 
>   Context:
>   ========
>      I have setup a multiproject dependency as follows:
>        (rh
>          (common)
>          (cs)
>          (dal)
>       )
> 
>     where both cs and dal extend ${basedir}common/project.xml.
> 
>   Problem:
>   ========
>     (0) How do I suppress the download progress messages printed by Maven?
>         While this looks fine in "real-time", in batched reports, these
>         incremental progress updates are listed on separate lines (probably
>         becuase CR/LF is used instead of just CR), building up a huge
>         preface to the build of a project.
> 
>        So how do I tell Maven not to print these messages?
> 
> 
>     (1) When triggering the build of dal (either locally or
>     thru the multi-project plugin), cs-1.0.jar is built
>     deposited into the repository but the build of
>     dal fails with the message that cs-SNAPSHOT.jar could not
>     be located.
> 
>     The dependency specs in dal POM identifies cs-${pomVersion}.jar
>      as shown below; why is this lookinh for the SNAPSHOT version?
> 
>       <dependencies>
>         <dependency>
>           <groupId>dcm</groupId>
>           <artifactId>cs</artifactId>
>           <version>${pom.currentVersion}</version>
>           <type>jar</type>
>         </dependency>
>       </dependencies>
> 
> 
> Thanks,
> 
> Rk
> x77309
> 

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