rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Franklin <m.ben.frank...@gmail.com>
Subject Re: Angular dependencies error
Date Thu, 03 Jul 2014 18:39:57 GMT
I am able to run cargo:run under rave-portal on the Angular branch AFTER
building the whole tree from root first.  Maven will install the built
files to your local maven repo during the install phase, which will make
them available when you run cargo:run from rave-portal later


On Thu, Jul 3, 2014 at 2:26 PM, Jmeas Apache <jmeas.apache@gmail.com> wrote:

> I'm glad you asked that Matt – no, I wasn't installing from the root. Our
> Vagrant configuration had a mistake in it where we were mvn installing from
> the /rave/rave-portal directory. Apparently we had conflated the
> instructions cargo:run task with the initial install instructions.
>
> So I went ahead and corrected that, then ran mvn install. I was able to see
> the test errors you mentioned, so when I ran the command with the flags you
> suggested things seemed to install just fine. So that's a start.
>
> Next, I ssh'd onto the box and tried to run mvn cargo:run from the
> rave/rave-portal directory. I got the dependency error once more. I added
> the flags to the command to see if that would help...nope, still got it.
>
> I've reset the repository and Vagrantbox with each of these attempts to
> ensure that the issue wasn't caused by previous attempts.
>
> Are you able to cargo:run, Matt Franklin?
>
>
>
>
> On Thu, Jul 3, 2014 at 1:07 PM, Matt Franklin <m.ben.franklin@gmail.com>
> wrote:
>
> > Did you build the whole project first, starting at the root directory?
> >
> >
> > On Thu, Jul 3, 2014 at 1:06 PM, Jmeas Apache <jmeas.apache@gmail.com>
> > wrote:
> >
> > > Also, to clarify, even skipping the tests with mvn -DskipTests=true
> > > -DskipIntegrationTests=true clean install throws the error.
> > >
> > > It's a slightly different file since the rebase, but it seems related:
> > >
> > > Downloading:
> > >
> > >
> >
> http://repository.apache.org/snapshots/org/apache/rave/rave-demo-gadgets/0.24-ANGULAR-SNAPSHOT/rave-demo-gadgets-0.24-ANGULAR-SNAPSHOT.war
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > >
> > > [INFO] BUILD FAILURE
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > >
> > > [INFO] Total time: 1:27.141s
> > >
> > > [INFO] Finished at: Thu Jul 03 17:03:48 UTC 2014
> > >
> > > [INFO] Final Memory: 10M/247M
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > >
> > > [ERROR] Failed to execute goal on project rave-portal: Could not
> resolve
> > > dependencies for project
> > > org.apache.rave:rave-portal:war:0.24-ANGULAR-SNAPSHOT: The following
> > > artifacts could not be resolved:
> > > org.apache.rave:rave-portal-dependencies:pom:0.24-ANGULAR-SNAPSHOT,
> > > org.apache.rave:rave-portal-resources:war:0.24-ANGULAR-SNAPSHOT,
> > > org.apache.rave:rave-shindig:war:0.24-ANGULAR-SNAPSHOT,
> > > org.apache.rave:rave-demo-gadgets:war:0.24-ANGULAR-SNAPSHOT: Failure to
> > > find org.apache.rave:rave-portal-dependencies:pom:0.24-ANGULAR-SNAPSHOT
> > in
> > > http://repository.apache.org/snapshots was cached in the local
> > repository,
> > > resolution will not be reattempted until the update interval of
> > > apache.snapshots has elapsed or updates are forced -> [Help 1]
> > >
> > >
> > > On Thu, Jul 3, 2014 at 12:59 PM, Jmeas Apache <jmeas.apache@gmail.com>
> > > wrote:
> > >
> > > > Thanks for doing all of that work, Matt! Rebasing that must have been
> > no
> > > > easy task. It's much appreciated.
> > > >
> > > > Unfortunately, Carl and I are both still getting the same error due
> to
> > > the
> > > > missing dependency. You were able to run a clean mvn install without
> > > > issue?
> > > >
> > > >
> > > > On Thu, Jul 3, 2014 at 12:45 PM, Matt Franklin <
> > m.ben.franklin@gmail.com
> > > >
> > > > wrote:
> > > >
> > > >> Took longer than expected, but I have it merged.  There are test
> > errors
> > > >> when running some of the javascript tests, so those will still need
> to
> > > be
> > > >> resolved. You can build with mvn -DskipTests=true
> > > >> -DskipIntegrationTests=true clean install to finish testing your
> > patch.
> > > >>  We
> > > >> need to create new issues to resolve the tests.
> > > >>
> > > >>
> > > >> On Wed, Jul 2, 2014 at 1:18 PM, Matt Franklin <
> > m.ben.franklin@gmail.com
> > > >
> > > >> wrote:
> > > >>
> > > >> > On Wed, Jul 2, 2014 at 11:02 AM, Jmeas Apache <
> > jmeas.apache@gmail.com
> > > >
> > > >> > wrote:
> > > >> >
> > > >> >> Matt, I appreciate the quick response!
> > > >> >>
> > > >> >> I took a look at rebasing and it seems like there are quite
a
> large
> > > >> number
> > > >> >> of merge conflicts. I began the process of resolving them
but
> > quickly
> > > >> >> realized my inexperience was leading me to do little more
than
> > > >> guessing at
> > > >> >> resolutions. I think someone with more experience on the
project
> > > could
> > > >> be
> > > >> >> a
> > > >> >> big help here.
> > > >> >>
> > > >> >
> > > >> > I can try to update that branch later today.
> > > >> >
> > > >> >
> > > >> >>
> > > >> >> Would you, or anyone else, have time this afternoon to spend
an
> > hour
> > > or
> > > >> >> two
> > > >> >> working with Carl and I to rebase the project? It would be
> > immensely
> > > >> >> useful
> > > >> >> for us to get started on work if we could get together –
maybe
> over
> > > >> Google
> > > >> >> hangouts?
> > > >> >>
> > > >> >>
> > > >> >> On Wed, Jul 2, 2014 at 10:28 AM, Matt Franklin <
> > > >> m.ben.franklin@gmail.com>
> > > >> >> wrote:
> > > >> >>
> > > >> >> > Master has not been merged into that branch in a very
long
> time.
> > >  Did
> > > >> >> you
> > > >> >> > try that first?
> > > >> >> >
> > > >> >> >
> > > >> >> > On Wed, Jul 2, 2014 at 10:17 AM, Jmeas Apache <
> > > >> jmeas.apache@gmail.com>
> > > >> >> > wrote:
> > > >> >> >
> > > >> >> > > I'm attempting to set up the Angular branch of
the
> application
> > > on a
> > > >> >> > Vagrant
> > > >> >> > > box (branch available here <
> > > https://github.com/apache/rave/pull/2
> > > >> >).
> > > >> >> > >
> > > >> >> > > The non-Angular branch works just fine with the
box: all of
> the
> > > >> >> > > dependencies resolve and I can get the app up and
running.
> But
> > I
> > > >> keep
> > > >> >> > > running into the following error when mvn installing
on the
> > > Angular
> > > >> >> > branch:
> > > >> >> > >
> > > >> >> > > Downloading:
> > > >> >> > >
> > > >> >> > >
> > > >> >> >
> > > >> >>
> > > >>
> > >
> >
> http://repository.apache.org/snapshots/org/apache/rave/rave-shindig/0.23-ANGULAR-SNAPSHOT/rave-shindig-0.23-ANGULAR-SNAPSHOT.war
> > > >> >> > >
> > > >> >> > > [INFO]
> > > >> >> > >
> > > >> >>
> > > >>
> > ------------------------------------------------------------------------
> > > >> >> > >
> > > >> >> > > [INFO] BUILD FAILURE
> > > >> >> > >
> > > >> >> > > [INFO]
> > > >> >> > >
> > > >> >>
> > > >>
> > ------------------------------------------------------------------------
> > > >> >> > >
> > > >> >> > > [INFO] Total time: 16.525s
> > > >> >> > >
> > > >> >> > > [INFO] Finished at: Wed Jul 02 14:08:35 UTC 2014
> > > >> >> > >
> > > >> >> > > [INFO] Final Memory: 10M/247M
> > > >> >> > >
> > > >> >> > > [INFO]
> > > >> >> > >
> > > >> >>
> > > >>
> > ------------------------------------------------------------------------
> > > >> >> > >
> > > >> >> > > [ERROR] Failed to execute goal on project rave-portal:
Could
> > not
> > > >> >> resolve
> > > >> >> > > dependencies for project
> > > >> >> > > org.apache.rave:rave-portal:war:0.23-ANGULAR-SNAPSHOT:
The
> > > >> following
> > > >> >> > > artifacts could not be resolved:
> > > >> >> > >
> > > org.apache.rave:rave-portal-dependencies:pom:0.23-ANGULAR-SNAPSHOT,
> > > >> >> > >
> > org.apache.rave:rave-portal-resources:war:0.23-ANGULAR-SNAPSHOT,
> > > >> >> > > org.apache.rave:rave-shindig:war:0.23-ANGULAR-SNAPSHOT,
> > > >> >> > > org.apache.rave:rave-demo-gadgets:war:0.23-ANGULAR-SNAPSHOT:
> > > >> Failure
> > > >> >> to
> > > >> >> > > find
> > > >> >>
> org.apache.rave:rave-portal-dependencies:pom:0.23-ANGULAR-SNAPSHOT
> > > >> >> > in
> > > >> >> > > http://repository.apache.org/snapshots was cached
in the
> local
> > > >> >> > repository,
> > > >> >> > > resolution will not be reattempted until the update
interval
> of
> > > >> >> > > apache.snapshots has elapsed or updates are forced
-> [Help
> 1]
> > > >> >> > >
> > > >> >> > >
> > > >> >> > > It seems to be caused by the fact that this file
doesn't
> exist.
> > > >> >> > > <
> > > >> >> > >
> > > >> >> >
> > > >> >>
> > > >>
> > >
> >
> http://repository.apache.org/snapshots/org/apache/rave/rave-demo-gadgets/0.23-ANGULAR-SNAPSHOT/rave-demo-gadgets-0.23-ANGULAR-SNAPSHOT.war
> > > >> >> > > >
> > > >> >> > >
> > > >> >> > > Are there any thoughts on how I should proceed?
This is
> > > >> unfortunately
> > > >> >> > > blocking, and I believe Carl is experiencing the
same issue.
> > > >> >> > >
> > > >> >> > >
> > > >> >> > > Some machine details:
> > > >> >> > >
> > > >> >> > > 64-bit Ubuntu 12.04 (hashicorp/precise64)
> > > >> >> > >
> > > >> >> > > Maven 3.1.1
> > > >> >> > >
> > > >> >> > > Java 1.7.0_60
> > > >> >> > >
> > > >> >> >
> > > >> >>
> > > >> >
> > > >> >
> > > >>
> > > >
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message