Access-control-base jar is missing

Recently I bumped up version to 1.2.44 for android-api-model and 1.2.11 for poynt-sdk. After update I’m not able to build the application, as co.poynt.security:access-control-base:jar:1.2.12 has compile scope and I can’t get it from nexus.

I have repositories configured like this:

<repositories>
 <repository>
  <id>poynt-release</id>
  <url>https://nexus.poynt.co/content/repositories/releases</url>
 </repository>
 <repository>
  <id>poynt-snapshot</id>
  <url>https://nexus.poynt.co/content/repositories/snapshots</url>
</repository>

and here are poynt dependencies in my pom file

<dependency>
  <groupId>co.poynt.api</groupId>
  <artifactId>android-api-model</artifactId>
  <version>1.2.44</version>
</dependency>

<dependency>
  <groupId>co.poynt.android.sdk</groupId>
  <artifactId>poynt-sdk</artifactId>
  <version>1.2.11</version>
  <type>aar</type>
</dependency>

Any help would be appreciated.

Can you share you pom.xml?
Also are you able to build if you go to the previous version of the sdk and api model?
Can you tell me what poynt services your application is referencing?

Hi,
So, yes I’m able to build when going back to previous versions (1.2.25 for android-api-model and 1.2.7 for poynt-sdk).
I using payment services - my application is based on an example from your page (https://poynt.github.io/developer/tut/poynt-payment-fragments.html).

Here is my pom:

android.version = 4.4.2
android.sdk.version = 19

<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/xsd/maven-4.0.0.xsd">

  <parent>
    <groupId>com.example</groupId>
    <artifactId>android</artifactId>
    <version>1.0</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <artifactId>runner</artifactId>
  <version>1.0</version>
  <packaging>apk</packaging>
  <name>Example Runner</name>
  <properties>
    <dep.classes.dir>${project.build.directory}/dependency-classes</dep.classes.dir>
    <repository.basedir>${basedir}/../../..</repository.basedir>
    <android.maven.plugin.version>4.2.1</android.maven.plugin.version>
  </properties>
  <dependencies>
    <dependency>
      <groupId>android</groupId>
      <artifactId>android</artifactId>
      <version>${android.version}</version>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>com.google.zxing</groupId>
      <artifactId>android-integration</artifactId>
      <version>3.1.0</version>
    </dependency>

    <dependency>
      <groupId>co.poynt.api</groupId>
      <artifactId>android-api-model</artifactId>
      <version>1.2.44</version>
    </dependency>

    <dependency>
      <groupId>co.poynt.android.sdk</groupId>
      <artifactId>poynt-sdk</artifactId>
      <version>1.2.11</version>
      <type>aar</type>
    </dependency>

  </dependencies>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-toolchains-plugin</artifactId>
        <version>1.1</version>
        <configuration>
          <toolchains>
            <jdk>
              <version>1.6</version>
              <vendor>oracle</vendor>
            </jdk>
          </toolchains>
        </configuration>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-dependency-plugin</artifactId>
        <version>2.0</version>
        <executions>
          <execution>
            <id>copy-war</id>
            <phase>generate-sources</phase>
            <goals>
              <goal>copy-dependencies</goal>
            </goals>
            <configuration>
              <outputDirectory>${project.build.directory}/res-overlay/raw</outputDirectory>
              <overWriteReleases>false</overWriteReleases>
              <overWriteSnapshots>false</overWriteSnapshots>
              <overWriteIfNewer>true</overWriteIfNewer>
              <excludeTransitive>true</excludeTransitive>
              <stripVersion>true</stripVersion>
              <includeArtifactIds>runner</includeArtifactIds>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>com.simpligility.maven.plugins</groupId>
        <artifactId>android-maven-plugin</artifactId>
        <version>${android.maven.plugin.version}</version>
        <extensions>true</extensions>
        <configuration>
          <androidManifestFile>./AndroidManifest.xml</androidManifestFile>
          <resourceDirectory>res</resourceDirectory>
          <assetsDirectory>assets</assetsDirectory>
          <sdk>
            <platform>${android.sdk.version}</platform>
          </sdk>
          <extractDuplicates>true</extractDuplicates>
          <undeployBeforeDeploy>true</undeployBeforeDeploy>
          <resourceOverlayDirectories>
            <resourceOverlayDirectory>${project.build.directory}/res-overlay</resourceOverlayDirectory>
          </resourceOverlayDirectories>
        </configuration>
        <executions>
          <execution>
            <id>alignApk</id>
            <phase>package</phase>
            <goals>
              <goal>zipalign</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <id>sign</id>
      <build>
        <plugins>
          <plugin>
            <groupId>com.simpligility.maven.plugins</groupId>
            <artifactId>android-maven-plugin</artifactId>
            <version>${android.maven.plugin.version}</version>
            <configuration>
              <sign>
                <debug>false</debug>
              </sign>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  <repositories>
    <repository>
      <id>poynt-release</id>
      <url>https://nexus.poynt.co/content/repositories/releases</url>
    </repository>
    <repository>
      <id>poynt-snapshot</id>
      <url>https://nexus.poynt.co/content/repositories/snapshots</url>
    </repository>
  </repositories>
</project>

Hi,

Any ideas what can be wrong?

Hi Michael,

We have tried but haven’t been able to reproduce this. But we are mostly using Android Studio (assuming your are using Eclipse?)

One more thing we can try is have you create a blank project with a pom file that causes the issue and send it to us.

Hi yes - I can reproduce the problem. Sorry about that - we added a transitive dependency for an internal library (https://nexus.poynt.com/content/groups/public/co/poynt/android/sdk/poynt-sdk/1.2.13/poynt-sdk-1.2.13.pom) - let me fix it today and update this thread.

alright fixed - can you please try with poynt sdk version: 1.2.13 and android-api-model: 1.2.56?

It works!
Thank you very much!