Issue #306 resolved

Installing plugin breaks classpath.xml

Nelson Graça
created an issue

When installing my plugin via the "Install Package" and selecting my plugin package to upload and install, the classpath.xml will be missing one path (at least it was what happened with my test) causing scm manager to fail to start due to a java.lang.NoClassDefFoundError, I have attached the classpath.xml before and after installing the plugin, adding the line for my plugin jar to the correct classpath.xml file fixed the issue, but it should not break like that.

Comments (6)

  1. Nelson Graça reporter

    Could be related but installing my plugin breaks installation of others, for example scm-bzr-plugin.

    The message in the logs is: SEVERE: Servlet.service() for servlet [default] in context with path [/scm] threw exception [Filtered request failed.] with root cause org.sonatype.aether.transfer.ArtifactNotFoundException: Could not find artifact com.denkode:scm-adauth:jar:1.0 in central (http://repo1.maven.org/maven2/)

  2. Log in to comment