# Updating - Docker Maven Plugin configuration "cannot find assemblies"

**URL:** <https://community.bloomreach.com/t/updating-docker-maven-plugin-configuration-cannot-find-assemblies/3478>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [November 14, 2022, 4:49pm UTC](https://community.bloomreach.com/t/updating-docker-maven-plugin-configuration-cannot-find-assemblies/3478 "2022-11-14T16:49:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmtm](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@pmtm](https://community.bloomreach.com/u/pmtm)\
**Post date:** [November 14, 2022, 4:49pm UTC](https://community.bloomreach.com/t/updating-docker-maven-plugin-configuration-cannot-find-assemblies/3478/1 "2022-11-14T16:49:16Z")

</div>

Hi all, I’m looking to update Bloomreach to 14.7.12 (from 14.5.0, with the idea being updating to 15 at some point). Unfortunately I’m having a problem on the build command:

```auto
[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.33.0:remove (Delete docker image) on project *project*: Unable to parse configuration of mojo io.fabric8:docker-maven-plugin:0.33.0:remove for parameter assemblies: Cannot find 'assemblies' in class io.fabric8.maven.docker.config.BuildImageConfiguration

```

The docker image runs ok on 14.5.0, I’ve checked the release notes and as far as I’ve seen everything should be ok - is there something I’m missing? Any pointers would be greatly appreciated 🙂

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [November 22, 2022, 1:57pm UTC](https://community.bloomreach.com/t/updating-docker-maven-plugin-configuration-cannot-find-assemblies/3478/2 "2022-11-22T13:57:30Z")

</div>

HAve you made any customizations to the docker profile?

---

<div class="post-metadata">

**Author:** ![rpereda](https://avatars.discourse-cdn.com/v4/letter/r/8491ac/32.png) [@rpereda](https://community.bloomreach.com/u/rpereda)\
**Post date:** [November 27, 2022, 3:29am UTC](https://community.bloomreach.com/t/updating-docker-maven-plugin-configuration-cannot-find-assemblies/3478/3 "2022-11-27T03:29:21Z")

</div>

Hi, I’m getting the same error message after upgrade to 15.1.2 from 15.1.0 and I haven’t made any customization in the profile

---

<div class="post-metadata">

**Author:** ![pmtm](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@pmtm](https://community.bloomreach.com/u/pmtm)\
**Post date:** [November 28, 2022, 9:11am UTC](https://community.bloomreach.com/t/updating-docker-maven-plugin-configuration-cannot-find-assemblies/3478/4 "2022-11-28T09:11:38Z")

</div>

Hi jasper thanks for responding, the docker.build profile is slightly different to the default:

```auto
    <profile>
      <id>docker.build</id>      
      <dependencies>
        <dependency>
          <groupId>${project.groupId}</groupId>
          <artifactId>${project.artifactId}-cms</artifactId>
          <version>${project.version}</version>
          <type>war</type>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>${project.groupId}</groupId>
          <artifactId>${project.artifactId}-webapp</artifactId>
          <version>${project.version}</version>
          <type>war</type>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>com.onehippo.cms7</groupId>
          <artifactId>hippo-addon-targeting-shared-api</artifactId>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>org.apache.logging.log4j</groupId>
          <artifactId>log4j-slf4j-impl</artifactId>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>org.slf4j</groupId>
          <artifactId>jcl-over-slf4j</artifactId>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>org.apache.logging.log4j</groupId>
          <artifactId>log4j-api</artifactId>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>org.apache.logging.log4j</groupId>
          <artifactId>log4j-core</artifactId>           
          <scope>provided</scope>
        </dependency>              
      </dependencies>
    </profile>

```

Out of curiosity I have tried a clean install and checked a few things, including specifying the 0.33.0 version of the docker-maven-plugin which resulted in the same error. I had tried more updated versions of the plugin without success however, so I’m thinking that there’s something else either directly or in addition.

---

<div class="post-metadata">

**Author:** ![jeroen.hoffman](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jeroen.hoffman/32/43_2.png) [@jeroen.hoffman](https://community.bloomreach.com/u/jeroen.hoffman)\
**Post date:** [November 28, 2022, 10:04am UTC](https://community.bloomreach.com/t/updating-docker-maven-plugin-configuration-cannot-find-assemblies/3478/5 "2022-11-28T10:04:07Z")

</div>

Hi,  
In versions 14.7.9 and 15.1.1 we bumped the io.fabric8:docker-maven-plugin from 0.33.0 to 0.40.2 and started to use `<assemblies>` in the default configuration (projects inherit that from our release pom). AFAICS that should work, the plugin does support it… at least it’s documented like that in [fabric8io/docker-maven-plugin](https://dmp.fabric8.io/#build-assembly)

Regards, Jeroen
