"mvn -o" does an offline build.
Andrus
On Feb 26, 2007, at 9:38 PM, Mike Kienenberger wrote:
> Second run took 17 minutes. So did a "mvn clean" (minute and a half)
> followed by a "mvn" (another 17 minutes).
>
> I'm hoping/guessing that a lot of this is due to checking versions
> over the internet. I vaguely recall that there's a way to maybe
> surpress this behavior.
>
>
> On 2/26/07, Mike Kienenberger <mkienen..mail.com> wrote:
>> Ok. Finally built it. Build time 16 minutes and 32 seconds, with
>> skip-tests enabled. I'm going to do another build to see if this
>> was
>> still downloading dependencies in the last build.
>>
>> On 2/26/07, Andrus Adamchik <andru..bjectstyle.org> wrote:
>> > Yep - this is due to a bug in Geronimo TX manager:
>> >
>> > https://issues.apache.org/jira/browse/GERONIMO-2809
>> >
>> > It is fixed in svn, so you can build 'geronimo-transaction' module
>> > locally or ignore the tests.
>> >
>> > Andrus
>> >
>> >
>> >
>> > On Feb 26, 2007, at 8:01 PM, Mike Kienenberger wrote:
>> >
>> > > I'm now up to failing integration tests. You probably already
>> know
>> > > about these. I'll look up the skip tests command and let you
>> know how
>> > > it goes from there.
>> > >
>> > >
>> > > -------------------------------------------------------
>> > > T E S T S
>> > > -------------------------------------------------------
>> > > Running
>> org.apache.cayenne.jpa.itest.ch5._5_4_EntityMnagerFactoryTest
>> > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>> > > 0.922 sec
>> > > Running
>> org.apache.cayenne.jpa.itest.ch5._5_5_1_JtaEntityManagerTest
>> > > Apache OpenEJB 3.0-incubating-SNAPSHOT build: 20070224-02:26
>> > > http://incubator.apache.org/openejb
>> > > Cannot find the configuration file [conf/openejb.xml]. Creating
>> > > one at C:\works
>> > > paces\cayenne\cayenne-2007-02-24-2034\itests\jpa-chapter5\target
>> > > \openejb-out\con
>> > > f\openejb.xml
>> > > OpenEJB ready.
>> > > Will transform: org/apache/cayenne/jpa/itest/ch5/entity/
>> SimpleEntity
>> > > Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed:
>> > > 2.015 sec <<< FA
>> > > ILURE!
>> > > Running
>> > >
>> org.apache.cayenne.jpa.itest.ch5._5_5_2_ResourceLocalEntityManagerTes
>> t
>> > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>> > > 0.094 sec
>> > >
>> > > Results :
>> > > Tests run: 5, Failures: 1, Errors: 1, Skipped: 0
>> > >
>> > > [INFO]
>> > >
>> ---------------------------------------------------------------------
>> -
>> > > --
>> > > [ERROR] BUILD FAILURE
>> > > [INFO]
>> > >
>> ---------------------------------------------------------------------
>> -
>> > > --
>> > > [INFO] There are test failures.
>> > > [INFO]
>> > >
>> ---------------------------------------------------------------------
>> -
>> > > --
>> > > [INFO] For more information, run Maven with the -e switch
>> > > [INFO]
>> > >
>> ---------------------------------------------------------------------
>> -
>> > > --
>> > > [INFO] Total time: 6 minutes 37 seconds
>> > > [INFO] Finished at: Mon Feb 26 12:53:40 EST 2007
>> > > [INFO] Final Memory: 26M/47M
>> > > [INFO]
>> > >
>> ---------------------------------------------------------------------
>> -
>> > > --
>> > >
>> > > On 2/26/07, Andrus Adamchik <andru..bjectstyle.org> wrote:
>> > >> Fixed.
>> > >>
>> > >> On Feb 26, 2007, at 7:09 PM, Mike Kienenberger wrote:
>> > >>
>> > >> > Here's the next error.
>> > >> >
>> > >> > [ERROR] BUILD ERROR
>> > >> > [INFO]
>> > >> >
>> > >>
>> ---------------------------------------------------------------------
>> > >> -
>> > >> > --
>> > >> > [INFO] Failed to resolve artifact.
>> > >> >
>> > >> > Missing:
>> > >> > ----------
>> > >> > 1) jgoodies:looks:jar:1.3.1
>> > >> >
>> > >> > Try downloading the file manually from the project website.
>> > >> >
>> > >> > Then, install it using the command:
>> > >> > mvn install:install-file -DgroupId=jgoodies -
>> > >> DartifactId=looks \
>> > >> > -Dversion=1.3.1 -Dpackaging=jar -Dfile=/path/to/file
>> > >> >
>> > >> > Path to dependency:
>> > >> > 1) org.apache.cayenne:cayenne-modeler:jar:3.0-SNAPSHOT
>> > >> > 2) jgoodies:looks:jar:1.3.1
>> > >> >
>> > >> > ----------
>> > >> > 1 required artifact is missing.
>> > >> >
>> > >> > for artifact:
>> > >> > org.apache.cayenne:cayenne-modeler:jar:3.0-SNAPSHOT
>> > >> >
>> > >> > from the specified remote repositories:
>> > >> > central (http://repo1.maven.org/maven2),
>> > >> > apache-snapshots (http://people.apache.org/repo/m2-snapshot-
>> > >> > repository/)
>> > >> >
>> > >> >
>> > >> > [INFO]
>> > >> >
>> > >>
>> ---------------------------------------------------------------------
>> > >> -
>> > >> > --
>> > >> > [INFO] For more information, run Maven with the -e switch
>> > >> > [INFO]
>> > >> >
>> > >>
>> ---------------------------------------------------------------------
>> > >> -
>> > >> > --
>> > >> > [INFO] Total time: 3 minutes 9 seconds
>> > >> > [INFO] Finished at: Mon Feb 26 12:09:53 EST 2007
>> > >> > [INFO] Final Memory: 16M/29M
>> > >> > [INFO]
>> > >> >
>> > >>
>> ---------------------------------------------------------------------
>> > >> -
>> > >> > --
>> > >> >
>> > >> > On 2/26/07, Mike Kienenberger <mkienen..mail.com> wrote:
>> > >> >> :-)
>> > >> >>
>> > >> >> I think that makes the most sense as I suspect doc- and web-
>> > >> related
>> > >> >> dependencies are more fragile than regular code. At
>> least, I've
>> > >> >> seen
>> > >> >> these things break more often in MyFaces than the standard
>> library
>> > >> >> build tools.
>> > >> >>
>> > >> >> On 2/26/07, Andrus Adamchik <andru..bjectstyle.org> wrote:
>> > >> >> > Sure we can split the plugin, and put the docs mojo in
>> the docs
>> > >> >> > folder. Yet another module to maintain ;-)
>> > >> >> >
>> > >> >> >
>> > >> >> > On Feb 26, 2007, at 6:55 PM, Mike Kienenberger wrote:
>> > >> >> > > But isn't the whole point of using maven that this
>> various
>> > >> >> modules can
>> > >> >> > > be built independently, provided the minimal
>> dependencies are
>> > >> >> met?
>> > >> >> > >
>> > >> >> > > I don't think something like the web site (which a
>> regular
>> > >> >> cayenne
>> > >> >> > > user doesn't need) should be a dependency of the runtime/
>> > >> modeler.
>> > >> >> > >
>> > >> >> > > On 2/26/07, Andrus Adamchik <andru..bjectstyle.org>
>> wrote:
>> > >> >> > >> They part of the same custom build plugin. Of course
>> we can
>> > >> >> split it
>> > >> >> > >> in multiple small plugins, but then the maintenance
>> would
>> > >> >> become much
>> > >> >> > >> harder.
>> > >> >> > >>
>> > >> >> > >> Andrus
>> > >> >> > >>
>> > >> >> > >> On Feb 26, 2007, at 6:19 PM, Mike Kienenberger wrote:
>> > >> >> > >>
>> > >> >> > >> > On 2/26/07, Andrus Adamchik
>> <andru..bjectstyle.org> wrote:
>> > >> >> > >> >> Done, please try again.
>> > >> >> > >> >
>> > >> >> > >> > Ok. I have new probably-unrelated errors (next
>> message).
>> > >> >> > >> However,
>> > >> >> > >> > it seems odd to me that the dependencies for
>> building the
>> > >> >> web site
>> > >> >> > >> > would block the rest of the cayenne build. Is this
>> > >> something
>> > >> >> > >> we can
>> > >> >> > >> > fix down the road?
>> > >> >> > >> >
>> > >> >> > >>
>> > >> >> > >>
>> > >> >> > >
>> > >> >> >
>> > >> >> >
>> > >> >>
>> > >> >
>> > >>
>> > >>
>> > >
>> >
>> >
>>
>
This archive was generated by hypermail 2.0.0 : Tue Feb 27 2007 - 04:04:28 EST