Hi,
we want to make one of our maven projects Open Source. This project uses
various libraries (external projects) from the central maven repository,
yet 3 libraries (JGraphT 0.8.1, alignapi and org.semanticweb) are not in
the repository. I was asked to put these 3 projects into the central
Thanks for the reply Thorsten Heit,
the problem is that on my machine i commented out the compiler plugin part
but it was still using 1.6 and i thought copying the pom.xml from my
workspace to other workspace would work. but it did not, so i uncommented my
compiler plugin entry and it worked
Hello all, thanks for all those long replies.
Ron, I would be happy to follow any good practice and to comply to the way
maven does things.
But in this particular case, I wasn't able to find anything to comply to. I am
indeed describing the usage of a parent POM, but with the exception that
Are you using a Maven repo such as Nexus?
Can you not give your corporate libraries GAV designations that are
controlled so the version numbers are monotonically increasing?
We do use a Maven repo, although we had to abandon Nexus in favor of
Artifactory.
Originally, we used versions when
Wiadomość napisana przez mike digioia w dniu 3 kwi 2012, o godz. 00:38:
[INFO] skip non existing resourceDirectory
/home/conalab/MikesNewAndroidWork/workspace3/jxwhiteboard_ccn_gohuawei_dist/trunk/src/main/resources
I am getting this message during successful builds, so I suppose this is not
You best option is to convince the owners of these 3rd party libraries
to have them make the artifacts available in the central repo. There
are different options for them to do that.
/Anders
On Tue, Apr 3, 2012 at 09:17, Patrick Arnold
arn...@informatik.uni-leipzig.de wrote:
Hi,
we want to
Hi list,
I have set up a Java Enterprise project with Maven in Netbeans. The
pom.xml files are organized hierarchically. I have poms for the entire
project, for the ejb, the web and the assembly (ear) part of the project.
I don't know in which of these many pom files to place my repository
best practice is *never* to put repository in your pom.
best practice is to run a Maven Repository Manager (there are 3 good
ones: [in alphabetical order] archivia, artifactory, nexus)
best practice is to have those present a virtual repository that is an
aggregate of all the repositories you
Am 03.04.2012 12:55 schrieb Bata Degen bat...@arcor.de:
Hi list,
I have set up a Java Enterprise project with Maven in Netbeans. The
pom.xml files are organized hierarchically. I have poms for the entire
project, for the ejb, the web and the assembly (ear) part of the project.
I don't know
On 04/03/2012 01:02 PM, Stephen Connolly wrote:
best practice is *never* to putrepository in your pom.
best practice is to run a Maven Repository Manager (there are 3 good
ones: [in alphabetical order] archivia, artifactory, nexus)
best practice is to have those present a virtual repository
On 04/03/2012 01:05 PM, Ansgar Konermann wrote:
I don't know in which of these many pom files to place myrepository
elements.
Nowhere in your poms. Use a repository manager, configure the repositories
you would like to use as proxy repositories in the repo manager and set the
repo mgr as
Profiles appear to be magic but it is black magic.
Nice wording ;-)
I already use profiles to manage our hudson build of the maven plugin.
And yes: You are able to brake your projects if you do not know what
to do. My lvl85 gnome mage is able to create a
greater-flux-compensation-knife that will
https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository
But I agree that the best outcome would be to convince the owners of
the code to publish it to Central themselves and maintain it there.
--
Mark H. Wood, Lead System Programmer mw...@iupui.edu
Hi all,
I have another problem with Maven: Android plugins seems to call javac and/or
dx incorrectly.
After adding Android platform as dependency to Maven project, I am getting long
message from dx that I am trying to provide own implementation for core
libraries, and that I should not do it.
You probably forget to give the android jar the provided scope. In general
I would suggest to ask Android/Maven related questions on the Maven
Android Developers mailing list and read the documentation for the Android
Maven Plugin in the book Maven: The Complete Reference and on the website
In
I am looking for a configuration plugin or (if it does not exist) some
brainstorming related to the maven-way of configuration. First let me
say that the configuration task is relevant for our php-maven projects
If you don't get the level of discussion and answers you seek here,
you may find a
Have a look at the assembly plug-in or shade. These are safe and will not
hurt you.
The assemblies are targeted for building packages that are used
outside maven? Or did I understand it wrong?
More or less. The plugin documentation has more info about its
intended purpose and audience:
On 03/04/2012 7:49 AM, martin.eisengardt wrote:
Profiles appear to be magic but it is black magic.
Nice wording ;-)
I already use profiles to manage our hudson build of the maven plugin.
And yes: You are able to brake your projects if you do not know what
to do. My lvl85 gnome mage is able to
Does anybody have a working example of custom annotation processing in Maven
that they could share? I'm finding the documentation on this to be
frustratingly sparse. I can find a page claiming to describe a plugin for
annotation processing, but it doesn't actually give examples of what it's
looked at a couple of third party plugins (this one, for instance :
http://mojo.codehaus.org/versions-maven-plugin/), but I couldn't find what I
I don't see why you would look to versioning things yourself. The
artifact should be delivered with a version associated with it from
the group
Hi Russ,
Does anybody have a working example of custom annotation processing in
Maven that they could share? I'm finding the documentation on this to be
frustratingly sparse. I can find a page claiming to describe a plugin for
annotation processing, but it doesn't actually give examples of
Does anybody have a working example of custom annotation processing
in Maven that they could share? I'm finding the documentation on this to
I will assume that Curtis' reply was sufficient information. If not,
please provide more specific information about what you are looking
for.
Also, how
These jars don't get installed. I thought that if I call mvn compile,
all phases before it will also get called (e.g. validate, initialize,
generate-sources, process-sources, generate-resources, process-resources).
Why is this not happening?
Works for me.
I just copied and pasted your
I don't have any settings.xml files anywhere. Were can it be created?
Is any of this documented anywhere or your new idea?
On Tue, Apr 3, 2012 at 4:48 AM, Bata Degen bat...@arcor.de wrote:
On 04/03/2012 01:05 PM, Ansgar Konermann wrote:
I don't know in which of these many pom files to
I don't have any settings.xml files anywhere. Were can it be created?
Is any of this documented anywhere or your new idea?
This is all documented on the Maven site:
http://maven.apache.org/settings.html
Wayne
-
To
Mostly, I'm trying to figure out why my implementation - which conforms to the
documentation I'd found - does not appear to be detected by the compiler. I get
that I'm doing something wrong; I just don't know what. I'll examine the code
Curtis pointed out and see if it gives me clues.
On Apr
Oh I see your build works fine. Yes I get many more messages related to not
finding the new JAR file I added with the new POM file automatically
created.
This is what it looks like here -
[INFO] skip non existing resourceDirectory
package R does not exist
Generally I point people looking for help with Maven + Android to the
following site:
http://code.google.com/p/maven-android-plugin/
And corresponding mailing list:
http://groups.google.com/group/maven-android-developers
You should have good luck getting your problems
Mostly, I'm trying to figure out why my implementation - which conforms to
the documentation I'd found - does not appear to be detected by the compiler.
I get that I'm doing something wrong; I just don't know what. I'll examine
the
code Curtis pointed out and see if it gives me clues.
The
Hmmm. I did not mean to get a php solution. I am trying to find a
solution for maven (if it exists).
Hoping that in java or any other language anyone did have a similar
problem. Or let me say a similar vision.
Ok, there are three solutions: assembly, shade, creating productional
artifact
Hi all,
the Apache Maven team is happy to announce the release of Apache Maven
Fluido Skin 1.2.1
The Apache Maven Fluido Skin is an Apache Maven site skin built on top
of Twitter's bootstrap and other nice widgets.
Follow below the list of resolved issues:
Bugs
[MSKINS-21] - Invalid text
Hi to all,
I'm proudly announce the availability of the version 1.2.1 of the
appassembler-maven-plugin which is mostly a bug fix release.
The Application Assembler Plugin is a Maven plugin for generating
scripts for starting java applications. All dependencies and the
artifact of the
I have a project that creates a generic package which is then used in
several other nearly identical sibling projects. These projects pull this
client-generic package in as a dependency and create an almost identical
package other than the difference in these configuration files. This
looks
I am using the maven-dependency-plugin unpack goal to unpack the
client-generic dependency into these other projects. Is there a way to
apply resource filtering for the unpack goal so I can filter this property
on the configuration file that is in the dependency?
You should find complete
That blog post seemed very self explanatory, but it didn't work.
What I am getting from the blog is that if you bind a plugin to the
generate-resources phase, then you can filter on the resulting files in
project build directory.
I did this, but no luck. The only difference between what I am
Hello everyone
For a project I need to create some archetypes and so far it works quite well.
The only big problem is that I need the archetype to create a flat project
structure, but the archetype-generation will always look for the minimal POM at
archetype-resource/pom.xml.
In my case this
On Wed, Apr 4, 2012 at 1:34 AM, marc.schle...@accenture.com wrote:
Hello everyone
For a project I need to create some archetypes and so far it works quite
well. The only big problem is that I need the archetype to create a flat
project structure, but the archetype-generation will always
I am curious too. When using RTC I had to manually convert everything to
a flat structure.
Cheers, Eric
On 2012-04-03 9:04 AM, marc.schle...@accenture.com wrote:
Hello everyone
For a project I need to create some archetypes and so far it works quite well.
The only big problem is that I need
I tried the unpack-dependencies but that didn't make a difference, still
doesn't work as described.
On Tue, Apr 3, 2012 at 3:34 PM, Ryan Wexler r...@iridiumsuite.com wrote:
That blog post seemed very self explanatory, but it didn't work.
What I am getting from the blog is that if you bind a
Hi Wayne,
That's strange.
What version of maven are you running? I'm using 3.0.4 on windows 7.
Best Regards,
Paul
On Wed, Apr 4, 2012 at 2:40 AM, Wayne Fay wayne...@gmail.com wrote:
These jars don't get installed. I thought that if I call mvn compile,
all phases before it will also get
After further investigation, this method is working, just not at the point
I thought it was. I am unpacking all the dependencies and resources into a
directory. That directory is not filtered but it is repackaged as a jar
and the resources are filtered in the jar. I thought it would apply the
I need to create executable file in target/ directory. It is script
which needs to be copied from src/ tree and then chmod +x.
resource plugin can copy it but can not chmod +x it
assembly plugin can make it executable but it is placed into tar archive
any ideas?
Greetings,
On Tue, Apr 3, 2012 at 8:02 PM, Radim Kolar h...@filez.com wrote:
I need to create executable file in target/ directory. It is script which
needs to be copied from src/ tree and then chmod +x.
resource plugin can copy it but can not chmod +x it
assembly plugin can make it
I have similar problem, except the jar gets installed in its own separate
directory from the local repository - .m2/repository/com/x/y/z/ name.jar
and name.pom, since I asked to create a pom. But this jar never gets
references in the compile since the source file that uses it has all
undefined
Hi Maven Gurus,
Looks like Maven 3 always try to download the transitive dependencies
even though it's available in the local repo.
In the pom, I have the following dependency defined:
dependency
groupIdorg.glassfish.fighterfish/groupId
artifactIdosgi-web-container/artifactId
This sounds familiar. I recall that maven 3 does some sort of metadata thing
with respect to the repository cache, which is different compared to maven 2.
Either way I would recommend setting up a repository manager like nexus on your
machine or local network, and use a repository group to
46 matches
Mail list logo