Thank you guys for your help.
I have a question is there any order for writing the plugins. I wrote my
source plugin at the end it is not doing anything. Another question is what
is the difference between defining the plugin at project-->plugin vs
project-->profile.
the code which I wrote in proj
Hi Madhu,
As suggested earlier, did you try the maven-source-plugin? It might be
easier for you.
maven-source-plugin
2.1.2
jar
This will generate a JAR f
This is how my code looks which I wrote:
This is my source.xml file
http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0
http://mave
.html
[3]
http://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.html#src
-Original Message-
From: Madhu [mailto:bm.madh...@gmail.com]
Sent: Wednesday, September 12, 2012 8:06 AM
To: users@maven.apache.org
Subject: Re: Re: How to zip the source code separately using Maven
I wanted only
Hi,
> I wanted only source code but it tries to combine the whole project
content
> with Jar and etc. I am getting the following error.
>
> Failed to execute goal
> org.apache.maven.plugins:maven-assembly-plugin:2.3:assembly
(make-assembly)
> on project ABCServices: Error reading assemblies: N
I wanted only source code but it tries to combine the whole project content
with Jar and etc. I am getting the following error.
Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.3:assembly (make-assembly)
on project ABCServices: Error reading assemblies: No assembly descript
Hi,
> can somebody give me the sample code...
Please read the links you were given.
What have you tried so far? And what problems do you still have?
Regards
Thorsten
can somebody give me the sample code...
-
Madhu
--
View this message in context:
http://maven.40175.n5.nabble.com/How-to-zip-the-source-code-separately-using-Maven-tp5721257p5721311.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---
You can use either the Maven source plugin [1] or the more generic Maven
Assembly Plugin [2] if you want more control of what goes into your zip.
-Jim
[1] http://maven.apache.org/plugins/maven-source-plugin/
[2] http://maven.apache.org/plugins/maven-assembly-plugin/
-Original Message-