[Neo] maven question
anders at neotechnology.com
Wed Nov 5 20:06:51 CET 2008
Thanks for the input on Maven, Tim! Still I couldn't find out what
differs, but that's a minor problem :-)
Next question: What's the best option when deploying neo4j code examples
using Maven? It's really not of any interest to deploy the artifact
itself, it's the sources (if possible with some exclusion of resources)
that we want.
When the project itself relies on Maven to run, I think the easiest way
is actually that people use mvn scm:checkout on some tagged location.
Any disadvantages to this approach?
I looked at the assembly plugin, but it seems to require an extra
command (not just mvn deploy). Or am I wrong here?
Is source:jar a better option? I'm not really sure regarding how to do
to get it included in the deploy automatically.
Tim O'Brien skrev:
> A few quick suggestions:
> 1. Clear out the local repository on the machine in question, check
> the update policy for your snapshots.
> 2. What version of Maven are you running? Make sure the versions are
> the same. Maven 2.0.9 was the first version to set the core plugin
> versions, you should be running at least 2.0.9.
> 3. Use:
> a. mvn help:effective-pom
> b. mvn help:effective-settings
> c. mvn help:active-profiles
> These commands will interpolate all of the various settings files and
> poms to show you if there are any effective differences. Maybe
> someone did a custom config in ~/.m2/settings.xml or in M2_HOME/conf/
> settings.xml. (More info here: http://www.sonatype.com/book/reference/installation.html#d0e1172)
> 4. Are you hitting the public repository? Are the two machines
> hitting difference repositories? If you are not running Nexus, I'd
> suggest that you download it and run it, it will give you insight into
> your repo and a target to which you can deploy artifacts.
> On Oct 17, 2008, at 4:22 AM, Anders Nawroth wrote:
>> I have a problem generating the Clirr report for the neo component the
>> way I want it:
>> When generated on other machines, it will include information on what
>> versions were compared, but when generating the site on the server
>> will not show up. The reports are generated from the same revision.
>> at the moment, the missing information is important ...
>> Any pointers regarding where I should be looking? What could
>> possibly be
>> causing the difference?
>> Maven snippet below. On the other machines, the addition of the
>> tag makes the versions show up in the report.
>> Neo mailing list
>> User at lists.neo4j.org
> Neo mailing list
> User at lists.neo4j.org
Anders Nawroth [anders at neotechnology.com]
GTalk, Skype: anders.nawroth
Phone: +46 737 894 163
More information about the User