On Jan 10, 2008 9:58 AM, Evan Worley <[EMAIL PROTECTED]> wrote: > Hi Erik, > > I can't make any sense of the exception below, but I do see one of the > integration tests failing in your build, > http://hudson.ramfelt.se/job/NMaven/lastBuild/testReport/org.apache.maven.dotnet.its/Suite/testit0007/
Yes that is correct. That had nothing to do with the exception I described in my email. Just to make sure, is this an expected failure? > We have not been able to deploy nunit to a public repository yet, so the > nmaven build is unable to resolve the nunit framework dependency which is > required to compile tests. This is something we are actively working on. Ok, then I will wait for a working version of the NMaven NUnit plugin before I start integrating it with Hudson's maven job. > Wish I could help more, You do not have to help more, Im almost 100% sure that the exception is related to Hudson. So please ignore the part about the assert exception in my email. //Erik > On Jan 9, 2008 11:53 PM, Erik Ramfelt <[EMAIL PROTECTED]> wrote: > > Ok, Ive created a job for running the it-tests (only in mono/linux) > > Its available at http://hudson.ramfelt.se/job/NMaven/. Currently there > > is one failing integration test. The job polls the SVN every 10min to > > see if there are any updates, if there are it will run "mvn install -P > > run-its". > > > > > > Hudson can also support maven directly (ie uses Maven classes and not > > command prompt), my aim is to extend this support for the NUnit tests. > > But when I ran the integration tests as a Maven job (a type of Hudson > > job), I get an assert exception > > (reporters.get(org.apache.maven.dotnet:core-integration-tests)==null) > > that is not thrown when I run the integration tests in a command > > prompt. Perhaps you could help me shed some light on this why the > > exception is thrown? > > > > //Erik > > > > Exception (complete log at > > http://hudson.ramfelt.se/job/NMaven%20maven%20job/25/console ): > > [INFO] Building core-integration-tests > > [INFO] task-segment: [install] > > [INFO] > ------------------------------------------------------------------------ > > [INFO] > ------------------------------------------------------------------------ > > [ERROR] FATAL ERROR > > [INFO] > ------------------------------------------------------------------------ > > [INFO] reporters.get(org.apache.maven.dotnet:core-integration-tests > )==null. > > > reporters={org.apache.maven.dotnet.plugins:[EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] , > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED] > , > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] ], > > > org.apache.maven.dotnet.plugins:[EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED] > , > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] ], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] , > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > [EMAIL PROTECTED] , > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] ], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > org.apache.maven.dotnet.plugins:maven-compiler-plugin=[ > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] , > > [EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] > > proxies={ > org.apache.maven.dotnet.plugins:[EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > > org.apache.maven.dotnet.plugins:[EMAIL PROTECTED] > , > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED] > , > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > > org.apache.maven.dotnet.plugins:[EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED] > } > > > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Trace > > java.lang.AssertionError: > > reporters.get(org.apache.maven.dotnet:core-integration-tests)==null. > > reporters={org.apache.maven.dotnet.plugins:dotnet-test-plugin= > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] , > > [EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > > org.apache.maven.dotnet.plugins:[EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] , > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] ], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] , > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > [EMAIL PROTECTED] , > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] ], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > org.apache.maven.dotnet.plugins:maven-compiler-plugin=[ > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] , > > [EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED], > > [EMAIL PROTECTED] > > proxies={ > org.apache.maven.dotnet.plugins:[EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > > org.apache.maven.dotnet.plugins:[EMAIL PROTECTED] > , > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED] > , > > > org.apache.maven.dotnet:[EMAIL PROTECTED], > > > org.apache.maven.dotnet.plugins:[EMAIL PROTECTED], > > > org.apache.maven.dotnet:[EMAIL PROTECTED] > } > > at > hudson.maven.MavenModuleSetBuild$Builder.postModule(MavenModuleSetBuild.java:422) > > at > hudson.maven.MavenBuilder$Adapter.fireLeaveModule(MavenBuilder.java:191) > > at hudson.maven.MavenBuilder$Adapter.postBuild > (MavenBuilder.java:162) > > at > org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:45) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) > > > > > > > > > > On Jan 3, 2008 12:13 AM, Shane Isbell < [EMAIL PROTECTED]> wrote: > > > Hi Erik, > > > > > > Is the Hudson build machine setup, where it could run the NMaven IT > tests > > > (with Microsoft and/or Novell/Mono frameworks)? > > > > > > Thanks, > > > Shane > > > > > > > > > > > > On Jan 2, 2008 1:18 PM, Erik Ramfelt <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > On Dec 28, 2007 7:22 PM, Evan Worley < [EMAIL PROTECTED]> wrote: > > > > > Hi Erik, > > > > > > > > > > We have a few projects that use NMaven/NUnit to build/test .net > > > components, > > > > > but they are not public. Also we are currently using a home baked > > > version > > > > > of NMaven from approximately 9 months ago. I will be working on > > > re-building > > > > > NUnit support into the new and improved NMaven, and once it is ready > we > > > plan > > > > > to consume the latest release. > > > > > > > > What is the status of the nunit-plugin today? How different will the > > > > NUnit plugin be when the rebuild is complete? Is it only internal > > > > changes, or will it have external impacts? Im wondering if I integrate > > > > with it today, will I have to redo it when the rebuild is complete? > > > > > > > > > > > > > As part of this work, I will be creating some integration tests > which > > > will > > > > > be simple .net projects with NUnit tests. These might serve your > > > > > development needs, the only downside is that the test suites will be > > > small > > > > > and simple. > > > > > > > > That would very nice to have. Currently Im trying to get NMaven > > > > (Stable-2007-12-16) to work on my debian (etch) box without any > > > > success. Perhaps someone here could shed some light on it (i found a > > > > thread about it at nabble.com but couldnt really find a solution)? > > > > > > > > (BTW, Ive added NMaven to my Hudson CI server if anyone is interested > > > > on how it looks http://hudson.ramfelt.se/job/NMaven/ ) > > > > > > > > > > > > ---------------------------------------------------------------------- > > > > sh bootstrap-build.sh > > > > <snip> > > > > [INFO] > > > ------------------------------------------------------------------------ > > > > [ERROR] BUILD ERROR > > > > [INFO] > > > ------------------------------------------------------------------------ > > > > [INFO] Failed to resolve artifact. > > > > > > > > Missing: > > > > ---------- > > > > 1) org.apache.maven:maven-embedder:jar:2.0.8 > > > > > > > > Try downloading the file manually from the project website. > > > > > > > > Then, install it using the command: > > > > mvn install:install-file -DgroupId=org.apache.maven > > > > -DartifactId=maven-embedder \ > > > > -Dversion= 2.0.8 -Dpackaging=jar -Dfile=/path/to/file > > > > > > > > Path to dependency: > > > > 1) > > > org.apache.maven.dotnet:dotnet-embedder:jar:0.14-incubating-SNAPSHOT > > > > 2) org.apache.maven:maven-embedder:jar:2.0.8 > > > > ---------- > > > > 1 required artifact is missing. > > > > > > > > for artifact: > > > > org.apache.maven.dotnet:dotnet-embedder:jar:0.14-incubating-SNAPSHOT > > > > > > > > from the specified remote repositories: > > > > codehaus-snapshot-repo ( http://snapshots.repository.codehaus.org), > > > > central ( http://repo1.maven.org/maven2), > > > > apache.org ( http://people.apache.org/repo/m2-snapshot-repository ), > > > > aduna.org (http://repository.aduna-software.org/maven2 ) > > > > ---------------------------------------------------------------------- > > > > > > > > cheers > > > > //Erik > > > > > > > > > > > > > > > > > > > > > > Cheers, > > > > > Evan > > > > > > > > > > > > > > > > > > > > On Dec 28, 2007 2:40 AM, Erik Ramfelt < [EMAIL PROTECTED]> wrote: > > > > > > Hi > > > > > > > > > > > > Ive developed a NUnit plugin for the Hudson continuous integration > > > > > > server ( https://hudson.dev.java.net/), that displays the test > results > > > > > > for every build. A while ago I noticed the NMaven project and its > > > > > > NUnit support, and now Iam interested in adding support for maven > > > > > > (really NMaven) and NUnit into Hudson. > > > > > > > > > > > > Therefore I wonder if there are any public projects that are using > > > > > > NMaven to build software and are using NUnit to test it. That way > I > > > > > > can use a real project when implementing the support. Or is the > NMaven > > > > > > project using NUnit to test any of its parts? > > > > > > > > > > > > > > > > > > //Erik > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
