You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dan Tran <da...@gmail.com> on 2007/03/19 00:23:59 UTC

[ANN] jaxws-maven-plugin relocation

Per agreement between org.codehaus.mojo and jax*-ws-commons.dev.java.net*
jaxws-maven-plugin has been transferred to
https://jax-ws-commons.dev.java.net/jaxws-maven-plugin/

and version 1.0 is officially released.

-Dan

RE: File name according to groupId, artifactId and a version.

Posted by "Rahamim, Zvi (Zvi)" <zr...@avaya.com>.
Thanks! 

-----Original Message-----
From: Brian E. Fox [mailto:brianf@reply.infinity.nu] 
Sent: Monday, March 19, 2007 4:15 PM
To: Maven Users List
Subject: RE: File name according to groupId, artifactId and a version.

There isn't one exposed inside maven itself, however there is one in the dependency plugin to do it though (you can just copy the code): http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java?view=markup
 

-----Original Message-----
From: Roland Asmann [mailto:Roland.Asmann@cfc.at]
Sent: Monday, March 19, 2007 9:59 AM
To: Maven Users List
Subject: Re: File name according to groupId, artifactId and a version.

I believe that ${finalName} will give you the exact name of the output-file...
Although you can normally combine the artifactId with version and packaging to get the name of the output.


On Monday 19 March 2007 14:56, Rahamim, Zvi (Zvi) wrote:
> Hi,
> Given a groupId, artifactId and a version, how can I know the final 
> name of the file?
> For example,
>   <groupId>org.apache.maven</groupId>
>   <artifactId>maven-core</artifactId>
>   <version>2.0.4</version>
> The file will be maven-core-2.0.4.jar
> But the packaging can be not only jar, but war, ear...
> Is there an API from within Maven to get this file name?
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

--
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H Bäckerstrasse 1/2/7 A-1010 Wien FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: Roland.Asmann@cfc.at
Web: www.cfc.at

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


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


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


RE: File name according to groupId, artifactId and a version.

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
There isn't one exposed inside maven itself, however there is one in the dependency plugin to do it though (you can just copy the code): http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/main/java/org/apache/maven/plugin/dependency/utils/DependencyUtil.java?view=markup
 

-----Original Message-----
From: Roland Asmann [mailto:Roland.Asmann@cfc.at] 
Sent: Monday, March 19, 2007 9:59 AM
To: Maven Users List
Subject: Re: File name according to groupId, artifactId and a version.

I believe that ${finalName} will give you the exact name of the output-file...
Although you can normally combine the artifactId with version and packaging to get the name of the output.


On Monday 19 March 2007 14:56, Rahamim, Zvi (Zvi) wrote:
> Hi,
> Given a groupId, artifactId and a version, how can I know the final name
> of the file?
> For example,
>   <groupId>org.apache.maven</groupId>
>   <artifactId>maven-core</artifactId>
>   <version>2.0.4</version>
> The file will be maven-core-2.0.4.jar
> But the packaging can be not only jar, but war, ear...
> Is there an API from within Maven to get this file name?
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

-- 
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: Roland.Asmann@cfc.at
Web: www.cfc.at

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


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


Re: File name according to groupId, artifactId and a version.

Posted by Roland Asmann <Ro...@cfc.at>.
I believe that ${finalName} will give you the exact name of the output-file...
Although you can normally combine the artifactId with version and packaging to 
get the name of the output.


On Monday 19 March 2007 14:56, Rahamim, Zvi (Zvi) wrote:
> Hi,
> Given a groupId, artifactId and a version, how can I know the final name
> of the file?
> For example,
>   <groupId>org.apache.maven</groupId>
>   <artifactId>maven-core</artifactId>
>   <version>2.0.4</version>
> The file will be maven-core-2.0.4.jar
> But the packaging can be not only jar, but war, ear...
> Is there an API from within Maven to get this file name?
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

-- 
Roland Asmann

CFC Informationssysteme Entwicklungsgesellschaft m.b.H
Bäckerstrasse 1/2/7
A-1010 Wien
FN 266155f, Handelsgericht Wien

Tel.: +43/1/513 88 77 - 27
Fax.: +43/1/513 88 62
Email: Roland.Asmann@cfc.at
Web: www.cfc.at

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


RE: maven-compiler-plugin doesn't compile according to configuration

Posted by "Rahamim, Zvi (Zvi)" <zr...@avaya.com>.
No, it doesn't help.
It seems that it takes the java according to the env variable JAVA_HOME 

-----Original Message-----
From: Thorsten Heit [mailto:theit@gmx.de] 
Sent: Tuesday, March 20, 2007 2:59 PM
To: Maven Users List
Subject: Re: maven-compiler-plugin doesn't compile according to
configuration

Hi,

>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-compiler-plugin</artifactId>
>         <version>2.0.2</version>
>         <configuration>
>           <executable>C:/jdk1.4.2/bin/javac</executable>

Shouldn't the above be ...javac.exe?


HTH

Thorsten

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


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


Re: maven-compiler-plugin doesn't compile according to configuration

Posted by Thorsten Heit <th...@gmx.de>.
Hi,

>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-compiler-plugin</artifactId>
>         <version>2.0.2</version>
>         <configuration>
>           <executable>C:/jdk1.4.2/bin/javac</executable>

Shouldn't the above be ...javac.exe?


HTH

Thorsten

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


Re: Project output is a directory and not jar

Posted by Wayne Fay <wa...@gmail.com>.
You can most likely build what you need using the assembly plugin.

Wayne

On 3/25/07, Valerio Schiavoni <va...@gmail.com> wrote:
> maybe you can write your own archetype.
>
> see if this is what you want to do:
>
> http://maven.apache.org/guides/mini/guide-creating-archetypes.html
>
> and when you say: directory structure, you mean only the directory or
> also files within them ?
>
> On 3/25/07, Rahamim, Zvi (Zvi) <zr...@avaya.com> wrote:
> > The output of my project is a directory structure.
> > Does maven support this?
> > Do I need to override the 'package' phase?
>
>
> --
> http://valerioschiavoni.blogspot.com
> http://jroller.com/page/vschiavoni
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Re: Project output is a directory and not jar

Posted by Valerio Schiavoni <va...@gmail.com>.
maybe you can write your own archetype.

see if this is what you want to do:

http://maven.apache.org/guides/mini/guide-creating-archetypes.html

and when you say: directory structure, you mean only the directory or
also files within them ?

On 3/25/07, Rahamim, Zvi (Zvi) <zr...@avaya.com> wrote:
> The output of my project is a directory structure.
> Does maven support this?
> Do I need to override the 'package' phase?


-- 
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni

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


Project output is a directory and not jar

Posted by "Rahamim, Zvi (Zvi)" <zr...@avaya.com>.
Hi,
The output of my project is a directory structure.
Does maven support this?
Do I need to override the 'package' phase?
Thanks!

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


Changing the log level of a plugin

Posted by "Rahamim, Zvi (Zvi)" <zr...@avaya.com>.
How can I configure the logger of a plugin class?
for example  I want org.apache.maven.plugin.AbstractCompilerMojo that
the logger debug print will be invoked (e.g. getLog().debug( "Using
compiler '" + compilerId + "'." );)
Thanks!

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


maven-compiler-plugin doesn't compile according to configuration

Posted by "Rahamim, Zvi (Zvi)" <zr...@avaya.com>.
Hi,
I've configured my pom.xml to use jdk 1.4.2, but it compiles with
another JDK.
Here is the maven-compiler-plugin configuration that I use:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.0.2</version>
        <configuration>
          <executable>C:/jdk1.4.2/bin/javac</executable>
          <compilerVersion>1.4</compilerVersion>
          <fork>true</fork>
          <source>1.4</source>
          <target>1.4</target>
        </configuration>
      </plugin>


Can you tell me what is wrong?
Thanks!

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


File name according to groupId, artifactId and a version.

Posted by "Rahamim, Zvi (Zvi)" <zr...@avaya.com>.
Hi,
Given a groupId, artifactId and a version, how can I know the final name
of the file?
For example, 
  <groupId>org.apache.maven</groupId>
  <artifactId>maven-core</artifactId>
  <version>2.0.4</version> 
The file will be maven-core-2.0.4.jar
But the packaging can be not only jar, but war, ear...
Is there an API from within Maven to get this file name?
Thanks!

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


Re: [ANN] jaxws-maven-plugin relocation

Posted by Tony Ambrozie <to...@gmail.com>.
+1

On 3/18/07, Dan Tran <da...@gmail.com> wrote:
>
> Per agreement between org.codehaus.mojo and jax*-ws-commons.dev.java.net*
> jaxws-maven-plugin has been transferred to
> https://jax-ws-commons.dev.java.net/jaxws-maven-plugin/
>
> and version 1.0 is officially released.
>
> -Dan
>