<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>users@maven.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/maven-users/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/maven-users/"/>
<id>http://mail-archives.apache.org/mod_mbox/maven-users/</id>
<updated>2009-12-05T23:29:13Z</updated>
<entry>
<title>Re: Maven Install on Mac OS X</title>
<author><name>bandrm &lt;rajivbandaru@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c26658529.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26658529-post@talk-nabble-com%3e</id>
<updated>2009-12-05T19:39:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Ok, got it. So, here is what happened... 

1) checking md5 checksum is very important. First when I installed maven, I
assumed the checksums would be correct and without md5 I installed maven.
First mistake. 
2) Initial installation created a repository /.m2, but there was no
repository directory under .m2, strange. 

So, I downloaded a fresh install of maven 2.2.1, made sure the checksums
matched. Then, I removed .m2 and created a fresh directory .m2 and then on
it worked fine. 
 
-- 
View this message in context: http://old.nabble.com/Maven-Install-on-Mac-OS-X-tp26657605p26658529.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Maven Plugin to detect duplicate class files in a e.g. WAR</title>
<author><name>Mirko Friedenhagen &lt;mirko-lists@friedenhagen.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c8880731A-D21B-4107-9115-F8B0AA0F7435@friedenhagen.de%3e"/>
<id>urn:uuid:%3c8880731A-D21B-4107-9115-F8B0AA0F7435@friedenhagen-de%3e</id>
<updated>2009-12-05T19:29:44Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

sometimes dependencies change their groupId (e.g. commons-io and org.apache.commons or spring
vs. org.springframwork). Maven now has no chance(?!) to detect duplicate JARs with different
versions during dependency resolution and puts jars with different versions in a war. In the
end you are not sure which class will be loaded in a webapp.

Do you know a plugin which will detect such jar/class collisions?

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Maven Install on Mac OS X</title>
<author><name>bandrm &lt;rajivbandaru@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c26658394.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26658394-post@talk-nabble-com%3e</id>
<updated>2009-12-05T19:20:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Thank you. Now, I moved onto installing Maven 2.2.1 tar.gz, rather than Maven
2.2.1 tar.bz2. But, still mvn clean install throws the following error... 

[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/usr/local/maven/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] org/apache/maven/shared/io/logging/MessageSink
org.apache.maven.shared.io.logging.MessageSink
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError:
org/apache/maven/shared/io/logging/MessageSink
	at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:171)
	at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException:
org.apache.maven.shared.io.logging.MessageSink
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
	at
org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
	at
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
	at
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
	at
org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)
	... 20 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: &lt; 1 second
[INFO] Finished at: Sat Dec 05 11:17:25 PST 2009
[INFO] Final Memory: 5M/264M
[INFO]
------------------------------------------------------------------------

-- 
View this message in context: http://old.nabble.com/Maven-Install-on-Mac-OS-X-tp26657605p26658394.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>[ANN] Maven Ant Tasks 2.1.0 Released</title>
<author><name>Paul Gier &lt;pgier@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c4B1AA1C1.1020809@apache.org%3e"/>
<id>urn:uuid:%3c4B1AA1C1-1020809@apache-org%3e</id>
<updated>2009-12-05T18:09:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

The Maven team is pleased to announce the release of the Maven Ant Tasks,
version 2.1.0

The Maven Ant Tasks allow several features of Maven to be used in an Ant build. 
  This includes dependency management, reading and writing pom files, and 
deployment to a Maven repository.  More information is available at the project 
site.

http://maven.apache.org/ant-tasks

The current version of the Maven Ant Tasks can be downloaded from the project 
downloads page.

http://maven.apache.org/ant-tasks/download.html


Release Notes - Maven Ant Tasks - Version 2.1.0

** Bug
     * [MANTTASKS-4] - System scope not working properly in Maven Antlib
     * [MANTTASKS-152] - Mvn task omit localRepository param
     * [MANTTASKS-153] - Properties defined in Ant are not passed to Maven
     * [MANTTASKS-155] - Dependency fileset should set the current ant project
     * [MANTTASKS-159] - Wrong credentials used for mirrored repositories
     * [MANTTASKS-160] - Wrong metadata files created for mirrored remote 
repositories
     * [MANTTASKS-167] - Generated ant build file should save version list for 
version mapper

** Improvement
     * [MANTTASKS-117] - Setting Maven user-properties not possible
     * [MANTTASKS-169] - Dependencies "verbose" option should be deprecated in 
favor of standard ant verbose option

** New Feature
     * [MANTTASKS-151] - Support for artfacts that are 'classified' from birth
     * [MANTTASKS-156] - Add feature to dependencies task to write file paths to 
a file.
     * [MANTTASKS-168] - New task to write a pom file


Enjoy,

-The Maven team



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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Maven Install on Mac OS X</title>
<author><name>&quot;David C. Hicks&quot; &lt;dhicks@i-hicks.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c4B1A9DE2.7000408@i-hicks.org%3e"/>
<id>urn:uuid:%3c4B1A9DE2-7000408@i-hicks-org%3e</id>
<updated>2009-12-05T17:52:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Run the command:

md5sum apache-maven-2.2.1-bin.tar.bz2

Check to be sure that the result matches the published checksum on the
download page:
http://maven.apache.org/download.html


bandrm wrote:
&gt; Here are the version details...
&gt;
&gt; Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
&gt; Java version: 1.6.0_15
&gt; OS name: "mac os x" version: "10.6.2" arch: "x86_64" Family: "mac"
&gt;   

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Maven Install on Mac OS X</title>
<author><name>bandrm &lt;rajivbandaru@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c26657651.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26657651-post@talk-nabble-com%3e</id>
<updated>2009-12-05T17:46:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Here are the version details...

Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
Java version: 1.6.0_15
OS name: "mac os x" version: "10.6.2" arch: "x86_64" Family: "mac"
-- 
View this message in context: http://old.nabble.com/Maven-Install-on-Mac-OS-X-tp26657605p26657651.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Maven Install on Mac OS X</title>
<author><name>&quot;David C. Hicks&quot; &lt;dhicks@i-hicks.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c4B1A9C28.6070500@i-hicks.org%3e"/>
<id>urn:uuid:%3c4B1A9C28-6070500@i-hicks-org%3e</id>
<updated>2009-12-05T17:45:12Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
It sounds to me like you're having a problem getting a clean download. 
Be sure to check the MD5 for your download.  If it doesn't match the one
published on the download page, then your download has errors.


bandrm wrote:
&gt; This is my first time on a Mac. I have maven 2.2.1 installed on a Mac...but,
&gt; I have never been successfully able to execute a "mvn install" or "mvn clean
&gt; install". It would great if someone could help me out from the issues I am
&gt; having....
&gt;
&gt; Firstly,I downloaded Maven 2.2.1 (tar.gz), but when I try to untar it, it
&gt; errors out in "file format unrecognized". And, every new download of Maven
&gt; 2.2.1 (tar.gz) would result in different file size. So, I downloaded Maven
&gt; 2.2.1 (tar.bz2) and it worked...I don't know if this could be the root cause
&gt; of all the issues I am having...
&gt;
&gt; "mvn install" - When I run this command, it errors out in error: error
&gt; reading /Users/XXXXX/.m2/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar;
&gt; cannot read zip file. Basically, it unable to read jar file from repository.
&gt; I have no clue why. The file is right there in the repository, but unable to
&gt; read. but, there is one strange thing I noticed. Along with
&gt; jaxb-api-2.1.jar, there is a corresponding .pom file and both these files
&gt; have same size 357. huh?
&gt;
&gt; "mvn clean install" - When I run this command, it errors out as
&gt; java.lang.NoClassDefFoundError:
&gt; org/apache/maven/shared/io/logging/MessageSink. Here is the stack trace...
&gt;
&gt;
&gt;
&gt;
&gt; java.lang.NoClassDefFoundError:
&gt; org/apache/maven/shared/io/logging/MessageSink
&gt; 	at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:171)
&gt; 	at
&gt; org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
&gt; 	at
&gt; org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
&gt; 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
&gt; 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
&gt; 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
&gt; 	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; 	at
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt; 	at
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt; 	at java.lang.reflect.Method.invoke(Method.java:597)
&gt; 	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
&gt; 	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
&gt; 	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
&gt; 	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
&gt; Caused by: java.lang.ClassNotFoundException:
&gt; org.apache.maven.shared.io.logging.MessageSink
&gt; 	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
&gt; 	at java.security.AccessController.doPrivileged(Native Method)
&gt; 	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
&gt; 	at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
&gt; 	at
&gt; org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
&gt; 	at
&gt; org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
&gt; 	at
&gt; org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
&gt; 	at
&gt; org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
&gt; 	at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
&gt; 	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)
&gt; 	... 20 more
&gt;
&gt;
&gt;
&gt;   

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Maven Install on Mac OS X</title>
<author><name>bandrm &lt;rajivbandaru@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c26657605.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26657605-post@talk-nabble-com%3e</id>
<updated>2009-12-05T17:40:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

This is my first time on a Mac. I have maven 2.2.1 installed on a Mac...but,
I have never been successfully able to execute a "mvn install" or "mvn clean
install". It would great if someone could help me out from the issues I am
having....

Firstly,I downloaded Maven 2.2.1 (tar.gz), but when I try to untar it, it
errors out in "file format unrecognized". And, every new download of Maven
2.2.1 (tar.gz) would result in different file size. So, I downloaded Maven
2.2.1 (tar.bz2) and it worked...I don't know if this could be the root cause
of all the issues I am having...

"mvn install" - When I run this command, it errors out in error: error
reading /Users/XXXXX/.m2/javax/xml/bind/jaxb-api/2.1/jaxb-api-2.1.jar;
cannot read zip file. Basically, it unable to read jar file from repository.
I have no clue why. The file is right there in the repository, but unable to
read. but, there is one strange thing I noticed. Along with
jaxb-api-2.1.jar, there is a corresponding .pom file and both these files
have same size 357. huh?

"mvn clean install" - When I run this command, it errors out as
java.lang.NoClassDefFoundError:
org/apache/maven/shared/io/logging/MessageSink. Here is the stack trace...




java.lang.NoClassDefFoundError:
org/apache/maven/shared/io/logging/MessageSink
	at org.apache.maven.plugin.clean.CleanMojo.execute(CleanMojo.java:171)
	at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.ClassNotFoundException:
org.apache.maven.shared.io.logging.MessageSink
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
	at
org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
	at
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
	at
org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
	at
org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:254)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:399)
	... 20 more



-- 
View this message in context: http://old.nabble.com/Maven-Install-on-Mac-OS-X-tp26657605p26657605.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: how to use maven to manager a existing project</title>
<author><name>Wayne Fay &lt;waynefay@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c52bab8690912050842o7783763ey1709cde5e1883f9@mail.gmail.com%3e"/>
<id>urn:uuid:%3c52bab8690912050842o7783763ey1709cde5e1883f9@mail-gmail-com%3e</id>
<updated>2009-12-05T16:42:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; So I wonder what to do ? I have no idea about where to start my job.
&gt; For example a java project, it own a source fold named src, I wonder I need
&gt; to change it to src/main/java?

What happened when you tried this? Just do it.

&gt; And after modify the path, do I need run mvn eclipse:eclipse to rebuild the
&gt; .classpath and .project file?

And what happened when you tried this? If you run into errors, that's
one thing, but there's no reason to not at least TRY this stuff
yourself before asking for hand-holding.

Wayne

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Conditional archetype generation</title>
<author><name>stephanos &lt;exe2@gmx.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c26655657.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26655657-post@talk-nabble-com%3e</id>
<updated>2009-12-05T13:31:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I need to know if I can use conditions in my archetype.

My use case:
I have an archetype that can be used in various languages (e.g. Java and
Groovy). I want to give the user the base class for the according language.
But I don't want to be both classes (MyClass.java &amp; MyClass.groovy) there -
just one!

Is there a way to only generate one of the two files via maven:generate
depending on a condition/property?
-- 
View this message in context: http://old.nabble.com/Conditional-archetype-generation-tp26655657p26655657.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>how to use maven to manager a existing project</title>
<author><name>maven apache &lt;apachemaven0@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cb6ae15040912050448q72af1028q5bcd62b8ee1d9270@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb6ae15040912050448q72af1028q5bcd62b8ee1d9270@mail-gmail-com%3e</id>
<updated>2009-12-05T12:48:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi:
I like maven now, and I want to use maven to manager our existing project
include pure java project and web project.
So I wonder what to do ? I have no idea about where to start my job.
For example a java project, it own a source fold named src, I wonder I need
to change it to src/main/java?
And after modify the path, do I need run mvn eclipse:eclipse to rebuild the
.classpath and .project file?


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: use maven in eclipse without m2eclipse</title>
<author><name>maven apache &lt;apachemaven0@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cb6ae15040912050428l40e9d23fk3a545dd6c10a6c50@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb6ae15040912050428l40e9d23fk3a545dd6c10a6c50@mail-gmail-com%3e</id>
<updated>2009-12-05T12:28:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
2009/12/5 Anders Hammar &lt;anders@hammar.net&gt;

&gt; There is also a maven plugin for eclipse:
&gt; http://maven.apache.org/plugins/maven-eclipse-plugin/
&gt;
&gt; However, I wouldn't recommend going that pth. M2Eclipse is much better as
&gt; you'll get real integration of Maven in Eclipse. If you haven't done so,
&gt; try
&gt; the latest dev version of M2Eclipse (0.9.9-dev).
&gt;
:) In fact it is just the 0.9.9 which caused the problem,and I tried to use
the 0.9.8 however I can not download the plugin through eclipse,the sonatpye
are too slow to connect.... I wonder why don't they provide a zip file and I
can install them without network...
I am looking for a proxy,but little hope. :(

&gt;
&gt; /Anders
&gt;
&gt; On Sat, Dec 5, 2009 at 05:12, maven apache &lt;apachemaven0@gmail.com&gt; wrote:
&gt;
&gt; &gt; Hi;
&gt; &gt; These days I was confusing with some problems about the m2eclipse,so I
&gt; &gt; wonder if I can use maven without m2elcipse.?
&gt; &gt; For example,when I use m2eclipse after I add a dependency I click "maven
&gt; -
&gt; &gt; update dependencies" ,now what to do without the m2elicpse for updating
&gt; &gt; dependencies?
&gt; &gt; And other commands?
&gt; &gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: use maven in eclipse without m2eclipse</title>
<author><name>Anders Hammar &lt;anders@hammar.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cfabd12810912050424u6e744b6aw69b8edab90c89016@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfabd12810912050424u6e744b6aw69b8edab90c89016@mail-gmail-com%3e</id>
<updated>2009-12-05T12:24:37Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
There is also a maven plugin for eclipse:
http://maven.apache.org/plugins/maven-eclipse-plugin/

However, I wouldn't recommend going that pth. M2Eclipse is much better as
you'll get real integration of Maven in Eclipse. If you haven't done so, try
the latest dev version of M2Eclipse (0.9.9-dev).

/Anders

On Sat, Dec 5, 2009 at 05:12, maven apache &lt;apachemaven0@gmail.com&gt; wrote:

&gt; Hi;
&gt; These days I was confusing with some problems about the m2eclipse,so I
&gt; wonder if I can use maven without m2elcipse.?
&gt; For example,when I use m2eclipse after I add a dependency I click "maven -
&gt; update dependencies" ,now what to do without the m2elicpse for updating
&gt; dependencies?
&gt; And other commands?
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>use maven in eclipse without m2eclipse</title>
<author><name>maven apache &lt;apachemaven0@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cb6ae15040912042012y35ce381amba219adac3457338@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb6ae15040912042012y35ce381amba219adac3457338@mail-gmail-com%3e</id>
<updated>2009-12-05T04:12:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi;
These days I was confusing with some problems about the m2eclipse,so I
wonder if I can use maven without m2elcipse.?
For example,when I use m2eclipse after I add a dependency I click "maven -
update dependencies" ,now what to do without the m2elicpse for updating
dependencies?
And other commands?


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Building using different files based on a build flag?</title>
<author><name>Wayne Fay &lt;waynefay@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c52bab8690912041547g2acc2619kecac9c7bd069473b@mail.gmail.com%3e"/>
<id>urn:uuid:%3c52bab8690912041547g2acc2619kecac9c7bd069473b@mail-gmail-com%3e</id>
<updated>2009-12-04T23:47:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; Reason: Unable to download the artifact from any repository
&gt; Â org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0

What makes you think there is a 1.0 version of this plugin?
http://mvnrepository.com/artifact/org.apache.maven.plugins/maven-enforcer-plugin

Wayne

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Building using different files based on a build flag?</title>
<author><name>laredotornado &lt;laredotornado@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c26645812.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26645812-post@talk-nabble-com%3e</id>
<updated>2009-12-04T23:04:27Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Sweet!  This looks like the answer to my problems, except that when I include
the plugin in my pom.xml, I'm not able to download it.  What repository
should I be using?  Here is what I get ...

mvn clean install jboss:redeploy
[INFO] Scanning for projects...
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.pom
[INFO] Unable to find resource
'org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0' in repository
central (http://repo1.maven.org/maven2)
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.pom
[INFO] Unable to find resource
'org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0' in repository
maven2 (http://repo1.maven.org/maven2)
Downloading:
http://repository.jboss.com/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.pom
[INFO] Unable to find resource
'org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0' in repository jboss
(http://repository.jboss.com/maven2)
Downloading:
http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.pom
[INFO] Unable to find resource
'org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0' in repository
ibiblio (http://mirrors.ibiblio.org/pub/mirrors/maven2)
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-enforcer-plugin/1.0/maven-enforcer-plugin-1.0.pom
[INFO] Unable to find resource
'org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0' in repository
central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-enforcer-plugin
Version: 1.0

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-enforcer-plugin:pom:1.0

from the specified remote repositories:
  maven2 (http://repo1.maven.org/maven2),
  central (http://repo1.maven.org/maven2),
  Codehaus Snapshots (http://snapshots.repository.codehaus.org/),
  jboss (http://repository.jboss.com/maven2),
  ibiblio (http://mirrors.ibiblio.org/pub/mirrors/maven2)


Thanks, - Dave



Wayne Fay wrote:
&gt; 
&gt;&gt; If someone doesn't specify "-Denv=" in the build command, how can you
&gt;&gt; warn
&gt;&gt; them that they must include this parameter rather than the build "failing
&gt;&gt; spectacularly".
&gt; 
&gt; The enforcer plugin can help with that:
&gt; http://maven.apache.org/enforcer/enforcer-rules/requireProperty.html
&gt; 
&gt; Wayne
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: users-help@maven.apache.org
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/Building-using-different-files-based-on-a-build-flag--tp26634795p26645812.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: To Skip some execution with mvn install and mvn assembly:assembly</title>
<author><name>Anders Hammar &lt;anders@hammar.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cfabd12810912041456h4d4dad60v8d445960966b59b4@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfabd12810912041456h4d4dad60v8d445960966b59b4@mail-gmail-com%3e</id>
<updated>2009-12-04T22:56:57Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Not sure what you mean by "assembly target". Have you bound the assembly
plugin to some phase but want to skip it?!
You cannot unbind a plugin, but some plugins provide some configuration
option to turn tem off (like surefire for skipping tests). So you need to
know which plugin it is you want to disable.

/Anders

On Fri, Dec 4, 2009 at 18:29, Laurent PELLEGRINO &lt;
laurent.pellegrino@gmail.com&gt; wrote:

&gt; Thanks it works in order to skip tests :-)
&gt; However I don't found how to skip assembly target when I execute mvn
&gt; install.
&gt;
&gt; Is it possible ?
&gt;
&gt; 2009/12/3 Anders Hammar &lt;anders@hammar.net&gt;:
&gt; &gt; Does this work:
&gt; &gt;
&gt; http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#skipTests
&gt; &gt;
&gt; &gt; /Anders
&gt; &gt;
&gt; &gt; On Thu, Dec 3, 2009 at 16:54, Laurent PELLEGRINO &lt;
&gt; &gt; laurent.pellegrino@gmail.com&gt; wrote:
&gt; &gt;
&gt; &gt;&gt; Dear all,
&gt; &gt;&gt;
&gt; &gt;&gt; I am looking for two things but I don't found how to do :
&gt; &gt;&gt;
&gt; &gt;&gt; 1/ How to indicate in pom file to skip tests and assembly execution
&gt; &gt;&gt; (by assembly execution I mean it handle my jar-with-dependency target)
&gt; &gt;&gt; when I execute mvn install ?
&gt; &gt;&gt;
&gt; &gt;&gt; 2/ How to indicate in pom file to skip tests when I execute mvn
&gt; &gt;&gt; assembly:assembly ?
&gt; &gt;&gt;
&gt; &gt;&gt; Thanks.
&gt; &gt;&gt;
&gt; &gt;&gt; Kind Regards
&gt; &gt;&gt; Laurent
&gt; &gt;&gt;
&gt; &gt;&gt; ---------------------------------------------------------------------
&gt; &gt;&gt; To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
&gt; &gt;&gt; For additional commands, e-mail: users-help@maven.apache.org
&gt; &gt;&gt;
&gt; &gt;&gt;
&gt; &gt;
&gt;
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: users-help@maven.apache.org
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: maven-jar-plugin version 2.3 MANIFEST.MF SNAPSHOT problem</title>
<author><name>Dennis Lundberg &lt;dennisl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c4B197658.4080708@apache.org%3e"/>
<id>urn:uuid:%3c4B197658-4080708@apache-org%3e</id>
<updated>2009-12-04T20:51:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Stephen Duncan Jr wrote:
&gt; I see that http://jira.codehaus.org/browse/MJAR-28 was "fixed" in the 2.3
&gt; release.  From my perspective, this seems to have broken things, including a
&gt; viable working system I had using 2.2.
&gt; 
&gt; In 2.3 I have several SNAPSHOT dependencies, but when I build a jar with
&gt; addClasspath, only one of those is getting a timestamp version, the rest
&gt; still say -SNAPSHOT.  In 2.2 all would say -SNAPSHOT.  By adding:
&gt; 
&gt;             &lt;outputFileNameMapping&gt;
&gt; 
&gt; ${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}
&gt;             &lt;/outputFileNameMapping&gt;
&gt; 
&gt; to my dependency-set config for the assembly plugin, the assembly plugin
&gt; would also always use -SNAPSHOT.
&gt; 
&gt; In 2.3 the versions in the MANIFEST still do not match up to the assembly
&gt; (after removing the outputFileNameMapping), as in that case all the versions
&gt; in the assembly are timestamped, but many are not in the manifest.
&gt; 
&gt; Should I reopen MJAR-28?
&gt; 

Hi Stephen,

Please create a new issue if you are still having problems. We can add a
link to the old issue later, but I prefer not to reopen issues when the
version they were "fixed" in have been released. It messes up the
changes reports.

Also, please attach a sample project that we can use to reproduce the issue.

-- 
Dennis Lundberg

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: How to include unattached HTML pages to maven site?</title>
<author><name>Dennis Lundberg &lt;dennisl@apache.org&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c4B197487.6060709@apache.org%3e"/>
<id>urn:uuid:%3c4B197487-6060709@apache-org%3e</id>
<updated>2009-12-04T20:43:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
jimmi4664 wrote:
&gt; My build generates some HTML documentation, but as part of normal "site
&gt; reporting". One phase of the build just creates some HTML files under a
&gt; given directory.
&gt; 
&gt; I would like to include this as one selection under my "Project reports".
&gt; How could I do this?
&gt; 
&gt; 
&gt; *) In practise the documentation is generated using maven webtest-plugin,
&gt; but for some reason (might be related to my build's special quirks) I
&gt; haven't been able to integrate this plugin with the site reporting

I don't know how webtest-maven-plugin works, but if it is a reporting
plugin then it's report should automatically be added to the "Project
reports" menu.

-- 
Dennis Lundberg

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



</pre>
</div>
</content>
</entry>
<entry>
<title>RE: Warning while generating archetype</title>
<author><name>&quot;Qureshi,Shahzad [Ontario]&quot; &lt;Shahzad.Qureshi@ec.gc.ca&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cDDA8F0C2655CB14DA8C7B84CDC6759A61A001F0F@dowexch2%3e"/>
<id>urn:uuid:%3cDDA8F0C2655CB14DA8C7B84CDC6759A61A001F0F@dowexch2%3e</id>
<updated>2009-12-04T20:32:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
That was it, thank you

For anyone looking for the same issue

I had the following in my archetype-metadata.xml

&lt;fileSet filtered="true" encoding="UTF-8"&gt;
   &lt;directory&gt;src/main/resources&lt;/directory&gt;
   &lt;includes&gt;
     &lt;include&gt;**/*.xml&lt;/include&gt;
     &lt;include&gt;**/*.properties&lt;/include&gt;
   &lt;/includes&gt;
&lt;/fileSet&gt;
&lt;fileSet encoding="UTF-8"&gt;
   &lt;directory&gt;src/main/resources&lt;/directory&gt;
   &lt;includes&gt;
     &lt;include&gt;**/*&lt;/include&gt;
   &lt;/includes&gt;
&lt;/fileSet&gt; 

So I was copying all the .xml and .properties files but then the next fileset was telling
the archetype to copy all files and that's why the copy warning was being generated

So I removed the first fileset and am simply copy all files cause I've a few files in the
resources folder that don't have extensions

Thanks again Stevo

--------------------------------------------
Shahzad Qureshi
Systems Analyst/Programmer
Applications Directorate | La direction générale des applications
Chief Information 
Environment Canada
416-739-4702
shahzad.qureshi@ec.gc.ca

-----Original Message-----
From: Stevo Slaviæ [mailto:sslavic@gmail.com] 
Sent: Friday, December 04, 2009 1:12 PM
To: Maven Users List
Subject: Re: Warning while generating archetype

Probably this&lt;http://maven.apache.org/maven-archetype/archetype-common/xref/org/apache/maven/archetype/generator/DefaultFilesetArchetypeGenerator.html&gt;is
archetype plugin code which logs these warning. Check, your archetype's "archetype-metadata.xml"
I suspect there is one or more overlapping filesets, configured to copy same files into same
location, or maybe same resources/files are listed twice in archetype.xml file.

Regards,
Stevo.

On Fri, Dec 4, 2009 at 6:49 PM, Qureshi,Shahzad [Ontario] &lt; Shahzad.Qureshi@ec.gc.ca&gt;
wrote:

&gt; Hi all,
&gt;
&gt; I used archetype:create-from-project goal to create an archetype from 
&gt; a project of mine, worked perfectly.
&gt;
&gt; Installed the archetype and used it to create a project, which all 
&gt; worked fine
&gt;
&gt; However, I get following warnings when I create a project using the 
&gt; above mentioned archetype and I can't find any reference or meaning to 
&gt; these warnings
&gt;
&gt; [WARNING] CP Don't override file
&gt; C:\projects\test\my-test\src\main\resources\applicationContext.xml
&gt; [WARNING] CP Don't override file
&gt; C:\projects\test\my-test\src\main\resources\assemblies\bin.xml
&gt; [WARNING] CP Don't override file
&gt; C:\projects\test\my-test\src\main\resources\checkstyle.xml
&gt; [WARNING] CP Don't override file
&gt; C:\projects\test\my-test\src\main\resources\conf\application.propertie
&gt; s
&gt; [WARNING] CP Don't override file
&gt; C:\projects\test\my-test\src\main\resources\conf\fileName.xml
&gt; [WARNING] CP Don't override file
&gt; C:\projects\test\my-test\src\main\resources\conf\log4j.properties
&gt;
&gt; These are the files that are part of my project and I get them copied 
&gt; to the folders mentioned above. I don't understand what the warning is 
&gt; about though and why is Maven warning me not to override these files?
&gt;
&gt; Any insight will be greatly appreciated
&gt;
&gt; thanks
&gt;
&gt; --------------------------------------------
&gt; Shahzad Qureshi
&gt; Systems Analyst/Programmer
&gt; Applications Directorate | La direction générale des applications 
&gt; Chief Information Officer Branch | Direction générale du dirigeant 
&gt; principal de l'information Environment Canada | Environnement Canada 
&gt; shahzad.qureshi@ec.gc.ca Telephone | Téléphone 416-739-4702 Government 
&gt; of Canada | Gouvernement du Canada Website | Site Web www.ec.gc.ca
&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Checksum errors</title>
<author><name>Wayne Fay &lt;waynefay@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c52bab8690912041130o25648f86m6279969c124ffd36@mail.gmail.com%3e"/>
<id>urn:uuid:%3c52bab8690912041130o25648f86m6279969c124ffd36@mail-gmail-com%3e</id>
<updated>2009-12-04T19:30:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt;&gt;Friends don't let friends use the dev.java.net repo... Are you sure
&gt;&gt;you need it to build Spring? If so, good luck! (And why are you trying
&gt;&gt;to build Spring anyway?)
&gt;&gt;
&gt;&gt;This artifact (and many others) should be in Central.
&gt;
&gt; Ok, thanks for the response. Â Now, how do I fix it? Â I installed maven
&gt; with all of the default parameters and this is what it's doing. Â I know
&gt; nothing about maven or why it's using a bad repo as a DEFAULT parameter...

First off, I don't reply to private emails. Send them to Maven Users.

Second, Maven does NOT use the dev.java.net repo as a DEFAULT.

Third, I know nothing about your environment. Do you have a
settings.xml file that is pointing to dev.java.net perhaps as a mirror
for Central? Or are you simply working with a pom file someone gave
you that apparently has this repo in the pom (which is a poor practice
for a lot of reasons)?

Is there someone else at your work place who knows more about Maven
that can do some hand-holding? Otherwise if you are simply trying to
build Spring and you're having this problem, I'd suggest that you talk
to the Spring folks and see if they can help.

And again, I have to ask, WHY are you tring to build Spring??

Wayne

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Warning while generating archetype</title>
<author><name>=?UTF-8?Q?Stevo_Slavi=C4=87?= &lt;sslavic@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c7459404c0912041012y47df44d7u96e44c0636c6a02b@mail.gmail.com%3e"/>
<id>urn:uuid:%3c7459404c0912041012y47df44d7u96e44c0636c6a02b@mail-gmail-com%3e</id>
<updated>2009-12-04T18:12:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Probably this&lt;http://maven.apache.org/maven-archetype/archetype-common/xref/org/apache/maven/archetype/generator/DefaultFilesetArchetypeGenerator.html&gt;is
archetype plugin code which logs these warning. Check, your
archetype's
"archetype-metadata.xml" I suspect there is one or more overlapping
filesets, configured to copy same files into same location, or maybe same
resources/files are listed twice in archetype.xml file.

Regards,
Stevo.

On Fri, Dec 4, 2009 at 6:49 PM, Qureshi,Shahzad [Ontario] &lt;
Shahzad.Qureshi@ec.gc.ca&gt; wrote:

&gt; Hi all,
&gt;
&gt; I used archetype:create-from-project goal to create an archetype from a
&gt; project of mine, worked perfectly.
&gt;
&gt; Installed the archetype and used it to create a project, which all worked
&gt; fine
&gt;
&gt; However, I get following warnings when I create a project using the above
&gt; mentioned archetype and I can't find any reference or meaning to these
&gt; warnings
&gt;
&gt; [WARNING] CP Don't override file
&gt; C:\projects\test\my-test\src\main\resources\applicationContext.xml
&gt; [WARNING] CP Don't override file
&gt; C:\projects\test\my-test\src\main\resources\assemblies\bin.xml
&gt; [WARNING] CP Don't override file
&gt; C:\projects\test\my-test\src\main\resources\checkstyle.xml
&gt; [WARNING] CP Don't override file
&gt; C:\projects\test\my-test\src\main\resources\conf\application.properties
&gt; [WARNING] CP Don't override file
&gt; C:\projects\test\my-test\src\main\resources\conf\fileName.xml
&gt; [WARNING] CP Don't override file
&gt; C:\projects\test\my-test\src\main\resources\conf\log4j.properties
&gt;
&gt; These are the files that are part of my project and I get them copied to
&gt; the folders mentioned above. I don't understand what the warning is about
&gt; though and why is Maven warning me not to override these files?
&gt;
&gt; Any insight will be greatly appreciated
&gt;
&gt; thanks
&gt;
&gt; --------------------------------------------
&gt; Shahzad Qureshi
&gt; Systems Analyst/Programmer
&gt; Applications Directorate | La direction générale des applications
&gt; Chief Information Officer Branch | Direction générale du dirigeant
&gt; principal de l'information
&gt; Environment Canada | Environnement Canada
&gt; shahzad.qureshi@ec.gc.ca
&gt; Telephone | Téléphone 416-739-4702
&gt; Government of Canada | Gouvernement du Canada
&gt; Website | Site Web www.ec.gc.ca
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Warning while generating archetype</title>
<author><name>&quot;Qureshi,Shahzad [Ontario]&quot; &lt;Shahzad.Qureshi@ec.gc.ca&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cDDA8F0C2655CB14DA8C7B84CDC6759A61A001F0E@dowexch2%3e"/>
<id>urn:uuid:%3cDDA8F0C2655CB14DA8C7B84CDC6759A61A001F0E@dowexch2%3e</id>
<updated>2009-12-04T17:49:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all,

I used archetype:create-from-project goal to create an archetype from a project of mine, worked
perfectly. 

Installed the archetype and used it to create a project, which all worked fine

However, I get following warnings when I create a project using the above mentioned archetype
and I can't find any reference or meaning to these warnings

[WARNING] CP Don't override file C:\projects\test\my-test\src\main\resources\applicationContext.xml
[WARNING] CP Don't override file C:\projects\test\my-test\src\main\resources\assemblies\bin.xml
[WARNING] CP Don't override file C:\projects\test\my-test\src\main\resources\checkstyle.xml
[WARNING] CP Don't override file C:\projects\test\my-test\src\main\resources\conf\application.properties
[WARNING] CP Don't override file C:\projects\test\my-test\src\main\resources\conf\fileName.xml
[WARNING] CP Don't override file C:\projects\test\my-test\src\main\resources\conf\log4j.properties

These are the files that are part of my project and I get them copied to the folders mentioned
above. I don't understand what the warning is about though and why is Maven warning me not
to override these files?

Any insight will be greatly appreciated

thanks

--------------------------------------------
Shahzad Qureshi
Systems Analyst/Programmer
Applications Directorate | La direction générale des applications
Chief Information Officer Branch | Direction générale du dirigeant principal de l'information
Environment Canada | Environnement Canada
shahzad.qureshi@ec.gc.ca
Telephone | Téléphone 416-739-4702
Government of Canada | Gouvernement du Canada
Website | Site Web www.ec.gc.ca



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: To Skip some execution with mvn install and mvn assembly:assembly</title>
<author><name>Laurent PELLEGRINO &lt;laurent.pellegrino@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c210405750912040929u650ecda1k680cf8e865412da@mail.gmail.com%3e"/>
<id>urn:uuid:%3c210405750912040929u650ecda1k680cf8e865412da@mail-gmail-com%3e</id>
<updated>2009-12-04T17:29:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks it works in order to skip tests :-)
However I don't found how to skip assembly target when I execute mvn install.

Is it possible ?

2009/12/3 Anders Hammar &lt;anders@hammar.net&gt;:
&gt; Does this work:
&gt; http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#skipTests
&gt;
&gt; /Anders
&gt;
&gt; On Thu, Dec 3, 2009 at 16:54, Laurent PELLEGRINO &lt;
&gt; laurent.pellegrino@gmail.com&gt; wrote:
&gt;
&gt;&gt; Dear all,
&gt;&gt;
&gt;&gt; I am looking for two things but I don't found how to do :
&gt;&gt;
&gt;&gt; 1/ How to indicate in pom file to skip tests and assembly execution
&gt;&gt; (by assembly execution I mean it handle my jar-with-dependency target)
&gt;&gt; when I execute mvn install ?
&gt;&gt;
&gt;&gt; 2/ How to indicate in pom file to skip tests when I execute mvn
&gt;&gt; assembly:assembly ?
&gt;&gt;
&gt;&gt; Thanks.
&gt;&gt;
&gt;&gt; Kind Regards
&gt;&gt; Laurent
&gt;&gt;
&gt;&gt; ---------------------------------------------------------------------
&gt;&gt; To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
&gt;&gt; For additional commands, e-mail: users-help@maven.apache.org
&gt;&gt;
&gt;&gt;
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>maven-jar-plugin version 2.3 MANIFEST.MF SNAPSHOT problem</title>
<author><name>Stephen Duncan Jr &lt;stephen.duncan@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cb20ce4ed0912040801q48e141faw87fc39813cb356c0@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb20ce4ed0912040801q48e141faw87fc39813cb356c0@mail-gmail-com%3e</id>
<updated>2009-12-04T16:01:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I see that http://jira.codehaus.org/browse/MJAR-28 was "fixed" in the 2.3
release.  From my perspective, this seems to have broken things, including a
viable working system I had using 2.2.

In 2.3 I have several SNAPSHOT dependencies, but when I build a jar with
addClasspath, only one of those is getting a timestamp version, the rest
still say -SNAPSHOT.  In 2.2 all would say -SNAPSHOT.  By adding:

            &lt;outputFileNameMapping&gt;

${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}
            &lt;/outputFileNameMapping&gt;

to my dependency-set config for the assembly plugin, the assembly plugin
would also always use -SNAPSHOT.

In 2.3 the versions in the MANIFEST still do not match up to the assembly
(after removing the outputFileNameMapping), as in that case all the versions
in the assembly are timestamped, but many are not in the manifest.

Should I reopen MJAR-28?

-- 
Stephen Duncan Jr
www.stephenduncanjr.com


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Building using different files based on a build flag?</title>
<author><name>Wayne Fay &lt;waynefay@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c52bab8690912040800l66f8a01xc5dc1968e43673d3@mail.gmail.com%3e"/>
<id>urn:uuid:%3c52bab8690912040800l66f8a01xc5dc1968e43673d3@mail-gmail-com%3e</id>
<updated>2009-12-04T16:00:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; If someone doesn't specify "-Denv=" in the build command, how can you warn
&gt; them that they must include this parameter rather than the build "failing
&gt; spectacularly".

The enforcer plugin can help with that:
http://maven.apache.org/enforcer/enforcer-rules/requireProperty.html

Wayne

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Script generation using Maven</title>
<author><name>Ray.Mcdermott@toyota-europe.com</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cOFA3972ECE.19A624BE-ONC1257682.0055E6CE-C1257682.0056F3E0@toyota-europe.com%3e"/>
<id>urn:uuid:%3cOFA3972ECE-19A624BE-ONC1257682-0055E6CE-C1257682-0056F3E0@toyota-europe-com%3e</id>
<updated>2009-12-04T15:49:45Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Folks

I am wondering of you can help me.... I would like to be able to generate 
some script actions based on a list of changed files for a build

Let say I have two new files checked out of subversion (these are the new 
/ updated files):

file0.txt
file1.txt # ** updated
file2.txt 
file3.txt # ** new

I then want to generate some actions using the basename and normal of each 
file thus:

do something on file1 file1.txt and then do the next # Yes the only 
variables are file / base names!
do something on file3 file3.txt and then do the next # Yes the only 
variables are file / base names!

and then have the results fed to the shell (or some other executable) - 
OK, I confess: it is a deployment for a very non-standard tool!

I don't want to deploy the files that are not new.  It is of course 
possible to check out the diff files in a temporary directory if that 
helps!

I can of course write this in a variety of languages or create a MOJO.... 
but I rather hope that someone else has done that already using Maven and 
can help to deliver from my ignorance !!

Thanks in advance


Ray 




</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Ant Task: Nullpointer Exception</title>
<author><name>Wayne Fay &lt;waynefay@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c52bab8690912040741m17af35f8if09cf6de78fda66c@mail.gmail.com%3e"/>
<id>urn:uuid:%3c52bab8690912040741m17af35f8if09cf6de78fda66c@mail-gmail-com%3e</id>
<updated>2009-12-04T15:41:38Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
&gt; Â  Â  Â  Â  Â  Â  Â  Â &lt;artifact:pom file="${project.dir}/pom.xml" id="mypom" &gt;
&gt;
&gt; Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â &lt;pom pomrefid="mypompom" /&gt;
&gt;
&gt; java.lang.NullPointerException
&gt; Â  Â  Â  Â at org.apache.maven.artifact.ant.Pom.getArtifact(Pom.java:133)


Does this help you see why it failed?

Wayne

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Ant Task: Nullpointer Exception</title>
<author><name>Vinicius Carvalho &lt;java.vinicius@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cfde284ef0912040726o4eaa4f6dlaa33adbecc7e764d@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfde284ef0912040726o4eaa4f6dlaa33adbecc7e764d@mail-gmail-com%3e</id>
<updated>2009-12-04T15:26:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Actually fixed this, by using pom inside the &lt;artifact:install&gt;
instead of using pomrefid.

Anyway, I started using &lt;artifact:mvn&gt; instead, but its downloading
all dependencies everytime. Not using my local repository. Why is
that?

Regards

On Fri, Dec 4, 2009 at 1:03 PM, Vinicius Carvalho
&lt;java.vinicius@gmail.com&gt; wrote:
&gt; Hello there! I'm trying to integrate my build.xml with some artifacts
&gt; managed by maven. Here's What I've done so far:
&gt;
&gt; &lt;project name="Project Builder"
&gt; xmlns:artifact="antlib:org.apache.maven.artifact.ant"&gt;
&gt;
&gt;        &lt;property file="build.properties"&gt;&lt;/property&gt;
&gt;
&gt;        &lt;path id="maven-ant-tasks.classpath" path="${maven.lib.dir}" /&gt;
&gt;         &lt;typedef resource="org/apache/maven/artifact/ant/antlib.xml"
&gt;                   uri="antlib:org.apache.maven.artifact.ant"
&gt;                   classpathref="maven-ant-tasks.classpath" /&gt;
&gt;
&gt;
&gt;        &lt;target name="install-liquid"&gt;
&gt;                &lt;artifact:pom file="${project.dir}/pom.xml" id="mypom" &gt;
&gt;
&gt;                &lt;/artifact:pom&gt;
&gt;
&gt;                &lt;artifact:install
&gt; file="${project.dir}/${mypom.artifactId}-${my.version}.${mypom.packaging}"
&gt;&gt;
&gt;                        &lt;pom pomrefid="mypompom" /&gt;
&gt;
&gt;                &lt;/artifact:install&gt;
&gt;        &lt;/target&gt;
&gt;
&gt; &lt;/project&gt;
&gt;
&gt; But running this task throws an exception
&gt;
&gt; Buildfile: build.xml
&gt;
&gt; install-liquid:
&gt; BUILD FAILED
&gt; java.lang.NullPointerException
&gt;        at org.apache.maven.artifact.ant.Pom.getArtifact(Pom.java:133)
&gt;        at org.apache.maven.artifact.ant.InstallTask.doExecute(InstallTask.java:53)
&gt;        at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:678)
&gt;        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt;        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt;        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt;        at java.lang.reflect.Method.invoke(Method.java:597)
&gt;        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
&gt;        at org.apache.tools.ant.Task.perform(Task.java:348)
&gt;        at org.apache.tools.ant.Target.execute(Target.java:357)
&gt;        at org.apache.tools.ant.Target.performTasks(Target.java:385)
&gt;        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
&gt;        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
&gt;        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
&gt;        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
&gt;        at org.apache.tools.ant.Main.runBuild(Main.java:758)
&gt;        at org.apache.tools.ant.Main.startAnt(Main.java:217)
&gt;        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
&gt;        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
&gt;
&gt; Total time: 0 seconds
&gt;
&gt;
&gt; I've checked the source, and MavenProject is null. I did not had the
&gt; maven jar on my classpath an thought was that. But I've added it and
&gt; the problem persist.
&gt;
&gt; Any idea?
&gt;
&gt; Regards
&gt;

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Building using different files based on a build flag?</title>
<author><name>laredotornado &lt;laredotornado@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c26635918.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26635918-post@talk-nabble-com%3e</id>
<updated>2009-12-04T15:16:52Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

I found this documentation related to profiles --
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
and it was very helpful.  It left me with one lingering question.

If someone doesn't specify "-Denv=" in the build command, how can you warn
them that they must include this parameter rather than the build "failing
spectacularly".

Thanks, - 



Wayne Fay wrote:
&gt; 
&gt;&gt; Any ideas how I can adjust the build process based on a command line
&gt;&gt; parameter? Â Thanks, - Dave
&gt; 
&gt; The answer to this question is always Use Profiles. They are well
&gt; documented in various places.
&gt; 
&gt; Wayne
&gt; 
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: users-help@maven.apache.org
&gt; 
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/Building-using-different-files-based-on-a-build-flag--tp26634795p26635918.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Ant Task: Nullpointer Exception</title>
<author><name>Vinicius Carvalho &lt;java.vinicius@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cfde284ef0912040703n57c00b23y55d9e74235acdfa4@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfde284ef0912040703n57c00b23y55d9e74235acdfa4@mail-gmail-com%3e</id>
<updated>2009-12-04T15:03:26Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello there! I'm trying to integrate my build.xml with some artifacts
managed by maven. Here's What I've done so far:

&lt;project name="Project Builder"
xmlns:artifact="antlib:org.apache.maven.artifact.ant"&gt;
	
	&lt;property file="build.properties"&gt;&lt;/property&gt;
	
	&lt;path id="maven-ant-tasks.classpath" path="${maven.lib.dir}" /&gt;
	 &lt;typedef resource="org/apache/maven/artifact/ant/antlib.xml"
	           uri="antlib:org.apache.maven.artifact.ant"
	           classpathref="maven-ant-tasks.classpath" /&gt;

	
	&lt;target name="install-liquid"&gt;
		&lt;artifact:pom file="${project.dir}/pom.xml" id="mypom" &gt;
			
		&lt;/artifact:pom&gt;
		
		&lt;artifact:install
file="${project.dir}/${mypom.artifactId}-${my.version}.${mypom.packaging}"
&gt;
			&lt;pom pomrefid="mypompom" /&gt;
			
		&lt;/artifact:install&gt;
	&lt;/target&gt;
	
&lt;/project&gt;

But running this task throws an exception

Buildfile: build.xml

install-liquid:
BUILD FAILED
java.lang.NullPointerException
	at org.apache.maven.artifact.ant.Pom.getArtifact(Pom.java:133)
	at org.apache.maven.artifact.ant.InstallTask.doExecute(InstallTask.java:53)
	at org.apache.maven.artifact.ant.AbstractArtifactTask.execute(AbstractArtifactTask.java:678)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
	at org.apache.tools.ant.Main.runBuild(Main.java:758)
	at org.apache.tools.ant.Main.startAnt(Main.java:217)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 0 seconds


I've checked the source, and MavenProject is null. I did not had the
maven jar on my classpath an thought was that. But I've added it and
the problem persist.

Any idea?

Regards

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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Create multiple JARs from different src directories</title>
<author><name>Gajo Csaba &lt;csaba.gajo@cosylab.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c4B192347.9020400@cosylab.com%3e"/>
<id>urn:uuid:%3c4B192347-9020400@cosylab-com%3e</id>
<updated>2009-12-04T14:57:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,

I don't know specifically for the JAR plugin, but according to its 
website at http://maven.apache.org/plugins/maven-jar-plugin/usage.html 
you can configure which files to include/exclude. So you could create 
separate &lt;execution&gt; elements for each jar file you want to generate, 
and set their configuration to include only the files you want.

You create executions like this:

&lt;plugin&gt;
  &lt;artifactId&gt;....&lt;/artifactId&gt;
  &lt;executions&gt;
    &lt;execution&gt;
        &lt;id&gt;some-unique-id&lt;/id&gt;
        &lt;phase&gt;test&lt;/phase&gt;
       &lt;goals&gt;&lt;goal&gt;jar&lt;/goal&gt;&lt;/goals&gt;
        &lt;configuration&gt;
             do your thing here....
       &lt;/configuration&gt;
     &lt;/execution&gt;
    ... and now create another execution...
&lt;/plugin&gt;

Hope this helped, Csaba


florian.grunow@icw.de wrote:
&gt; Hi there!
&gt;
&gt; I'm quite new to maven and have the following question:
&gt;
&gt; Maven generates test JARs from the test directories that can be specified 
&gt; via the build-helper-maven-plugin. Is it possible to generate seperate 
&gt; JARs (for integration tests in my case) from different test folders? I 
&gt; don't want everything that is a test in my final *-tests.jar, I want to 
&gt; specify what (folder) will reside in my unit test JAR and what should be 
&gt; in a seperate let's say *-itest.jar.
&gt;
&gt; Is that possible?
&gt;
&gt; Working with eclipse and maven2 / maven3.
&gt;
&gt; Cheers,
&gt;
&gt; Florian
&gt;
&gt; InterComponentWare AG:  
&gt; Vorstand: Dr. Lutz Kleinholz (Vors.), Dr. Georg Ralle, Jörg Stadler / Aufsichtsratsvors.:
Prof. Dr. Christof Hettich  
&gt; Firmensitz: 69190 Walldorf, Industriestraße 41 / AG Mannheim HRB 351761 / USt.-IdNr.:
DE 198388516  
&gt; ---------------------------------------------------------------------
&gt; To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
&gt; For additional commands, e-mail: users-help@maven.apache.org
&gt;
&gt;   


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



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Compilation error(try source -1.5)</title>
<author><name>Anders Hammar &lt;anders@hammar.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cfabd12810912040650h1164074es4f130157db853f58@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfabd12810912040650h1164074es4f130157db853f58@mail-gmail-com%3e</id>
<updated>2009-12-04T14:50:08Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Sure:
http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html

Specify 1.5 as source and target.

/Anders

On Fri, Dec 4, 2009 at 15:29, martin mikeln &lt;mikelnmartin@yahoo.com&gt; wrote:

&gt; Hi!
&gt;
&gt; I try to build some project(actually i try to make single JAR file with
&gt; "mvn package" code) and i am getting compilation error and almost all lines
&gt; have some kind of same error(ex. Generics are not supported in source
&gt; -1.3,..., try source -1.5). I think source means source of JDK, so I looked
&gt; and i have jdk 1.6 installed and all paths are correctly set. I also
&gt; uninstalled 1.6 and installed 1.5. My maven and java are installed
&gt; correctly(Maven-2.2.1 version and now 1.5JDK with JRE).
&gt;
&gt; Can anybody please help me with this error??
&gt;
&gt; Thank you
&gt;
&gt;
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Create multiple JARs from different src directories</title>
<author><name>florian.grunow@icw.de</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cOFCEAC61AD.B63EA999-ONC1257682.004F4082-C1257682.004FD965@LocalDomain%3e"/>
<id>urn:uuid:%3cOFCEAC61AD-B63EA999-ONC1257682-004F4082-C1257682-004FD965@LocalDomain%3e</id>
<updated>2009-12-04T14:32:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi there!

I'm quite new to maven and have the following question:

Maven generates test JARs from the test directories that can be specified 
via the build-helper-maven-plugin. Is it possible to generate seperate 
JARs (for integration tests in my case) from different test folders? I 
don't want everything that is a test in my final *-tests.jar, I want to 
specify what (folder) will reside in my unit test JAR and what should be 
in a seperate let's say *-itest.jar.

Is that possible?

Working with eclipse and maven2 / maven3.

Cheers,

Florian

InterComponentWare AG:  
Vorstand: Dr. Lutz Kleinholz (Vors.), Dr. Georg Ralle, Jörg Stadler / Aufsichtsratsvors.:
Prof. Dr. Christof Hettich  
Firmensitz: 69190 Walldorf, Industriestraße 41 / AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516
 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



</pre>
</div>
</content>
</entry>
<entry>
<title>Compilation error(try source -1.5)</title>
<author><name>martin mikeln &lt;mikelnmartin@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c615098.20843.qm@web112514.mail.gq1.yahoo.com%3e"/>
<id>urn:uuid:%3c615098-20843-qm@web112514-mail-gq1-yahoo-com%3e</id>
<updated>2009-12-04T14:29:19Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi!

I try to build some project(actually i try to make single JAR file with "mvn package" code)
and i am getting compilation error and almost all lines have some kind of same error(ex. Generics
are not supported in source -1.3,..., try source -1.5). I think source means source of JDK,
so I looked and i have jdk 1.6 installed and all paths are correctly set. I also uninstalled
1.6 and installed 1.5. My maven and java are installed correctly(Maven-2.2.1 version and now
1.5JDK with JRE). 

Can anybody please help me with this error?? 

Thank you




      

</pre>
</div>
</content>
</entry>
<entry>
<title>Re: maven parameter</title>
<author><name>Anders Hammar &lt;anders@hammar.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cfabd12810912040550w4cb362d7rdafb29b6499619d4@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfabd12810912040550w4cb362d7rdafb29b6499619d4@mail-gmail-com%3e</id>
<updated>2009-12-04T13:50:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
To be used within the pom and filtering?
http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide

/Anders

On Fri, Dec 4, 2009 at 14:47, maven apache &lt;apachemaven0@gmail.com&gt; wrote:

&gt; 2009/12/4 Anders Hammar &lt;anders@hammar.net&gt;
&gt;
&gt; &gt; Normally, if it is a property used by a plugin, it is documented in the
&gt; &gt; plugin's doc. However, for the configId and configDirectory properties
&gt; that
&gt; &gt; you talk about,* I think that they are something GeoServer specific and
&gt; &gt; not
&gt; &gt; for a plugin. Possibly they are used in the pom or during filtering.*
&gt; &gt;
&gt;  So I want to know how to define a parameter by myself like the configId?
&gt; any docs?
&gt;
&gt; &gt;
&gt; &gt; /Anders
&gt; &gt;
&gt; &gt; On Fri, Dec 4, 2009 at 08:39, maven apache &lt;apachemaven0@gmail.com&gt;
&gt; wrote:
&gt; &gt;
&gt; &gt; &gt; 2009/12/4 Kalle Korhonen &lt;kalle.o.korhonen@gmail.com&gt;
&gt; &gt; &gt;
&gt; &gt; &gt; &gt; + any plugin should publish their plugin documentation, e.g.
&gt; &gt; &gt; &gt;
&gt; http://maven.apache.org/plugins/maven-install-plugin/plugin-info.html.
&gt; &gt; &gt; &gt; Once you know which plugin you want to use, it's almost trivial.
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; I know this,it is configed in the pom.xml.
&gt; &gt; &gt; What I mean is the parameter in the command line:
&gt; &gt; &gt; see
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt;
&gt; http://docs.geoserver.org/2.0.x/en/developer/maven-guide/index.html#building-the-web-module
&gt; &gt; &gt; &lt;
&gt; &gt; &gt;
&gt; &gt;
&gt; http://docs.geoserver.org/2.0.x/en/developer/maven-guide/index.html#building-the-web-module
&gt; &gt; &gt; &gt;mvn
&gt; &gt; &gt; clean install -DconfigId=release
&gt; &gt; &gt; -DconfigDirectory=/home/jdeolive/geoserver_1.7.x/data
&gt; &gt; &gt; there is a parameter named configId and configDirectory,but I can not
&gt; &gt; find
&gt; &gt; &gt; where are they defined....
&gt; &gt; &gt;
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; Kalle
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; On Thu, Dec 3, 2009 at 10:41 PM, Stephen Connolly
&gt; &gt; &gt; &gt; &lt;stephen.alan.connolly@gmail.com&gt; wrote:
&gt; &gt; &gt; &gt; &gt; these properties are used by plugins.
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; first you need to find what plugins are bound to your project
&gt; &gt; lifecycle
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; then you need to find what goals are used for each plugin
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; then you need to look at the params available for each goal
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; the maven-help-plugin may be able to help you
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; Sent from my [rhymes with tryPod] ;-)
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt; On 4 Dec 2009, at 06:31, maven apache &lt;apachemaven0@gmail.com&gt;
&gt; &gt; wrote:
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt;&gt; Hi:
&gt; &gt; &gt; &gt; &gt;&gt; Some maven command like "mvn install -Dmaven.test.skip=true"
have
&gt; &gt; &gt; &gt; &gt;&gt; some parameters(here is the maven.test.skip),I want to know which
&gt; &gt; &gt; &gt; &gt;&gt; parameter
&gt; &gt; &gt; &gt; &gt;&gt; I can use?
&gt; &gt; &gt; &gt; &gt;&gt; I mean how do I know there is a parameter I can use? Is there
a
&gt; &gt; &gt; document
&gt; &gt; &gt; &gt; ?
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt;
&gt; ---------------------------------------------------------------------
&gt; &gt; &gt; &gt; &gt; To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
&gt; &gt; &gt; &gt; &gt; For additional commands, e-mail: users-help@maven.apache.org
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; ---------------------------------------------------------------------
&gt; &gt; &gt; &gt; To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
&gt; &gt; &gt; &gt; For additional commands, e-mail: users-help@maven.apache.org
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: maven parameter</title>
<author><name>maven apache &lt;apachemaven0@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cb6ae15040912040547m587f328ftc3161bfdcc96af17@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb6ae15040912040547m587f328ftc3161bfdcc96af17@mail-gmail-com%3e</id>
<updated>2009-12-04T13:47:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
2009/12/4 Anders Hammar &lt;anders@hammar.net&gt;

&gt; Normally, if it is a property used by a plugin, it is documented in the
&gt; plugin's doc. However, for the configId and configDirectory properties that
&gt; you talk about,* I think that they are something GeoServer specific and
&gt; not
&gt; for a plugin. Possibly they are used in the pom or during filtering.*
&gt;
 So I want to know how to define a parameter by myself like the configId?
any docs?

&gt;
&gt; /Anders
&gt;
&gt; On Fri, Dec 4, 2009 at 08:39, maven apache &lt;apachemaven0@gmail.com&gt; wrote:
&gt;
&gt; &gt; 2009/12/4 Kalle Korhonen &lt;kalle.o.korhonen@gmail.com&gt;
&gt; &gt;
&gt; &gt; &gt; + any plugin should publish their plugin documentation, e.g.
&gt; &gt; &gt; http://maven.apache.org/plugins/maven-install-plugin/plugin-info.html.
&gt; &gt; &gt; Once you know which plugin you want to use, it's almost trivial.
&gt; &gt; &gt;
&gt; &gt; I know this,it is configed in the pom.xml.
&gt; &gt; What I mean is the parameter in the command line:
&gt; &gt; see
&gt; &gt;
&gt; &gt;
&gt; http://docs.geoserver.org/2.0.x/en/developer/maven-guide/index.html#building-the-web-module
&gt; &gt; &lt;
&gt; &gt;
&gt; http://docs.geoserver.org/2.0.x/en/developer/maven-guide/index.html#building-the-web-module
&gt; &gt; &gt;mvn
&gt; &gt; clean install -DconfigId=release
&gt; &gt; -DconfigDirectory=/home/jdeolive/geoserver_1.7.x/data
&gt; &gt; there is a parameter named configId and configDirectory,but I can not
&gt; find
&gt; &gt; where are they defined....
&gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; Kalle
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; On Thu, Dec 3, 2009 at 10:41 PM, Stephen Connolly
&gt; &gt; &gt; &lt;stephen.alan.connolly@gmail.com&gt; wrote:
&gt; &gt; &gt; &gt; these properties are used by plugins.
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; first you need to find what plugins are bound to your project
&gt; lifecycle
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; then you need to find what goals are used for each plugin
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; then you need to look at the params available for each goal
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; the maven-help-plugin may be able to help you
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; Sent from my [rhymes with tryPod] ;-)
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; On 4 Dec 2009, at 06:31, maven apache &lt;apachemaven0@gmail.com&gt;
&gt; wrote:
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt;&gt; Hi:
&gt; &gt; &gt; &gt;&gt; Some maven command like "mvn install -Dmaven.test.skip=true" have
&gt; &gt; &gt; &gt;&gt; some parameters(here is the maven.test.skip),I want to know which
&gt; &gt; &gt; &gt;&gt; parameter
&gt; &gt; &gt; &gt;&gt; I can use?
&gt; &gt; &gt; &gt;&gt; I mean how do I know there is a parameter I can use? Is there a
&gt; &gt; document
&gt; &gt; &gt; ?
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt; ---------------------------------------------------------------------
&gt; &gt; &gt; &gt; To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
&gt; &gt; &gt; &gt; For additional commands, e-mail: users-help@maven.apache.org
&gt; &gt; &gt; &gt;
&gt; &gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; ---------------------------------------------------------------------
&gt; &gt; &gt; To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
&gt; &gt; &gt; For additional commands, e-mail: users-help@maven.apache.org
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: maven parameter</title>
<author><name>Anders Hammar &lt;anders@hammar.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cfabd12810912040540h7c9601b1h45958eaa750db88d@mail.gmail.com%3e"/>
<id>urn:uuid:%3cfabd12810912040540h7c9601b1h45958eaa750db88d@mail-gmail-com%3e</id>
<updated>2009-12-04T13:40:11Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Normally, if it is a property used by a plugin, it is documented in the
plugin's doc. However, for the configId and configDirectory properties that
you talk about, I think that they are something GeoServer specific and not
for a plugin. Possibly they are used in the pom or during filtering.

/Anders

On Fri, Dec 4, 2009 at 08:39, maven apache &lt;apachemaven0@gmail.com&gt; wrote:

&gt; 2009/12/4 Kalle Korhonen &lt;kalle.o.korhonen@gmail.com&gt;
&gt;
&gt; &gt; + any plugin should publish their plugin documentation, e.g.
&gt; &gt; http://maven.apache.org/plugins/maven-install-plugin/plugin-info.html.
&gt; &gt; Once you know which plugin you want to use, it's almost trivial.
&gt; &gt;
&gt; I know this,it is configed in the pom.xml.
&gt; What I mean is the parameter in the command line:
&gt; see
&gt;
&gt; http://docs.geoserver.org/2.0.x/en/developer/maven-guide/index.html#building-the-web-module
&gt; &lt;
&gt; http://docs.geoserver.org/2.0.x/en/developer/maven-guide/index.html#building-the-web-module
&gt; &gt;mvn
&gt; clean install -DconfigId=release
&gt; -DconfigDirectory=/home/jdeolive/geoserver_1.7.x/data
&gt; there is a parameter named configId and configDirectory,but I can not find
&gt; where are they defined....
&gt;
&gt; &gt;
&gt; &gt; Kalle
&gt; &gt;
&gt; &gt;
&gt; &gt; On Thu, Dec 3, 2009 at 10:41 PM, Stephen Connolly
&gt; &gt; &lt;stephen.alan.connolly@gmail.com&gt; wrote:
&gt; &gt; &gt; these properties are used by plugins.
&gt; &gt; &gt;
&gt; &gt; &gt; first you need to find what plugins are bound to your project lifecycle
&gt; &gt; &gt;
&gt; &gt; &gt; then you need to find what goals are used for each plugin
&gt; &gt; &gt;
&gt; &gt; &gt; then you need to look at the params available for each goal
&gt; &gt; &gt;
&gt; &gt; &gt; the maven-help-plugin may be able to help you
&gt; &gt; &gt;
&gt; &gt; &gt; Sent from my [rhymes with tryPod] ;-)
&gt; &gt; &gt;
&gt; &gt; &gt; On 4 Dec 2009, at 06:31, maven apache &lt;apachemaven0@gmail.com&gt; wrote:
&gt; &gt; &gt;
&gt; &gt; &gt;&gt; Hi:
&gt; &gt; &gt;&gt; Some maven command like "mvn install -Dmaven.test.skip=true" have
&gt; &gt; &gt;&gt; some parameters(here is the maven.test.skip),I want to know which
&gt; &gt; &gt;&gt; parameter
&gt; &gt; &gt;&gt; I can use?
&gt; &gt; &gt;&gt; I mean how do I know there is a parameter I can use? Is there a
&gt; document
&gt; &gt; ?
&gt; &gt; &gt;
&gt; &gt; &gt; ---------------------------------------------------------------------
&gt; &gt; &gt; To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
&gt; &gt; &gt; For additional commands, e-mail: users-help@maven.apache.org
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt;
&gt; &gt; ---------------------------------------------------------------------
&gt; &gt; To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
&gt; &gt; For additional commands, e-mail: users-help@maven.apache.org
&gt; &gt;
&gt; &gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>How to include unattached HTML pages to maven site?</title>
<author><name>jimmi4664 &lt;jm.postilista@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3c26635886.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26635886-post@talk-nabble-com%3e</id>
<updated>2009-12-04T13:16:58Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

My build generates some HTML documentation, but as part of normal "site
reporting". One phase of the build just creates some HTML files under a
given directory.

I would like to include this as one selection under my "Project reports".
How could I do this?


*) In practise the documentation is generated using maven webtest-plugin,
but for some reason (might be related to my build's special quirks) I
haven't been able to integrate this plugin with the site reporting
-- 
View this message in context: http://old.nabble.com/How-to-include-unattached-HTML-pages-to-maven-site--tp26635886p26635886.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



</pre>
</div>
</content>
</entry>
<entry>
<title>maven 3 inheritance</title>
<author><name>Erlend Hamnaberg &lt;ngarthl@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/maven-users/200912.mbox/%3cc8d0ecff0912040403u88b3a4evb28dba7f30de66e5@mail.gmail.com%3e"/>
<id>urn:uuid:%3cc8d0ecff0912040403u88b3a4evb28dba7f30de66e5@mail-gmail-com%3e</id>
<updated>2009-12-04T12:03:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
An error occured while fetching this message, sorry !
</pre>
</div>
</content>
</entry>
</feed>
