You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by Jim Gomes <e....@gmail.com> on 2008/04/22 21:12:48 UTC

Trunk Build Fails

I am still experiencing problems building the trunk.  I have modified my
command-line parameters as suggested by Rob, but it still fails.  Here are
my command-line parameters:

set MAVEN_OPTS=-Xmx1024M -Xms1024M
mvn -Dtest=false -DfailIfNoTests=false clean install

It builds for a bit, and then I get the following:

[INFO]
------------------------------------------------------------------------
[INFO] Building ActiveMQ :: Console
[INFO]    task-segment: [install]
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/apache/activemq/activemq-core/5.1.0/activemq-core-5.1.0-tests.jar
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.activemq:activemq-core:test-jar:tests:5.1.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.activemq
-DartifactId=activemq-core -Dversion=5.1.0 -Dclassifier=tes
ts -Dpackaging=test-jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=org.apache.activemq
-DartifactId=activemq-core -Dversion=5.1.0 -Dclassifier=tests
 -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.apache.activemq:activemq-console:jar:5.2.-SNAPSHOT
        2) org.apache.activemq:activemq-core:test-jar:tests:5.1.0

----------
1 required artifact is missing.

for artifact:
  org.apache.activemq:activemq-console:jar:5.2.-SNAPSHOT

from the specified remote repositories:
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
  central (http://repo1.maven.org/maven2)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 26 seconds
[INFO] Finished at: Tue Apr 22 11:28:51 PDT 2008
[INFO] Final Memory: 33M/89M
[INFO]
------------------------------------------------------------------------

This is a brand-new SVN checkout of the HEAD revision.

Any help in trouble-shooting this would be appreciated.  This issue has been
introduced fairly recently within the last week or so.

- Jim

Re: Trunk Build Fails

Posted by Hiram Chirino <hi...@hiramchirino.com>.
Not sure if it's a bug but yes.. every time a release build is done we
need to make sure that the root pom gets fixed up.

On Tue, Apr 22, 2008 at 7:45 PM, Jim Gomes <e....@gmail.com> wrote:
> Thanks, Hiram.  Both the trunk and the 5.1.0 tag build for me now.
>
>  So, is this a bug in the maven plug-in, or is this to be expected
>  everytime a release is being pushed out?
>
>
>
>
>
>  On 4/22/08, Hiram Chirino <hi...@hiramchirino.com> wrote:
>  > Sorry that just happened because I did a release build of ActiveMQ
>  > (RC4) and the release pluging updates and checks in changes that break
>  > things for a little while.. well it would work if the release was
>  > voted on and pushed out to the mirrors but that has not happened yet.
>  >
>  > I'll fix it in 2 seconds.
>  >
>  >
>  > On Tue, Apr 22, 2008 at 3:12 PM, Jim Gomes <e....@gmail.com> wrote:
>  > > I am still experiencing problems building the trunk.  I have modified my
>  > >  command-line parameters as suggested by Rob, but it still fails.  Here
>  > are
>  > >  my command-line parameters:
>  > >
>  > >  set MAVEN_OPTS=-Xmx1024M -Xms1024M
>  > >  mvn -Dtest=false -DfailIfNoTests=false clean install
>  > >
>  > >  It builds for a bit, and then I get the following:
>  > >
>  > >  [INFO]
>  > >  ------------------------------------------------------------------------
>  > >  [INFO] Building ActiveMQ :: Console
>  > >  [INFO]    task-segment: [install]
>  > >  [INFO]
>  > >  ------------------------------------------------------------------------
>  > >  Downloading:
>  > >
>  > http://repo1.maven.org/maven2/org/apache/activemq/activemq-core/5.1.0/activemq-core-5.1.0-tests.jar
>  > >  [INFO]
>  > >  ------------------------------------------------------------------------
>  > >  [ERROR] BUILD ERROR
>  > >  [INFO]
>  > >  ------------------------------------------------------------------------
>  > >  [INFO] Failed to resolve artifact.
>  > >
>  > >  Missing:
>  > >  ----------
>  > >  1) org.apache.activemq:activemq-core:test-jar:tests:5.1.0
>  > >
>  > >   Try downloading the file manually from the project website.
>  > >
>  > >   Then, install it using the command:
>  > >       mvn install:install-file -DgroupId=org.apache.activemq
>  > >  -DartifactId=activemq-core -Dversion=5.1.0 -Dclassifier=tes
>  > >  ts -Dpackaging=test-jar -Dfile=/path/to/file
>  > >
>  > >   Alternatively, if you host your own repository you can deploy the file
>  > >  there:
>  > >       mvn deploy:deploy-file -DgroupId=org.apache.activemq
>  > >  -DartifactId=activemq-core -Dversion=5.1.0 -Dclassifier=tests
>  > >   -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url]
>  > -DrepositoryId=[id]
>  > >
>  > >   Path to dependency:
>  > >         1) org.apache.activemq:activemq-console:jar:5.2.-SNAPSHOT
>  > >         2) org.apache.activemq:activemq-core:test-jar:tests:5.1.0
>  > >
>  > >  ----------
>  > >  1 required artifact is missing.
>  > >
>  > >  for artifact:
>  > >   org.apache.activemq:activemq-console:jar:5.2.-SNAPSHOT
>  > >
>  > >  from the specified remote repositories:
>  > >   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>  > >   central (http://repo1.maven.org/maven2)
>  > >
>  > >
>  > >  [INFO]
>  > >  ------------------------------------------------------------------------
>  > >  [INFO] For more information, run Maven with the -e switch
>  > >  [INFO]
>  > >  ------------------------------------------------------------------------
>  > >  [INFO] Total time: 1 minute 26 seconds
>  > >  [INFO] Finished at: Tue Apr 22 11:28:51 PDT 2008
>  > >  [INFO] Final Memory: 33M/89M
>  > >  [INFO]
>  > >  ------------------------------------------------------------------------
>  > >
>  > >  This is a brand-new SVN checkout of the HEAD revision.
>  > >
>  > >  Any help in trouble-shooting this would be appreciated.  This issue has
>  > been
>  > >  introduced fairly recently within the last week or so.
>  > >
>  > >  - Jim
>  > >
>  >
>  >
>  >
>  > --
>  > Regards,
>  > Hiram
>  >
>  > Blog: http://hiramchirino.com
>  >
>  > Open Source SOA
>  > http://open.iona.com
>  >
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com

Re: Trunk Build Fails

Posted by Jim Gomes <e....@gmail.com>.
Thanks, Hiram.  Both the trunk and the 5.1.0 tag build for me now.

So, is this a bug in the maven plug-in, or is this to be expected
everytime a release is being pushed out?



On 4/22/08, Hiram Chirino <hi...@hiramchirino.com> wrote:
> Sorry that just happened because I did a release build of ActiveMQ
> (RC4) and the release pluging updates and checks in changes that break
> things for a little while.. well it would work if the release was
> voted on and pushed out to the mirrors but that has not happened yet.
>
> I'll fix it in 2 seconds.
>
>
> On Tue, Apr 22, 2008 at 3:12 PM, Jim Gomes <e....@gmail.com> wrote:
> > I am still experiencing problems building the trunk.  I have modified my
> >  command-line parameters as suggested by Rob, but it still fails.  Here
> are
> >  my command-line parameters:
> >
> >  set MAVEN_OPTS=-Xmx1024M -Xms1024M
> >  mvn -Dtest=false -DfailIfNoTests=false clean install
> >
> >  It builds for a bit, and then I get the following:
> >
> >  [INFO]
> >  ------------------------------------------------------------------------
> >  [INFO] Building ActiveMQ :: Console
> >  [INFO]    task-segment: [install]
> >  [INFO]
> >  ------------------------------------------------------------------------
> >  Downloading:
> >
> http://repo1.maven.org/maven2/org/apache/activemq/activemq-core/5.1.0/activemq-core-5.1.0-tests.jar
> >  [INFO]
> >  ------------------------------------------------------------------------
> >  [ERROR] BUILD ERROR
> >  [INFO]
> >  ------------------------------------------------------------------------
> >  [INFO] Failed to resolve artifact.
> >
> >  Missing:
> >  ----------
> >  1) org.apache.activemq:activemq-core:test-jar:tests:5.1.0
> >
> >   Try downloading the file manually from the project website.
> >
> >   Then, install it using the command:
> >       mvn install:install-file -DgroupId=org.apache.activemq
> >  -DartifactId=activemq-core -Dversion=5.1.0 -Dclassifier=tes
> >  ts -Dpackaging=test-jar -Dfile=/path/to/file
> >
> >   Alternatively, if you host your own repository you can deploy the file
> >  there:
> >       mvn deploy:deploy-file -DgroupId=org.apache.activemq
> >  -DartifactId=activemq-core -Dversion=5.1.0 -Dclassifier=tests
> >   -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
> >
> >   Path to dependency:
> >         1) org.apache.activemq:activemq-console:jar:5.2.-SNAPSHOT
> >         2) org.apache.activemq:activemq-core:test-jar:tests:5.1.0
> >
> >  ----------
> >  1 required artifact is missing.
> >
> >  for artifact:
> >   org.apache.activemq:activemq-console:jar:5.2.-SNAPSHOT
> >
> >  from the specified remote repositories:
> >   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
> >   central (http://repo1.maven.org/maven2)
> >
> >
> >  [INFO]
> >  ------------------------------------------------------------------------
> >  [INFO] For more information, run Maven with the -e switch
> >  [INFO]
> >  ------------------------------------------------------------------------
> >  [INFO] Total time: 1 minute 26 seconds
> >  [INFO] Finished at: Tue Apr 22 11:28:51 PDT 2008
> >  [INFO] Final Memory: 33M/89M
> >  [INFO]
> >  ------------------------------------------------------------------------
> >
> >  This is a brand-new SVN checkout of the HEAD revision.
> >
> >  Any help in trouble-shooting this would be appreciated.  This issue has
> been
> >  introduced fairly recently within the last week or so.
> >
> >  - Jim
> >
>
>
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>
> Open Source SOA
> http://open.iona.com
>

Re: Trunk Build Fails

Posted by Hiram Chirino <hi...@hiramchirino.com>.
Sorry that just happened because I did a release build of ActiveMQ
(RC4) and the release pluging updates and checks in changes that break
things for a little while.. well it would work if the release was
voted on and pushed out to the mirrors but that has not happened yet.

I'll fix it in 2 seconds.


On Tue, Apr 22, 2008 at 3:12 PM, Jim Gomes <e....@gmail.com> wrote:
> I am still experiencing problems building the trunk.  I have modified my
>  command-line parameters as suggested by Rob, but it still fails.  Here are
>  my command-line parameters:
>
>  set MAVEN_OPTS=-Xmx1024M -Xms1024M
>  mvn -Dtest=false -DfailIfNoTests=false clean install
>
>  It builds for a bit, and then I get the following:
>
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] Building ActiveMQ :: Console
>  [INFO]    task-segment: [install]
>  [INFO]
>  ------------------------------------------------------------------------
>  Downloading:
>  http://repo1.maven.org/maven2/org/apache/activemq/activemq-core/5.1.0/activemq-core-5.1.0-tests.jar
>  [INFO]
>  ------------------------------------------------------------------------
>  [ERROR] BUILD ERROR
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] Failed to resolve artifact.
>
>  Missing:
>  ----------
>  1) org.apache.activemq:activemq-core:test-jar:tests:5.1.0
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=org.apache.activemq
>  -DartifactId=activemq-core -Dversion=5.1.0 -Dclassifier=tes
>  ts -Dpackaging=test-jar -Dfile=/path/to/file
>
>   Alternatively, if you host your own repository you can deploy the file
>  there:
>       mvn deploy:deploy-file -DgroupId=org.apache.activemq
>  -DartifactId=activemq-core -Dversion=5.1.0 -Dclassifier=tests
>   -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>         1) org.apache.activemq:activemq-console:jar:5.2.-SNAPSHOT
>         2) org.apache.activemq:activemq-core:test-jar:tests:5.1.0
>
>  ----------
>  1 required artifact is missing.
>
>  for artifact:
>   org.apache.activemq:activemq-console:jar:5.2.-SNAPSHOT
>
>  from the specified remote repositories:
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   central (http://repo1.maven.org/maven2)
>
>
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] For more information, run Maven with the -e switch
>  [INFO]
>  ------------------------------------------------------------------------
>  [INFO] Total time: 1 minute 26 seconds
>  [INFO] Finished at: Tue Apr 22 11:28:51 PDT 2008
>  [INFO] Final Memory: 33M/89M
>  [INFO]
>  ------------------------------------------------------------------------
>
>  This is a brand-new SVN checkout of the HEAD revision.
>
>  Any help in trouble-shooting this would be appreciated.  This issue has been
>  introduced fairly recently within the last week or so.
>
>  - Jim
>



-- 
Regards,
Hiram

Blog: http://hiramchirino.com

Open Source SOA
http://open.iona.com