Maven integration broken with latest stable?

494 views
Skip to first unread message

MeatPopSci

unread,
Mar 18, 2012, 2:26:43 PM3/18/12
to Scale 7 - Libraries and systems for scalable computing
Hello, first post for support.

I am just starting new with Casandra, Pelops, IntelliJ and Maven. So
within my perfect storm of not knowing i am running into what i can
only guess is a simple user misunderstanding or mis-config.

In intelliJ community release 11, i am trying to add Pelops to my pom
based on the instructions found here: [https://github.com/s7/scale7-
pelops]

In these instructions is this: "note, the maven.scale7.org repo isn't
nexus friendly"

I am guessing that if i was more familiar with maven that this would
really mean something to me, but alas it does not.

The error i am seeing in OS X 10.6 Console is:

3/18/12 11:09:21 AM [0x0-0x4d24d2].com.jetbrains.intellij.ce[7656]
[3066553] WARN - #org.jetbrains.idea.maven - Failed to update
Maven indices for: [maven.scale7.org] https://github.com/s7/mvnrepo/raw/master
3/18/12 11:09:21 AM [0x0-0x4d24d2].com.jetbrains.intellij.ce[7656]
org.jetbrains.idea.maven.server.MavenServerIndexerException:
java.io.FileNotFoundException: Resource nexus-maven-repository-
index.zip does not exist

Sounds like this is the "not nexus friendly" part. BUT this does not
appear to be a "solvable-by-me" error so since i can see no recent
posts similar to mine i can only guess that i am the problem.

That said does anyone have a solution?

MeatPopSci

unread,
Mar 18, 2012, 2:34:14 PM3/18/12
to Scale 7 - Libraries and systems for scalable computing
Thinking that maven supports local repos, it seems i could just create
the jar and manage it in my own local repo , following these
instructions:

http://www.mkyong.com/maven/how-to-include-library-manully-into-maven-local-repository/

but that just seems counter to the scale7 folks adding maven
support ..

again, i am open to correction.

Dan Washusen

unread,
Mar 18, 2012, 5:43:40 PM3/18/12
to sca...@googlegroups.com
Hi! 
I've just confirmed that the scale7 repository still works as expected, there's no need to manually install jars etc so it's possibly something to do with your environment or setup...

Nexus is a maven repository manager and proxy - it's usually used in corporate or team environment when several users need to share a repository.  The comment about the scale7 repo not being Nexus friendly shouldn't affect you if you're using the basic maven setup…

The basic steps are as follows;
  1. In your POM file add the repositories sections (as shown on the scale7 page)
  2. In the dependencies section of the POM file add the Pelops dependency
  3. Then in Idea find the 'Maven Projects' tab and click the refresh button
If you send through your pom file I'll have a quick look...

Cheers,
-- 
Dan Washusen
Make big files fly

Jonathan Raflowski

unread,
Mar 18, 2012, 6:02:30 PM3/18/12
to sca...@googlegroups.com
Thanks for the response, 

Here is my updated pom, modified according to: https://github.com/s7/scale7-pelops

Again its IntelliJ that is basically highlighting the scale7 pom entry with a "dependency not found" error.
pom.xml.zip

Dan Washusen

unread,
Mar 18, 2012, 6:21:31 PM3/18/12
to sca...@googlegroups.com
I can see Pelops defined in the /project/dependencyManagement/dependencies section but not in the /project/dependencies section…?  I'd suggest having a read of http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html…  

-- 
Dan Washusen
Make big files fly
Attachments:
- pom.xml.zip

MeatPopSci

unread,
Mar 18, 2012, 6:29:36 PM3/18/12
to Scale 7 - Libraries and systems for scalable computing
*Correctly* defining the project's dependencies is a prerequisite to
sharing said dependency with a sub project .. go figure.

thank you,

On Mar 18, 3:21 pm, Dan Washusen <d...@reactive.org> wrote:
> I can see Pelops defined in the /project/dependencyManagement/dependencies section but not in the /project/dependencies section…?  I'd suggest having a read ofhttp://maven.apache.org/guides/introduction/introduction-to-dependenc...
>
> --
> Dan Washusen
> Make big files fly
> visit digitalpigeon.com (http://digitalpigeon.com)
>
>
>
>
>
>
>
> On Monday, 19 March 2012 at 9:02 AM, Jonathan Raflowski wrote:
> > Thanks for the response,
>
> > Here is my updated pom, modified according to:https://github.com/s7/scale7-pelops
>
> > Again its IntelliJ that is basically highlighting the scale7 pom entry with a "dependency not found" error.
>
> > On Sun, Mar 18, 2012 at 2:43 PM, Dan Washusen <d...@reactive.org (mailto:d...@reactive.org)> wrote:
> > > Hi!
> > > I've just confirmed that the scale7 repository still works as expected, there's no need to manually install jars etc so it's possibly something to do with your environment or setup...
>
> > > Nexus (http://www.sonatype.org/nexus/) is a maven repository manager and proxy - it's usually used in corporate or team environment when several users need to share a repository.  The comment about the scale7 repo not being Nexus friendly shouldn't affect you if you're using the basic maven setup…
>
> > > The basic steps are as follows;
> > > In your POM file add the repositories sections (as shown on the scale7 page)
> > > In the dependencies section of the POM file add the Pelops dependency
> > > Then in Idea find the 'Maven Projects' tab and click the refresh button
>
> > > If you send through your pom file I'll have a quick look...
>
> > > Cheers,--
> > > Dan Washusen
> > > Make big files fly
> > > visit digitalpigeon.com (http://digitalpigeon.com)
>
> > > On Monday, 19 March 2012 at 5:34 AM, MeatPopSci wrote:
>
> > > > Thinking that maven supports local repos, it seems i could just create
> > > > the jar and manage it in my own local repo , following these
> > > > instructions:
>
> > > >http://www.mkyong.com/maven/how-to-include-library-manully-into-maven...
>
> > > > but that just seems counter to the scale7 folks adding maven
> > > > support ..
>
> > > > again, i am open to correction.
>
> > > > On Mar 18, 11:26 am, MeatPopSci <jraflow...@gmail.com (http://gmail.com)> wrote:
> > > > > Hello, first post for support.
>
> > > > > I am just starting new with Casandra, Pelops, IntelliJ and Maven.  So
> > > > > within my perfect storm of not knowing i am running into what i can
> > > > > only guess is a simple user misunderstanding or mis-config.
>
> > > > > In intelliJ community release 11, i am trying to add Pelops to my pom
> > > > > based on the instructions found here: [https://github.com/s7/scale7-
> > > > > pelops]
>
> > > > > In these instructions is this: "note, the maven.scale7.org (http://maven.scale7.org) repo isn't
> > > > > nexus friendly"
>
> > > > > I am guessing that if i was more familiar with maven that this would
> > > > > really mean something to me, but alas it does not.
>
> > > > > The error i am seeing in OS X 10.6 Console is:
>
> > > > > 3/18/12 11:09:21 AM     [0x0-0x4d24d2].com.jetbrains.intellij.ce[7656]
> > > > > [3066553]   WARN -      #org.jetbrains.idea.maven - Failed to update
> > > > > Maven indices for: [maven.scale7.org (http://maven.scale7.org)]https://github.com/s7/mvnrepo/raw/master
Reply all
Reply to author
Forward
0 new messages