[Resin-interest] resin-maven-plugin
Hi, I'm having some trouble getting the maven plugin to work. I've been trying with various versions of 3.1, and it seems to me that the runtime dependencies from maven aren't added to the classpath of the maven plugin. Is there some configuration option I've missed? I've tried adding requiresDependencyResolutionruntime/requiresDependencyResolution to the plugin.xml, but that didn't do much. (btw, it seems all the 3.1.* jars in the maven repo is labeled 3.1-SNAPSHOT in the manifest pom). I've also tried the 4.0.9 version, and that gives me [INFO] [resin:run {execution: default-cli}] com.caucho.config.ConfigRuntimeException: java.lang.ClassNotFoundException: com.caucho.server.resin.EnvInit at com.caucho.config.ConfigException.create(ConfigException.java:168) followed by Nov 2, 2010 12:04:43 PM com.caucho.server.cluster.Server init WARNING: java.lang.NullPointerException java.lang.NullPointerException at com.caucho.util.Alarm.queue(Alarm.java:382) I've googled, stackoverflowed and decompiled, and I'm still completely lost. Any help would be appreciated! For starters, where's the source code for this plugin? I couldn't find it in the official svn repo. Regards, Erlend Halvorsen B | Erlend Halvorsen, Senior Consultant E | +47 982 19 365, erlend.halvor...@bekk.nomailto:erlend.halvor...@bekk.no K | bekk consulting as, pb. 134 sentrum, 0102 oslo, norway K | www.bekk.nohttp://www.bekk.no ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] resin-maven-plugin problems
I've created maven web project as recommended on http://wiki.caucho.com/Maven2 For com.caucho:resin-maven-plugin:3.1.5 got error message: C:\my-webappmvn resin:run -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager getting plugin 'com.caucho:resin-maven-plugin': Plugin 'com.caucho:resin-maven-plugin:3.1.5' has an invalid descript or: 1) Plugin's descriptor contains the wrong version: 3.1-SNAPSHOT [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager getting plugin 'com.caucho:resin-maven-plugin': Plugin 'com.caucho: resin-maven-plugin:3.1.5' has an invalid descriptor: 1) Plugin's descriptor contains the wrong version: 3.1-SNAPSHOT at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLi fecycleExecutor.java:1544) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(Defa ultLifecycleExecutor.java:1787) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggre gationNeeds(DefaultLifecycleExecutor.java:462) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecyc leExecutor.java:175) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm pl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.PluginManagerException: Plugin 'com.caucho:resin-maven-plugin:3.1.5' has an invalid descriptor: 1) Plugin's descriptor contains the wrong version: 3.1-SNAPSHOT at org.apache.maven.plugin.DefaultPluginManager.addPlugin(DefaultPluginManage r.java:330) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(Default PluginManager.java:224) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginMan ager.java:184) at org.apache.maven.plugin.DefaultPluginManager.loadPluginDescriptor(DefaultP luginManager.java:1642) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLi fecycleExecutor.java:1540) ... 15 more [INFO] [INFO] Total time: 1 second [INFO] Finished at: Thu Jun 24 12:40:15 PDT 2010 [INFO] Final Memory: 3M/247M For com.caucho:resin-maven-plugin:4.0-SNAPSHOT maven:run works OK , but only for static content. If you have beans.xml, the definition of this file is different for SNAPSHOT version (Beans xmlns=urn:java:ee /) and the latest 4.0.7 version (beans xmlns=http://java.sun.com/xml/ns/javaee /) Starting com.caucho:resin-maven-plugin:4.0.2 (4.0.3, 4.0.7) I've got an error: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Failed to configure plugin parameters for: com.caucho:resin-maven-plugin:4.0.2 Cause: Cannot find setter nor field in com.caucho.maven.MavenRun for 'contextRoot' [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: com.caucho:resin-maven-plugin. Reason: Unable to parse the created DOM for plugin con figuration at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLi fecycleExecutor.java:723) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal( DefaultLifecycleExecutor.java:569) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLif ecycleExecutor.java:539) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFa ilures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(De faultLifecycleExecutor.java:348)
[Resin-interest] Resin Maven Plugin 3.2.1
Hi, I just upgraded the resin-maven-plugin from 3.1.5 to 3.2.1. The first time I entered mvn resin:run, it began downloading a ton of libraries and eventually failed, When I try to launch Resin via a mvn resin:run, Maven fails with a number of missing dependencies. It seems that the Caucho M2 Repository is missing a number of these dependencies: resin-ejb:jar:3.2.1 resin-j2ee-management:jar:3.2.1 resin-jca:jar:3.2.1 resin-jms:jar:3.2.1 resin-jsdk:jar:3.2.1 etc... Why are these dependencies not found in the Caucho M2 Repo? ( http://caucho.com/m2) This is from my pom.xml: plugin groupIdcom.caucho/groupId artifactIdresin-maven-plugin/artifactId version3.2.1/version /plugin Regards, Rob ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest
[Resin-interest] resin-maven-plugin / dependencies
Hi, most of the resin-maven-plugins of version 3.1.6 lack dependencies in the caucho m2 repository. E.g., these are missing for the 3.2.1 branch: com.caucho:resin-ejb:jar:3.2.1 com.caucho:resin-j2ee-management:jar:3.2.1 com.caucho:resin-jca:jar:3.2.1 com.caucho:resin-jms:jar:3.2.1 com.caucho:resin-jsdk:jar:3.2.1 com.caucho:resin-jstl:jar:3.2.1 com.caucho:resin-jpa:jar:3.2.1 com.caucho:resin-jta:jar:3.2.1 com.caucho:resin-jws:jar:3.2.1 com.caucho:resin-support:jar:3.2.1 com.caucho:resin-webbeans:jar:3.2.1 Also, v3.1.7a isn't in the repository as well. Could you take a look at it? Thanks! Best regards, --- Jan. ___ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest