cancel
Showing results for 
Search instead for 
Did you mean: 

Plugin not detected/loaded

koxon_
Confirmed Champ
Confirmed Champ

Hello,

I am trying to deploy my plug-in on my nuxeo-cap-6.0-HF02-tomcat instance in the cloud. My code works fine in Eclipse (same SDK) and is being deployed correctly.

However, on my instance, Tomcat doesn't pickup the plug-in. There is no output or error. I put it in nxserver/plugins. The permissions are correct.

I tried to export the JAR from Eclipse and build it with Maven. None works.

My MANIFEST

Manifest-Version: 1.0
Bundle-Vendor: SportArchive
Bundle-ActivationPolicy: lazy
Bundle-ClassPath: .
Bundle-Version: 1.0.1
Bundle-Name: SportArchiveNuxeoPlugin
Nuxeo-Component: OSGI-INF/extensions/tv.sportarchive.CreateGroupsOnCreateDomain.xml,OSGI-INF/extensions/tv.sportarchive.OrchestrateSync.xml
Bundle-ManifestVersion: 2
Bundle-SymbolicName: tv.sportarchive
Bundle-RequiredExecutionEnvironment: JavaSE-1.7

Start of my pom.xml file

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">;
  <modelVersion>4.0.0</modelVersion>
  <groupId>tv.sportarchive</groupId>
  <artifactId>SportArchiveNuxeoPlugin</artifactId>
  <version>0.1</version>
  <name>SportArchiveNuxeoPlugin</name>
  
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>1.7</maven.compiler.source>
  	<maven.compiler.target>1.7</maven.compiler.target>
  </properties>
  
  <description>
    Sport Archive plugin to sync data from nuxeo to orchestrate
  </description>
  
  <dependencyManagement>
  [...]

I also have a deployment-fragment.xml (couldn't find much doc about this)

<?xml version="1.0"?>
<fragment version="1">
  <require>all</require>
  <install>
  </install>  
</fragment>

What am I missing?

Thanks and happy new year to all

1 REPLY 1

Florent_Guillau
World-Class Innovator
World-Class Innovator

You need a proper <parent> that will defined the configuration of the various plugins, including the one that builds the JAR. See How to create an empty bundle in the documentation.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.