Bugs can be reported on the github site: https://github.com/bndtools/bnd or via
the Apache Felix project. You should also try the latest 2.4.0-SNAPSHOT of the
bundleplugin, as this uses the latest bndlib code which is expected to be
released soon.
--
Cheers, Stuart
On 21 Sep 2012, at 01:04,
Thanks a lot for your reply. I tried to use your way, but:
1. I already have a test folder under 'src' (scr/main and src/test which is
a standard Maven project structure).
2. I didn't really understand (sorry for that, - I'm not a Maven Guru :( )
the syntax to use in case of test prefix. I'd like
How can I make the release-plugin ask for a password when it needs it, rather
than having to either a) provide it as a property when building, or b) putting
it in a settings.xml file or equivalent. I don't like the fact that I have to
have the password stored in a batch history file somewhere,
Finally, I achived (I hope so, tell me if I'm wrong by pointing at some
pitfalls). Here is the updated version of the POM file:
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
Hi,
you can encrypt passwords in settings.xml:
http://maven.apache.org/guides/mini/guide-encryption.html.
Regards,
htfv (Aliaksei Lahachou)
On Fri, Sep 21, 2012 at 11:52 AM, Magne Nordtveit m...@offsim.no wrote:
How can I make the release-plugin ask for a password when it needs it,
rather
Hi Roy,
that's a useful addition. Indeed I do something similar with with some
command-line tools. I ship them as a zip which contains: a .jar a
.sh/.bat invoking commands and a default .properties file. For the
latter, I want different defaults depending on the environment where I
deploy
Hi Javix,
yes, this is what I mean. You may want to consider what emerged in this
thread about the goodness of this practice.
Cheers,
M.
On 21/09/2012 10:55, Javix wrote:
Finally, I achived (I hope so, tell me if I'm wrong by pointing at some
pitfalls). Here is the updated version of the
That doesn't really answer my question though - that's just a replacement of a
plain text password by an encrypted one. The value of that isn't really high
when it requires the master password to be stored in a different file IMHO, but
that's a different discussion all together. I want to be
Don't think you can have it ask for the password, but you can provide
it as a Java (system) property on command-line.
mvn release:prepare -Dpassword=blabla
/Anders
On Fri, Sep 21, 2012 at 11:52 AM, Magne Nordtveit m...@offsim.no wrote:
How can I make the release-plugin ask for a password when
That puts us back to having the password stored in some bash history file, in
plain text... Looks like I might have to put in for a feature request. Just
have to figure out where to put it :-P
Magne
-Original Message-
From: anders.g.ham...@gmail.com [mailto:anders.g.ham...@gmail.com]
Feature requests are good. Patches are even better. :-)
/Anders
On Fri, Sep 21, 2012 at 1:29 PM, Magne Nordtveit m...@offsim.no wrote:
That puts us back to having the password stored in some bash history file, in
plain text... Looks like I might have to put in for a feature request. Just
I have an application with OSGI bundles, and the Felix loader is looking
for the jars to be in WEB-INF/bundles/3 instead of the usual
WEB-INF/lib. Is there a configuration for the war plugin, or a
different plugin I can use to place these dependencies in a different
location?
Thanks.
I have an application with OSGI bundles, and the Felix loader is looking for
the jars to be in WEB-INF/bundles/3 instead of the usual WEB-INF/lib. Is
there a configuration for the war plugin, or a different plugin I can use to
place these dependencies in a different location?
Assembly plugin
Hi everyone,
I was wondering whether there is a way to utilize certain useful Maven
goals when outside of a particular Maven project's actual source directory
structure. For example, I would like to ask Maven for the effective POM of
an installed artifact.
Why? Because I want to know the
If this is related to your Nexus authentication, 2.1 is an awesome release
with regards to this. They introduced an API token authentication
approach, so that you won't be handing over the keys to the castle if
someone compromises your API token password.
We are using it with encryption as well,
I have a possible interesting suggestion for you. Scm plugin
bootstrapping.
http://maven.apache.org/scm/maven-scm-plugin/bootstrap-mojo.html
Given a pom with an scm section defined, you could bootstrap its entire
repo down and the perform the tasks you are trying to accomplish.
Hi all,
Thanks Roy for the suggestion of SCM bootstrapping. That is definitely a
big hammer solution that would allow execution of any goal.
However, I found a workaround for the specific case of help:effective-pom.
If you want the effective POM for project foo:bar:1.0.0, you can run:
mvn -f
Thank you for pointing me to this excellent blog entry, but in fact I wonder
why such a great tool like Maven doesn't have built-in support for endorsed
dependencies? I mean, in the end a different compiler might break the
solution, so it would be a good idea if a dependency could simply marked as
Hi all,
What's the maven way to allow to build individual modules and ensure that
changes to parent pom are uploaded into the local repository
Let's say I have three modules: one parent, two children (dbmod, appmod)
parent:dependencyManagement defines jdbc-foo 1.5
dbmod: dependencies
Possibly you could have a look at if your repo manager could help you
with this. I know that Nexus has this feature [1]; possibly other repo
managers do as well.
/Anders
[1]
http://www.sonatype.com/books/nexus-book/reference/using-sect-browsing.html#fig-using-dependencies
On Fri, Sep 21, 2012
1. Maven is not just about java (though very java focused I admit) endorsed
does not make sense outside of java
2. Whether a dependency needs to be endorsed or not depends on the jvm
version it targets... A dep can be fine until it gets added to the jvm spec.
3. It should probably more correctly
21 matches
Mail list logo