On Wed, 2008-08-20 at 14:58 +0100, Alex Bennee wrote: > On Wed, 2008-08-20 at 09:02 -0400, Jeff Gehlbach wrote: > > On Aug 20, 2008, at 4:07 AM, Alex Bennee wrote: > > > > > Erm yes. I'm running 1.6 svn (but not 1.6 testing). Any idea what the > > > changeset was that fixed it? > > > > Looks to have been merged to the 1.6 branch at revision 10015: > > > > http://bugzilla.opennms.org/show_bug.cgi?id=2202#c29 > > Good to know the bugs are being fixed before I actually find them :-) > > However the current tree fails to build for me, I suspect from an > unrelated change: > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Mock SNMP Agent > [INFO] task-segment: [install] > [INFO] > ------------------------------------------------------------------------ > [INFO] [resources:resources] > [INFO] Using default encoding to copy filtered resources. > [INFO] [compiler:compile] > [INFO] Compiling 5 source files > to /export/csrc/opennms.git-svn/mock-snmp-agent/target/classes > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Compilation failure > > /export/csrc/opennms.git-svn/mock-snmp-agent/src/main/java/org/opennms/mock/snmp/MockSnmpAgent.java:[48,23] > package org.snmp4j.agent does not exist
This looks like a failed dependency. If I switch to my old pre-update branch, build and then switch and rebuild it works. A complete build from scratch on the new branch dies as noted. Not being a pom expert I can only guess the following diff may be the culprit? diff --git a/opennms-snmp/opennms-snmp-snmp4j/pom.xml b/opennms-snmp/opennms-snmp-snmp4j/pom.xml index 051a96a..09d49b9 100644 --- a/opennms-snmp/opennms-snmp-snmp4j/pom.xml +++ b/opennms-snmp/opennms-snmp-snmp4j/pom.xml @@ -29,6 +29,7 @@ <dependency> <groupId>org.snmp4j</groupId> <artifactId>snmp4j-agent</artifactId> + <scope>test</scope> </dependency> </dependencies> </project> diff --git a/pom.xml b/pom.xml index fb3bf3b..49b449b 100644 --- a/pom.xml +++ b/pom.xml @@ -1368,6 +1368,7 @@ opennms.home = ${opennms.home} <groupId>org.snmp4j</groupId> <artifactId>snmp4j-agent</artifactId> <version>1.2c</version> + <scope>test</scope> </dependency> <dependency> <groupId>oro</groupId> -- Alex Bennee, Software Engineer The algorithm for finding the longest path in a graph is NP-complete. For you systems people, that means it's *real slow*. -- Bart Miller ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel