Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build examples in 2.0-SNAPSHOT branch #26

Open
jamestweeddale opened this issue Feb 7, 2016 · 7 comments
Open

Unable to build examples in 2.0-SNAPSHOT branch #26

jamestweeddale opened this issue Feb 7, 2016 · 7 comments

Comments

@jamestweeddale
Copy link

When running 'mvn clean package' in any of the example code directories of the SNAPSHOT 2.0 build I encounter the same maven dependency error "Failed to resolve artifact. Missing: nia:utils:jar:2.0-SNAPSHOT".

This is using an unmodified 2.0 branch checked out from github using IntelliJ14.

capture.txt

@mwolfthal
Copy link
Collaborator

From the toplevel directory run "mvn install -pl utils"

@jamestweeddale
Copy link
Author

That did the trick. Thanks again.

@gkeller2
Copy link

When I tried to run said command, I got the following error:

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project utils: Fatal error compiling: invalid target release: 1.8 -> [Help 1]

Had to change line 19 in file netty-in-action/utils/pom.xml from:

<target>1.8</target>

to:

<target>1.7</target>

@mwolfthal
Copy link
Collaborator

Can't you upgrade to 8?

Marvin Wolfthal
maw@weichi.com

On Feb 26, 2016, at 11:57, Gaston Keller notifications@github.com wrote:

When I tried to run said command, I got the following error:

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project utils: Fatal error compiling: invalid target release: 1.8 -> [Help 1]

Had to change line 19 in file netty-in-action/utils/pom.xml from:

1.8

to:

1.7


Reply to this email directly or view it on GitHub.

@gkeller2
Copy link

@mwolfthal : I could, but since the requirements in the front page say JDK 1.7.0u71 or better, I would expect to be able to run the project with Java 7.

@mwolfthal
Copy link
Collaborator

Then maybe we should change the requirements, as soon they may no longer be accurate anyway.

Marvin Wolfthal

email: maw@weichi.com

From: Gaston Keller [mailto:notifications@github.com]
Sent: Monday, February 29, 2016 8:00 AM
To: normanmaurer/netty-in-action
Cc: Marvin Wolfthal
Subject: Re: [netty-in-action] Unable to build examples in 2.0-SNAPSHOT branch (#26)

@mwolfthal https://github.com/mwolfthal : I could, but since the requirements in the front page say JDK 1.7.0u71 or better, I would expect to be able to run the project with Java 7.


Reply to this email directly or view it on GitHub #26 (comment) . https://github.com/notifications/beacon/ADCkv440dDi0MXirYFWqA6Iuw7cvkLS6ks5poubggaJpZM4HVK_l.gif

@gkeller2
Copy link

Makes sense. :)

yyuweb pushed a commit to sourcecode-in-book/netty-in-action that referenced this issue Oct 18, 2022
…aven/org.apache.maven.plugins-maven-surefire-plugin-2.22.2

Bump maven-surefire-plugin from 2.22.1 to 2.22.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants