diff --git a/cekit/generator/base.py b/cekit/generator/base.py
index 85ed250..d79739b 100644
--- a/cekit/generator/base.py
+++ b/cekit/generator/base.py
@@ -526,7 +526,7 @@ class ModuleRegistry(object):
 
             default_module = self.get_module(name, default_version)
 
-            if not suppress_warnings:
+            if not suppress_warnings and len(modules) > 1:
                 LOGGER.warning("Module version not specified for '{}' module, using '{}' default version".format(
                     name, default_version))
 

cekit (-v) warns about missing module version for a dependency
**Describe the bug**

Cekit (in verbose mode) complains (WARNING) about a missing module version, for a module dependency, and chooses a default version. But in practise the most common way to depend upon a module is version-less. So this is very noisy.

**To reproduce**
The OpenJDK image demonstrates this (see logs below)

**Expected behavior**

Perhaps cekit could only WARN if it knew about more than one module version instead of always.

**Logs**

```
2019-09-16 15:54:22,483 cekit        DEBUG    Preparing module 'jboss.container.user' required by 'jboss.container.openjdk.jdk'.
2019-09-16 15:54:22,483 cekit        WARNING  Module version not specified for 'jboss.container.user' module, using '1.0' default version
2
```

this is cekit 3.4.0
diff --git a/tests/test_unit_image.py b/tests/test_unit_image.py
index 5e78f66..747520e 100644
--- a/tests/test_unit_image.py
+++ b/tests/test_unit_image.py
@@ -192,6 +192,45 @@ def test_module_processing_modules_with_multiple_versions(caplog):
     assert "Module version not specified for 'org.test.module.b' module, using '1.1' default version" in caplog.text
 
 
+# https://github.com/cekit/cekit/issues/617
+def test_module_processing_modules_with_single_versions(caplog):
+    caplog.set_level(logging.DEBUG, logger="cekit")
+
+    image = Image(yaml.safe_load("""
+        from: foo
+        name: test/foo
+        version: 1.9
+        """), 'foo')
+
+    module_a = Module(yaml.safe_load("""
+        name: org.test.module.a
+        version: 1.0
+        """), 'path', 'artifact_path')
+
+    module_b = Module(yaml.safe_load("""
+        name: org.test.module.b
+        version: 1.0
+        """), 'path', 'artifact_path')
+
+    module_registry = ModuleRegistry()
+    module_registry.add_module(module_a)
+    module_registry.add_module(module_b)
+
+    resulting_install_list = OrderedDict()
+
+    to_install_list = [
+        Map({'name': 'org.test.module.a', 'version': '1.0'}),
+        Map({'name': 'org.test.module.b'})
+    ]
+
+    image.process_install_list(image, to_install_list, resulting_install_list, module_registry)
+
+    assert resulting_install_list == OrderedDict(
+        [('org.test.module.a', {'name': 'org.test.module.a', 'version': '1.0'}), ('org.test.module.b', {'name': 'org.test.module.b'})])
+
+    assert "Module version not specified for" not in caplog.text
+
+
 def test_module_processing_fail_when_a_module_aready_exists_in_registry():
     module_a = Module(yaml.safe_load("""
         name: org.test.module.a

pip install -e .
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio
apt-get update apt-get install -y gcc
3.6
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
-e git+https://github.com/cekit/cekit.git@378208f15f138999b18f3ade603a755a77e8de8c#egg=cekit
certifi==2021.5.30
click==8.0.4
colorlog==6.9.0
coverage==6.2
docopt==0.6.2
execnet==1.9.0
importlib-metadata==4.8.3
iniconfig==1.1.1
Jinja2==3.0.3
MarkupSafe==2.0.1
packaging==21.3
pluggy==1.0.0
py==1.11.0
pykwalify==1.8.0
pyparsing==3.1.4
pytest==7.0.1
pytest-asyncio==0.16.0
pytest-cov==4.0.0
pytest-mock==3.6.1
pytest-xdist==3.0.2
python-dateutil==2.9.0.post0
PyYAML==6.0.1
ruamel.yaml==0.18.3
ruamel.yaml.clib==0.2.8
six==1.17.0
tomli==1.2.3
typing_extensions==4.1.1
zipp==3.6.0

name: cekit
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - click==8.0.4
      - colorlog==6.9.0
      - coverage==6.2
      - docopt==0.6.2
      - execnet==1.9.0
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - jinja2==3.0.3
      - markupsafe==2.0.1
      - packaging==21.3
      - pluggy==1.0.0
      - py==1.11.0
      - pykwalify==1.8.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytest-asyncio==0.16.0
      - pytest-cov==4.0.0
      - pytest-mock==3.6.1
      - pytest-xdist==3.0.2
      - python-dateutil==2.9.0.post0
      - pyyaml==6.0.1
      - ruamel-yaml==0.18.3
      - ruamel-yaml-clib==0.2.8
      - six==1.17.0
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - zipp==3.6.0
prefix: /opt/conda/envs/cekit

tests/test_unit_image.py::test_module_processing_modules_with_single_versions
tests/test_unit_image.py::test_image_overrides_with_content_sets_none tests/test_unit_image.py::test_image_overrides_with_content_sets_file_none tests/test_unit_image.py::test_module_processing_simple_modules_order_to_install tests/test_unit_image.py::test_module_processing_fail_when_no_modules_of_specified_name_can_be_found tests/test_unit_image.py::test_module_processing_fail_when_module_not_found_for_specific_version tests/test_unit_image.py::test_module_processing_modules_with_multiple_versions tests/test_unit_image.py::test_module_processing_fail_when_a_module_aready_exists_in_registry tests/test_unit_image.py::test_module_processing_warning_when_a_module_version_cannot_be_parsed_as_pep_440 tests/test_unit_image.py::test_image_no_name
cekit/generator/base.py
cekit/generator/base.py