[oXygen-sdk] Problem with using the "defaultFrameworkSources" dependency

Jan Bevers jbevers at sdl.com
Fri May 23 02:21:04 CDT 2014


Hi

I was trying to upgrade my project to use the new Maven repository.

In one of my projects I used to have a dependency to "dita.jar" by referencing it as a system type.
Now I've changed the dependency in my pom.xml as followed.

<dependency>
            <groupId>com.oxygenxml</groupId>
            <artifactId>oxygen</artifactId>
            <classifier>defaultFrameworksSources</classifier>
            <type>jar</type>
            <version>16.0.0</version>
</dependency>

In my code I'm extending from the DITAConrefResolver class.

package sdl.trisoft.framework.dita;

import ro.sync.ecss.extensions.dita.conref.DITAConRefResolver;
...

public class TrisoftDITAContentResolver extends DITAConRefResolver {
...

}

When using a reference to the old dita.jar this worked without problems. After changing the dependency to use the online one I was getting compilation errors.
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project oxygen-sample-framework: Compilation failure: Compilation failure:
sdl/trisoft/framework/dita/TrisoftDITAContentResolver.java:[19,42] error: package ro.sync.ecss.extensions.dita.conref does not exist
...

I'm using NetBeans as an IDE.

Kind regards

Jan Bevers | Developer | SDL | +32 (0)15 400 970 | jbevers at sdl.com

</pre><font face="arial" size="2" color="#736F6E">

<a href="http://www.sdl.com/?utm_source=Email&utm_medium=Email%2BSignature&utm_campaign=SDL%2BStandard%2BEmail%2BSignature">
<img src="http://www.sdl.com/Content/images/SDLlogo2014.png" border=0><br>www.sdl.com
</a><br><br>

<font face="arial" size="1" color="#736F6E">

<b>SDL PLC confidential, all rights reserved.</b>

If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, 
and we further request that you advise us.<BR>
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.<BR>
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.
</font>


This message has been scanned for malware by Websense. www.websense.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-sdk/attachments/20140523/5a0b6f27/attachment.html>


More information about the oXygen-sdk mailing list