Maven dependency for uber-jar does not find its version | Community
Skip to main content
salvadorm142499
Level 3
September 15, 2016
Solved

Maven dependency for uber-jar does not find its version

  • September 15, 2016
  • 12 replies
  • 10205 views

Hi all,

I have created a new project by using Eclipse+AEM Plugin for AEM 6.2 based on a multi-module project whose archetype is: aem project archetype 10.

Then, I have removed this dependency:

            <dependency>
                <groupId>com.adobe.aem</groupId>
                <artifactId>aem-api</artifactId>
                <version>6.0.0.1</version>
                <scope>provided</scope>
            </dependency>

And, following the link https://docs.adobe.com/docs/en/aem/6-2/develop/dev-tools/ht-projects-maven.html, I have added this:

    
<dependency>
    <groupId>com.adobe.aem</groupId>
    <artifactId>uber-jar</artifactId>
    <version>6.2.0</version>
    <classifier>apis</classifier>
    <scope>provided</scope>
</dependency>

 

After building my project, I get this error:

[ERROR] Some problems were encountered while processing the POMs:

[ERROR] 'dependencies.dependency.version' for com.adobe.aem:uber-jar:jar is missing. @ com.myproject:aem-bundle-core:[unknown-version]

 

Does anybody know what I am missing?

 

Thanks, Salvador.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Feike_Visser1

Can you checkout/clone this git project, that is working and should bring you further:

git: git clone https://github.com/heervisscher/l318.git

cd l318/lasvegas

maven: mvn clean install -s settings.xml -U

12 replies

Feike_Visser1
Adobe Employee
Adobe Employee
September 16, 2016

You can also check the "result" or "aem6.2" branch.

manish_anand
Level 3
October 25, 2018

Hi,

I am trying to add uber 6.3.2.2, but it says missing dependency. But when i add "<classifier>obfuscated-apis</classifier>", it works fine

Can you please tell me why this classifier is required? Will it be a problem for me later?