Re: Status on namespace support for POM Elements ?

2016-06-02 Thread Karl Heinz Marbaise

Hi,

On 6/1/16 9:57 PM, Roland Huss wrote:

Hi,

I tried to use a namespace different than the default one for POM
elements and failed. After some research through various JIRA tickets
its seems that this is a quite old topic, but I couldn't find a
statement whether namespace it is now planned or not. It's not that I
would expect any special namespace related feature, but merely to be
able to use specify a namespace like in

http://www.w3.org/2001/XMLSchema-instance";
 xmlns="http://maven.apache.org/POM/4.0.0";
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/POM/4.0.0";>

 
 

http://maven.apache.org/POM/4.0.0";
 xmlns="http://fabric8.io/fabric8-maven-plugin";>
   .

 
 


This also my use case, namely to introduce an XSD for a plugin
configuration. Thus works with IDEA autocompletion and doc support, but
only when not switching the default namespace.





I don't know why, but I was unable to create a new issue on JIRA.
Therefore I 'hijacked' an old one because I think this is ticket is
still valid-->
https://issues.apache.org/jira/browse/MNG-2715?focusedCommentId=15307347&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15307347


Really bad idea to hijack an existing jira issue..
Please open a new one or if you have problems creating an issue please 
ask here on the users list first...



Kind regards
Karl Heinz Marbaise

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Jenkins and maven.config usage

2016-06-02 Thread Derek
I have been unable to get Jenkins to run maven in such a way that it
honors the .mvn/maven.config file.  I have tried running with a Maven
project type and a Freestyle project type.  If I execute maven from
the command line on the Jenkins
slave in the workspace, it works fine.  Executing maven from Jenkins
against the pom, builds the project but the maven.config is never
picked up like it should be (property is not set to value in maven.config).

Any ideas why Maven run from Jenkins does not pickup maven.config?

Using
Jenkins ver. 1.642.1
Maven 3.3.9
Maven Plugin 2.7.1

Example:
.mvn/maven.config
-Dmyproperty=HelloWorld

pom.xml

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
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
  4.0.0
  my.test
  jenkins-maven-config
  1.0-SNAPSHOT
  pom

  
ERROR: Not Set
  

  

  
org.codehaus.mojo
exec-maven-plugin
1.4.0

  
echo parameter
generate-sources

  exec


  echo ${myproperty}

  

  

  



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org