Hi,
I'm seeing some strange behavior with Maven 3.0.5 on Ubuntu.
BACKGROUND
=
When I run `mvn test` the console prints:
`[ERROR] No compiler is provided in this environment. Perhaps you are running
on a JRE rather than a JDK?`
If I then open the project in Eclipse and run
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 12/31/2014 8:49 AM, Ole Ersoy wrote:
Hi,
I'm seeing some strange behavior with Maven 3.0.5 on Ubuntu.
BACKGROUND = When I run `mvn test` the console
prints: `[ERROR] No compiler is provided in this environment.
Perhaps
Hi Mark,
I do have Open JDK installed. The reason this is strange is because the maven
build runs fine from the command line after the project is run with Eclipse.
Other maven builds I have also run fine from the command line. For example if
I git clone apache commons math and run the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ole,
In one instance (have to check your mail again) there were no files to
compile, so nothing bad happened.
If you run mvn clean test, then the target directory will be removed
and Maven will be forced to recompile everything.
You should get the
Hello,
you can use mvn -version to see which java is used.
Gruss
Bernd
Am Wed, 31 Dec 2014 10:23:00 -0800
schrieb Mark Eggers its_toas...@yahoo.com.INVALID:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ole,
In one instance (have to check your mail again) there were no files to
Bernd, Mark,
Here is the result of `mvn --version`:
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.7.0_65, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: linux, version: 3.13.0-43-generic,
Hello,
is there a directory /usr/lib/jvm/java-7-openjdk-amd64/include/? If
not, this is not the JDK but the JRE version.
http://packages.ubuntu.com/en/precise/amd64/openjdk-7-jre/filelist
http://packages.ubuntu.com/en/precise/amd64/openjdk-7-jdk/filelist
In that case it will help to install
Am Wed, 31 Dec 2014 14:09:39 -0600
schrieb Ole Ersoy ole.er...@gmail.com:
Thanks!! You were right all along. I just did a fresh install on my
machine, and all my other builds were running fine, so I thought the
entire JDK had been pulled in by one of my dependencies. Once I did
a `mvn
Hi Ole and Mark,
I ran into a similar problem before, what I did to resolve the issue is I
ran 'mvn -version' to see what Maven thought it was using for a JDK, then
I investigated the Eclipse settings to see if it was using the same exact
JDK - you may need to point the Java configuration to a
On Tue, 12 Nov 2013 13:02:46 +
org.apache.maven.u...@io7m.com wrote:
Hello.
I've run into a strange but easily reproduced problem with the jar files
generated by Maven. Essentially, if I generate a jar file containing a
large number of files (= 65536, in practice), then javac becomes
Unfortunately, my company's security policies do not allow for the
downloading and building of external projects without approval from IT
and security so I cannot really test your code (not without going to a
committee, etc...). Any chance you can post the errors you are
getting? Is this a JVM
Hi George,
That's a new one on me. Can you build in an isolated VM? On a personal
machine while at work? Not being able to try out code from the Internet
seems like a crippling restriction to me.
-Curtis
On Nov 13, 2013 1:34 PM, George Wilson rmws...@gmail.com wrote:
Unfortunately, my
A crippling restriction or not, it is company policy which I do not
have any authority over. Its one thing to try a snippet from stack
overflow but the restriction is in regards to building a larger
project like a maven build. The concern is not being able to evaluate
what the code or individual
Hi,
org.apache.maven.u...@io7m.com wrote:
Can anyone else reproduce this problem?
OK, I ran the example (mvn clean package) and the project builds
successfully on my system:
$ mvn -v
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17
10:22:22-0500)
Maven home:
On Wed, 13 Nov 2013 11:33:51 -0800
George Wilson rmws...@gmail.com wrote:
Unfortunately, my company's security policies do not allow for the
downloading and building of external projects without approval from IT
and security so I cannot really test your code (not without going to a
committee,
On Wed, Nov 13, 2013 at 3:32 PM, Curtis Rueden ctrue...@wisc.edu wrote:
Hi,
org.apache.maven.u...@io7m.com wrote:
Can anyone else reproduce this problem?
OK, I ran the example (mvn clean package) and the project builds
successfully on my system:
I ran the sample project on a couple
Hi Curtis,
I apologize, I had not recognized that you were not the OP.
If you just look at it, you can see that it doesn't do anything bad.
- You are correct, I did not bother to download it as it was presented
as being a project with several thousand classes. Perhaps in the
future I should
On Wed, 13 Nov 2013 15:52:02 -0700
Doug Douglass douglass.d...@gmail.com wrote:
I ran the sample project on a couple systems with different results.
...
So it appears to be JDK bug.
Thanks. Looks like I'll be taking this up with the OpenJDK people.
M
Hello.
I've run into a strange but easily reproduced problem with the jar files
generated by Maven. Essentially, if I generate a jar file containing a
large number of files (= 65536, in practice), then javac becomes unable
to resolve classes from that jar file. This only occurs with jars produced
Hi Trasca,
is it possible that maven was searching for plugin updates? By policy
this is done after a certain interval. AFAIK maven checks every week
for updates.
Cheers
Francois
am Donnerstag, 20. Dezember 2007 um 06:39 schrieben Sie:
Hi,
I have a new build with maven2 which used to
Hi,
I have a new build with maven2 which used to work correctly and quick. But
today when I did the sample compile which worked so many times maven2 started
to go to repositories and download all kind of dependencies which I never heard
about and stayed so much time that I got bored
21 matches
Mail list logo