I'm converting my ant build to maven using the ant plugin. When I try to
compile my source code, I get this similar errors. Can someone help me with
the resolution ?
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on
project
I used to have projects with 90-120 different pom files on the same
repository.
With heaps of OSGI plugins, plugins in different repositories, our own
customised lifecycle, different versions of maven. Of course all sorts of
profiles you can find. Of all the things I can say, it wasn't a simple
Yeah, that's the Nexus API I found too and will probably use.
I agree that for simple/small projects this isn't much of an issue as the
developer can generally get it right and the 'old/obsolete' snapshots don't
cause any problems. Going offline to catch these issues is problematic as
we have
Hi,
Nexus has some tasks to shedule snapshots suppressions, see
https://books.sonatype.com/nexus-book/reference/scheduled-tasks.html
Days rentention and specific repository are some of the options.
Maybe that will help.
On Wed, Jul 22, 2015 at 8:02 AM, David Hoffer dhoff...@gmail.com wrote:
Glad you have found a solution even if I can not understand the source
of the problem.
It does not seem to a general problem which is why you have to develop a
custom solution.
This is a pretty big mailing list and attracts a lot of experienced
developers and if there was a general solution,
Hi Burtonator,
The resolve goal that you mention works for me. I put quotes around works
because your requirements aren't quite clear to me. But resolve gives me a
list of dependencies (not transitive ones, since you specified
-DexcludeTransitive=true). So perhaps you could elaborate on what
What repo are you using?
Is your repo on the same computer as the CI system?
Maven does cache dependencies locally after they are downloaded from
your repo.
Ron
On 22/07/2015 11:33 PM, Sander Verhagen wrote:
Hi Burtonator,
The resolve goal that you mention works for me. I put quotes
Hi Dave,
if you have a plugin that solves the same problem that is fine.
If you could elaborate on your solution that would be great.
The plugin I mentioned, scijava-maven-plugin [1], has a
verify-no-snapshots goal—and corresponding enforcer rule
requireReproducibleBuilds—which is more
I need a way to fetch all external dependencies that aren’t just a
submodule in my current project.
So things like junit, mockito, log4j, jetty, etc. I want to pull down all
that stuff.
However, I do NOT want it to include dependencies from the project. Those
aren’t built yet so they’re not in
Hi Kevin,
What I want to do is just download all artifacts not in com.spinn3r.* “
group ID.
Did you try:
mvn dependency:go-offline -DexcludeGroupIds=com.spinn3r ...
?
Regards,
Curtis
On Wed, Jul 22, 2015 at 10:50 PM, Kevin Burton bur...@spinn3r.com wrote:
What I want to do is just
Could you not just build it once and copy the contents of the local
cache after it downloads everything?
Ron
On 22/07/2015 11:57 PM, Curtis Rueden wrote:
Hi Kevin,
What I want to do is just download all artifacts not in com.spinn3r.* “
group ID.
Did you try:
mvn dependency:go-offline
I tried the following.. but that doesn’t work. hm… stumped on this one.
mvn -DexcludeGroupIds=com.spinn3r.artemis -DexcludeTransitive=true
dependency:resolve
mvn -DexcludeArtifactIds=artemis -DexcludeTransitive=true dependency:resolve
On Wed, Jul 22, 2015 at 8:13 PM, Kevin Burton
What I want to do is just download all artifacts not in com.spinn3r.* “
group ID.
They aren’t built yet or in any repositories yet. This is for a continuous
integration systems so I want to pre-cache them. After this they’re just
restored from cache to build faster.
Is your repo on the same
Am Tue, 21 Jul 2015 23:00:12 +0300
schrieb Alex Ditu ditu.alexan...@gmail.com:
I am not sure if it
is a specific artifactory issue, I found this:
https://www.jfrog.com/jira/browse/RTFACT-5404 if it helps
Yes, if the repo does not provide the timestamps, then the policy wont
work. You can
Hi,
you must configure the maven compiler plugin for java 7. It's java 5 by
default.
On Wed, Jul 22, 2015 at 10:40 PM, Magnanao, Hector hector.magna...@sap.com
wrote:
I'm converting my ant build to maven using the ant plugin. When I try to
compile my source code, I get this similar errors.
Hi Curtis,
Yes that is the issue I'm trying to solve, except that we are less formal
than your description implies. We don't have 'approved' and 'non-approved'
snapshots, rather we have valid ones and ones made obsolete by the
refactor.
Leaning on Nexus doesn't seem like a bad solution as after
Hi Dave,
This problem strikes me as just a particular incarnation of make sure only
approved deps are used where old snapshot versions of 1st party modules
are no longer approved after a refactoring.
As such, I would suggest looking for tools intended to support such
dependency analysis more
17 matches
Mail list logo