skip to Main Content

maven enforcer does not honor rules – Debian

i am using maven enforcer version 3.0.0-M3. i configured the rules within the pom.xml as follows: <?xml version="1.0" encoding="UTF-8"?> <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"> <modelVersion>4.0.0</modelVersion> <groupId>foo</groupId> <artifactId>foo</artifactId> <version>0.0.1</version> <properties> <java.version>1.8</java.version> <mvn.version>3.6.3</mvn.version> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.0.0-M3</version> <executions> <execution>…

VIEW QUESTION

How To Host My Telegram Bot [JAVA] Using Heroku & Maven and GitHub? – Telegram API

My pom.xml File : <modelVersion>4.0.0</modelVersion> <groupId>TelegramBOT</groupId> <artifactId>TelegramBOT</artifactId> <version>0.0.1-SNAPSHOT</version> <build> <sourceDirectory>src</sourceDirectory> <plugins> <plugin> <groupId>com.heroku.sdk</groupId> <artifactId>heroku-maven-plugin</artifactId> <version>3.0.2</version> <configuration> <release>13</release> <appName>TelegramBOT</appName> <processTypes> <web>java $JAVA_OPTS -cp target/classes:target/dependency/* Main</web> </processTypes> </configuration> </plugin> </plugins> </build> <dependencies> <!-- https://mvnrepository.com/artifact/org.telegram/telegrambots --> <dependency> <groupId>org.telegram</groupId> <artifactId>telegrambots</artifactId> <version>4.9</version> </dependency> </dependencies> </project>…

VIEW QUESTION

Redis – When I want to run my j2ee+maven+spring-boot+mysql project on idea, there comes a error

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2020-06-23 16:35:53.160 ERROR 7624 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation…

VIEW QUESTION

zepplin mysql interpreter error, Cannot fetch dependencies for mysql:mysql-connector-java:5.1.38 – CentOS

when create new mysql interpreter into appache zepplin, error reported as question title. environment: linux centos 7.3 zepplin 0.8.2, bin package installed. maven 3.1 installed. create new mysql interpreter, according to official site step: https://zeppelin.apache.org/docs/0.8.2/interpreter/jdbc.html#mysql Properties ----------------------------------------------- Name Value default.driver…

VIEW QUESTION

spring-boot-maven-plugin:2.0.0.RELEASE:repackage failed: Unable to rename – CentOS

I use command: mvn package to package my project, and the pom.xml as follows: <build> <defaultGoal>compile</defaultGoal> <resources> <resource> <directory>src/main/resources</directory> </resource> </resources> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptorRefs> <descriptorRef>jar-with-dependencies</descriptorRef> </descriptorRefs> <archive> <manifest> <mainClass/> </manifest> </archive> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal>…

VIEW QUESTION
Back To Top
Search