Skip to content

org.springframework.roo:org.springframework.roo.annotations:pom:1.2.3.RELEASE was not found #2347

@RouxAntoine

Description

@RouxAntoine

Hello everybody,

I have a relatively similar error to #2285

I add spring-boot-starter-data-jpa version 2.5.5 to the pom.xml project :

like this (some exclusion to avoid dependency conflict)

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-data-jpa</artifactId>
			<exclusions>
				<exclusion>
					<groupId>com.google.code.findbugs</groupId>
					<artifactId>annotations</artifactId>
				</exclusion>
				<exclusion>
					<groupId>com.google.code.findbugs</groupId>
					<artifactId>jsr305</artifactId>
				</exclusion>
				<exclusion>
					<groupId>org.javassist</groupId>
					<artifactId>javassist</artifactId>
				</exclusion>
				<exclusion>
					<groupId>com.google.guava</groupId>
					<artifactId>guava</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

with maven 3.6.3 : mvn clean verify -DskipTest=true give a build success

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------

with maven 3.8.2 : mvn clean vertify -DskipTest=true give error

org.springframework.roo:org.springframework.roo.annotations:pom:1.2.3.RELEASE was not found in https://repo.spring.io/milestone during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of spring-milestones has elapsed or updates are forced

Tried workaround :

  • fixed version 2.0.0-RELEASE
			<dependency>
				<groupId>org.springframework.roo</groupId>
				<artifactId>org.springframework.roo.annotations</artifactId>
				<version>2.0.0.RELEASE</version>
			</dependency>

give following error

org.springframework.roo.wrapping:org.springframework.roo.wrapping.inflector:pom:0.7.0.010 was not found in https://repo.spring.io/milestone during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of spring-milestones has elapsed or updates are forced
  • with version 1.3.2-RELEASE
			<dependency>
				<groupId>org.springframework.roo</groupId>
				<artifactId>org.springframework.roo.annotations</artifactId>
				<version>1.3.2.RELEASE</version>
			</dependency>

build success again.

  • try fixinig querydsl version failed too
			<dependency>
				<groupId>com.querydsl</groupId>
				<artifactId>querydsl-jpa</artifactId>
				<version>5.0.0</version>
				<optional>true</optional>
			</dependency>

Always requiring org.springframework.roo.annotations version 1.2.3.RELEASE

org.springframework.roo:org.springframework.roo.annotations:pom:1.2.3.RELEASE was not found in https://repo.spring.io/milestone during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of spring-milestones has elapsed or updates are forced

maybe due to querydsl/querydsl#3005
and fix with querydsl release 5.0.0 https://github.com/querydsl/querydsl/releases/tag/QUERYDSL_5_0_0
but it seem difficult to find which dependency really include org.springframework.roo:org.springframework.roo.annotations

cordially

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: duplicateA duplicate of another issuestatus: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions