Re: SSLException with new Maven https

2014-08-18 Thread Anders Hammar
The default URL for central in Maven 3.2.3 is: https://repo.maven.apache.org/maven2 Change commit: https://github.com/apache/maven/commit/92161918698c55f4c108acb8c6042ad86e705b15 /Anders On Mon, Aug 18, 2014 at 2:21 AM, Dan Tran dant...@gmail.com wrote: I dont think that is the supported url

Re: hi, I just want to get help about maven archetype,please help me

2014-08-18 Thread Hervé BOUTEMY
ok, need to investigate can you create a Jira issue and attach an example project? Regards, Hervé Le lundi 18 août 2014 10:01:16 TOM a écrit : thank you ,but my descriptor already is packaged= true fileSet filtered=true packaged=true encoding=UTF-8 directorysrc/main/java/directory

Re: Doxia Eclipse Editor Plugin problem with snippet macro

2014-08-18 Thread Pablo León
I have just confirmed Hervé is right, if you use ${project.basedir} then you don't need to add any property to your pom. El 17/08/2014 19:26, Hervé BOUTEMY escribió: notice this is referenced as DOXIA-373 [1] and used in DOXIATOOLS-15 [2] notice that you should: - avoid ${basedir} and prefer

Re: hi, I just want to get help about maven archetype,please help me

2014-08-18 Thread TOM
i think i got it,i debuged archetype:generate and found code like this DefaultFilesetArchetypeGenerator.java private File getOutputFile( String template, String directory, File outputDirectoryFile, boolean packaged, String packageName, String moduleOffset,

Re: Remove old snapshots under local repository

2014-08-18 Thread Adrien Rivard
Or delete all directories that end with -SNAPSHOT On Sun, Aug 17, 2014 at 8:18 AM, Dan Tran dant...@gmail.com wrote: sounds like a good option. Thanks -D On Sat, Aug 16, 2014 at 11:11 PM, Ron Wheeler rwhee...@artifact-software.com wrote: On 17/08/2014 1:50 AM, Dan Tran wrote:

Re: Maven javadoc selective submodules

2014-08-18 Thread Robert Scholte
Hi, You can't specify this in the pom, but for now it would give you the desired result. Since it's not possible with the current version of the javadoc-plugin, other options which I can think of: - add a javadoc-profile or create a pom-javadoc.xml where you specify the required modules.

Re: hi, I just want to get help about maven archetype,please help me

2014-08-18 Thread Hervé BOUTEMY
ah ok so you don't need a custom plugin to add artifactId: just put content in a directory named __artifactId__ see http://stackoverflow.com/questions/6378589/how-to-rename-a-directory-with-the-artifactid-when-using-a-maven-archetype Regards, Hervé Le lundi 18 août 2014 17:00:36 TOM a écrit

Maven SynergyScmProvider 1.9.1 : Howto define Database

2014-08-18 Thread Schmidt, Dirk (RZF, SG 471 / MT AG)
Hi, I have a question about the Maven SynergyScmProvider. I had a look in the documentation and source code but unfortunately I do not see a way configure the CM Synergy database (and server) name. I am not sure if I misunderstand the usage / capabilities and would appreciate your help. For

Re: Maven javadoc selective submodules

2014-08-18 Thread robertmvn
Hi, Could I call the pom-javadoc.xml from the main pom.xml? I am just thinking how we can use this from the build server. Robert Scholte-4 wrote Hi, You can't specify this in the pom, but for now it would give you the desired result. Since it's not possible with the current version of

Re: Maven javadoc selective submodules

2014-08-18 Thread Robert Scholte
It's much easier to execute it as a separate action. In Jenkins-terms: a post-build step, but I believe almost every CI server has an equivalent solution. If you still want to solve this in the main pom.xml, you could do it with the maven-invoker-plugin, though I wouldn't advice it.

Re: Maven javadoc selective submodules

2014-08-18 Thread robertmvn
The reason I ask about calling it from the main pom.xml is because I don't quite understand how I can put all this in the maven lifecycle. If I would configure the javadoc plugin as in http://maven.apache.org/plugins/maven-javadoc-plugin/examples/aggregate.html in a separate pom-javadoc.xml and

Re: creating custom Maven resource filter

2014-08-18 Thread Karl Heinz Marbaise
Hi Jose, can you elaborate a little bit more why you are not using the default filtering capabilities of maven-resources-plugin etc. ? Can you explain what exactly you like to achieve? Hello, We have projects with many property and xml files that need resource filtering per

RE: Java SSL dependency issue

2014-08-18 Thread Martin Gainty
You should be able to locate the https://www.bouncycastle.org/latest_releases.html security jars you need from http://openjdk.java.net/groups/security what provider are you using? I recommend BouncyCastle https://www.bouncycastle.org/latest_releases.html Sounds like an interesting app..would

Re: creating custom Maven resource filter

2014-08-18 Thread Jose Martinez
Karl, Thank you for responding.  Yes I can go into more detail.   Lets go back to my example of the mysql DB credentials.  Lets say I have five environments.  So that means I have 3 variables times 5 environments and that comes out to 15 various values.  From what I understand about the 

Ignoring a specific plugin failure

2014-08-18 Thread Logicon211
Hey there, I've been scouring the internet for some kind of solution (Or to find out there just isn't one) for a problem I'm running into. I'm looking for some kind of plugin configuration option, or command line parameter that would cause maven to ignore either a specific (Preferred), or all

Re: Ignoring a specific plugin failure

2014-08-18 Thread Anders Hammar
There is no such feature in Maven itself (and it wouldn't work if you run out of memory in the core process). But the plugin itself could (theoretically) provide a configuration option to fork the process and then ignore any problems in that process. The use case sounds strange though so I very

Re: Java SSL dependency issue

2014-08-18 Thread james northrup
does anyone have select(), read, handshake, NIO code with sslengine to draw from? the examples in the wild done to illustrate the sslengine never seem to tie back to an actual fsm that could be made into something useful On Mon, Aug 18, 2014 at 11:49 AM, Martin Gainty mgai...@hotmail.com wrote:

Re: Java SSL dependency issue

2014-08-18 Thread james northrup
woops wrong group, sorry On Mon, Aug 18, 2014 at 1:46 PM, james northrup northrup.ja...@gmail.com wrote: does anyone have select(), read, handshake, NIO code with sslengine to draw from? the examples in the wild done to illustrate the sslengine never seem to tie back to an actual fsm that

Re: Remove old snapshots under local repository

2014-08-18 Thread Mark Derricutt
I tend to use: mvn dependency:purge-local-repository when sitting in a project directory, it'll go thru and delete all the SNAPSHOTs and re-resolve. The only problem with it in the default mode, is that is _only_ deletes the `.jar`. files and doesn't rebuild any metadata, so if you're

Maven SynergyScmProvider 1.9.1 : Howto define Database

2014-08-18 Thread Schmidt, Dirk (RZF, SG 471 / MT AG)
Hi, I have a question about the Maven SynergyScmProvider. I had a look in the documentation and source code but unfortunately I do not see a way configure the CM Synergy database (and server) name. I am not sure if I misunderstand the usage / capabilities and would appreciate your help. For

Re: Remove old snapshots under local repository

2014-08-18 Thread Dan Tran
This would not work, since it still leave all snapshot of timestamp around -D On Mon, Aug 18, 2014 at 2:10 AM, Adrien Rivard adrien.riv...@gmail.com wrote: Or delete all directories that end with -SNAPSHOT On Sun, Aug 17, 2014 at 8:18 AM, Dan Tran dant...@gmail.com wrote: sounds like a

Re: Remove old snapshots under local repository

2014-08-18 Thread Anders Hammar
Sure it would. It's only the files that gets a timestamp; the directories are still called x.y.z-SNAPSHOT. However, be adviced that I've run into cases in the wild where the artifactId would end in -SNAPSHOT and this solution would remove such directories as well although it's could contain

Re: Remove old snapshots under local repository

2014-08-18 Thread Barrie Treloar
What's wrong with just blowing away ~/.m2/repository ? If you have a local Maven Repository Manager it doesn't take very long to reseed it. (At least less time in aggregate than thinking of ways to prune snapshot files in the repository correctly...)