Hi,

I have below set up for tomee maven plugin. It is not downloading
transitive dependencies for hibernate. Is is there a way to download
transitive dependencies without listing them one by one.

        <profile>
            <id>docker</id>
            <build>
                <finalName>accounts</finalName>
                <plugins>
                    <plugin>
                        <groupId>org.apache.tomee.maven</groupId>
                        <artifactId>tomee-maven-plugin</artifactId>
                        <version>8.0.1</version>
                        <executions>
                            <execution>
                                <phase>package</phase>
                                <goals>
                                    <goal>build</goal>
                                </goals>
                            </execution>
                        </executions>
                        <configuration>
                            <tomeeClassifier>plume</tomeeClassifier>

<removeDefaultWebapps>true</removeDefaultWebapps>
                            <libs>

<lib>org.hibernate:hibernate-entitymanager:${hibernate.version}</lib>

<lib>org.hibernate:hibernate-core:${hibernate.version}</lib>
                                <lib>remove:openjpa-</lib>
                                <lib>remove:eclipselink-</lib>
                            </libs>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>


Thanks,
Chege.

Reply via email to