Skip to content
This repository was archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
WEB-5220 - Update libraries for dotCMS and MaxMind
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Falzone committed Sep 25, 2017
1 parent 9013c25 commit 6a7e142
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
9 changes: 4 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ repositories {
}

dependencies {
compile('com.dotcms:dotcms:3.6.1') { transitive = true }
compile('com.maxmind.geoip2:geoip2:2.3.1')
compile('com.fasterxml.jackson.core:jackson-core:2.5.3')
compile('com.fasterxml.jackson.core:jackson-annotations:2.5.0')
compile('com.dotcms:dotcms:4.1.1') { transitive = true }
compile('com.maxmind.geoip2:geoip2:2.9.0')
compile('com.fasterxml.jackson.core:jackson-core:2.8.8')
compile('com.fasterxml.jackson.core:jackson-annotations:2.8.0')
provided('javax.servlet:servlet-api:2.5')
}

Expand All @@ -36,7 +36,6 @@ jar {
instruction 'Bundle-Description', 'Aquent GeoLocation Plugin'
instruction 'Bundle-DocURL', 'http://www.aquent.com'
instruction 'Bundle-Activator', 'com.aquent.viewtools.GeoIPActivator'
instruction 'Bundle-ClassPath', '.', 'lib/maxmindgeoip.jar'
instruction 'DynamicImport-Package', '*'
instruction 'Import-Package', '!org.springframework.*', '!com.maxmind.*', '*;version=0'
instruction 'Embed-Dependency', 'geoip2', 'jackson-core', 'jackson-annotations'
Expand Down
1 change: 1 addition & 0 deletions build/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/com/
Binary file modified build/libs/dotcms-plugins-geolocation-2.1.0-SNAPSHOT.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion src/main/java/com/aquent/viewtools/GeoIPActivator.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package com.aquent.viewtools;

import com.dotcms.repackage.org.osgi.framework.BundleContext;
import com.dotmarketing.osgi.GenericBundleActivator;

import org.osgi.framework.BundleContext;

/**
* @author cfalzone
*
Expand Down

0 comments on commit 6a7e142

Please sign in to comment.