Re: Error assembling WAR: MANIFEST.MF does not exist.

2011-05-01 Thread Dennis Lundberg
On 2011-05-01 01:31, sipungora wrote:
 Sorry, it was my error. pom says:
 
 build
 outputDirectorywar/WEB-INF/classes/outputDirectory

This is not good. You should alway use a directory under target/ as your
output directory. Why are you setting outputDirectory manually?

 ...
 and
 ...
   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-war-plugin/artifactId
   configuration
   
 warSourceDirectorywar/warSourceDirectory
   
 webXmlsrc/main/webapp/WEB-INF/web.xml/webXml
   
 dependentWarExcludesWEB-INF/lib/*/dependentWarExcludes
   archive
   
   
 manifestFile${project.build.outputDirectory}/META-INF/MANIFEST.MF
   /manifestFile

Here you are telling the plugin to use your own custom MANIFEST.MF that
is located in ${project.build.outputDirectory}/META-INF/ and with your
current outputDirectory that means in war/WEB-INF/classes/META-INF/ just
as it says in the error message.

   /archive
   /configuration
   /plugin
 ...
 /build
 
 Now I've corrected it and build is successful.
 
 Thank you for hint. Sorry. --
 View this message in context: 
 http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361959.html
 Sent from the Maven - Users mailing list archive at Nabble.com.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 


-- 
Dennis Lundberg

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



Re: Error assembling WAR: MANIFEST.MF does not exist.

2011-05-01 Thread sipungora
 Why are you setting outputDirectory manually?

I have no good answer to your question. I have found the similar project
like my one. And I do copy and paste.

 that means in war/WEB-INF/classes/META-INF/ just as it says in the error
 message.

I've understood this, and therefore I've said sorry.


dennisl wrote:
 
 On 2011-05-01 01:31, sipungora wrote:
 Sorry, it was my error. pom says:
 
 build
 outputDirectorywar/WEB-INF/classes/outputDirectory
 
 This is not good. You should alway use a directory under target/ as your
 output directory. Why are you setting outputDirectory manually?
 
 ...
 and
 ...
  plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-war-plugin/artifactId
  configuration
  
 warSourceDirectorywar/warSourceDirectory
  
 webXmlsrc/main/webapp/WEB-INF/web.xml/webXml
  
 dependentWarExcludesWEB-INF/lib/*/dependentWarExcludes
  archive
  
  
 manifestFile${project.build.outputDirectory}/META-INF/MANIFEST.MF
  /manifestFile
 
 Here you are telling the plugin to use your own custom MANIFEST.MF that
 is located in ${project.build.outputDirectory}/META-INF/ and with your
 current outputDirectory that means in war/WEB-INF/classes/META-INF/ just
 as it says in the error message.
 
  /archive
  /configuration
  /plugin
 ...
 /build
 
 Now I've corrected it and build is successful.
 
 Thank you for hint. Sorry. --
 View this message in context:
 http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361959.html
 Sent from the Maven - Users mailing list archive at Nabble.com.
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
 
 
 
 -- 
 Dennis Lundberg
 
 -
 To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
 For additional commands, e-mail: users-h...@maven.apache.org
 
--
View this message in context: 
http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4363196.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Error assembling WAR: MANIFEST.MF does not exist.

2011-04-30 Thread sipungora
Hi,

can somebody explain me why get I this error:

Error assembling WAR: myproject\war\WEB-INF\classes\META-INF\MANIFEST.MF
does not exist.

Why is it looking for  MANIFEST.MF in WEB-INF\classes?

Thanks in advance.
Best Regards.
-sipungora--
View this message in context: 
http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361924.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: Error assembling WAR: MANIFEST.MF does not exist.

2011-04-30 Thread Benson Margulies
What does your POM say?

On Sat, Apr 30, 2011 at 6:43 PM, sipungora kostya...@yahoo.de wrote:
 Hi,

 can somebody explain me why get I this error:

 Error assembling WAR: myproject\war\WEB-INF\classes\META-INF\MANIFEST.MF
 does not exist.

 Why is it looking for  MANIFEST.MF in WEB-INF\classes?

 Thanks in advance.
 Best Regards.
 -sipungora--
 View this message in context: 
 http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361924.html
 Sent from the Maven - Users mailing list archive at Nabble.com.

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



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



Re: Error assembling WAR: MANIFEST.MF does not exist.

2011-04-30 Thread sipungora
Do you mean this part?

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
configuration

warSourceDirectorywar/warSourceDirectory

webXmlsrc/main/webapp/WEB-INF/web.xml/webXml

dependentWarExcludesWEB-INF/lib/*/dependentWarExcludes
archive


manifestFile${project.build.outputDirectory}/META-INF/MANIFEST.MF
/manifestFile
/archive
/configuration
/plugin
--
View this message in context: 
http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361951.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: Error assembling WAR: MANIFEST.MF does not exist.

2011-04-30 Thread sipungora
Sorry, it was my error. pom says:

build
outputDirectorywar/WEB-INF/classes/outputDirectory
...
and
...
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
configuration

warSourceDirectorywar/warSourceDirectory

webXmlsrc/main/webapp/WEB-INF/web.xml/webXml

dependentWarExcludesWEB-INF/lib/*/dependentWarExcludes
archive


manifestFile${project.build.outputDirectory}/META-INF/MANIFEST.MF
/manifestFile
/archive
/configuration
/plugin
...
/build

Now I've corrected it and build is successful.

Thank you for hint. Sorry. --
View this message in context: 
http://maven.40175.n5.nabble.com/Error-assembling-WAR-MANIFEST-MF-does-not-exist-tp4361924p4361959.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: Build Error - Error assembling WAR: Deployment descriptor:

2008-06-09 Thread Wayne Fay
On 6/8/08, Andrew Madu [EMAIL PROTECTED] wrote:
 Error assembling WAR: Deployment descriptor: C:Documents and
 Settings\mysite\mysite-spring-app\target\mysite-spring-app-1.0-SNAPSHOT\WEB-INF\web.xml
 does not exist

It appears that you do not have web.xml file in your
src/main/webapp/WEB-INF folder. Add one, and try again.

Wayne

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Build Error - Error assembling WAR: Deployment descriptor:

2008-06-07 Thread Andrew Madu

Hi,
so my pom.xml reads as follows:

[code]
   modelVersion4.0.0/modelVersion
 groupIdcom.mysite.app/groupId
 artifactIdmysite-spring-app/artifactId
 version1.0-SNAPSHOT/version
 packagingwar/packaging
 .
[/code]

I simply changed the packaging type to 'war' just to see what output 
would be generated, and am receiving this error:


[code]
Error assembling WAR: Deployment descriptor: C:Documents and 
Settings\mysite\mysite-spring-app\target\mysite-spring-app-1.0-SNAPSHOT\WEB-INF\web.xml 
does not exist

[/code]

What is the issue here?

My platform is as follows:
WIN XP SP1
JDK 1.6.0_06
Maven 2.0.9

Many thanks in advance.

--
Regards

Andrew


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Error assembling WAR with no sources

2006-07-14 Thread Lukasz Szelag

After upgrading to war-plugin 2.0.1 I'm getting an error while assembling a
Web app that has no Java sources (tested with an empty src directory). It
used to work previously. Here is the error message:

Error assembling WAR: Problem creating base-dir/target/classes (Is a
directory)

The classes directory is empty.

Has anyone encountered the same?

On a side note, the Web project inherits from a parent POM where the
location of src directory is redefined (using sourceDirectory).

-- 
View this message in context: 
http://www.nabble.com/Error-assembling-WAR-with-no-sources-tf1945394.html#a5334174
Sent from the Maven - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Error Assembling WAR

2006-05-22 Thread Leo L

Hi!
I have a problem and i can´t fixed it.

I can´t find web.xml when i try to packaging my war.
My App. is an EAR, which i have an ejb packaging, jar and a War:

When I packaging the war, i get a Build Error: Error assembling War...

I saw the thread
http://www.nabble.com/War+plugin+and+filtering+webapp+files-t1617964.html and
didn´t help me, because some configurations that i saw was for Maven 1, and
i´m using mave 2.

Here is my war(web) pom.xml
...
build
   plugins
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-war-plugin/artifactId
   executions
 execution
   goals
 goalwar/goal
   /goals
   configuration
 warSourceDirectorysrc/warSourceDirectory
 webResources
   resource
 directoryWebRoot/directory
 filteringfalse/filtering
 includes
   include**/*.xml/include
 /includes
   /resource
 /webResources
   /configuration
 /execution
   /executions
 /plugin
 ...
   /plugins
/build

How can I fixed it??
Anyone can send me a pom.xml example with a configuration that works.
Any help would be great...

Regards,

Leo


Re: Error Assembling WAR

2006-05-22 Thread Alexandre Poitras

Delete the whole plugin configuration section, you don't need if you
use the defaults which are ok in most situations. Then put your java
sources in src/main/java, web.xml in src/main/resources/WEB-INF and
your jsp or html pages in src/main/webapp. From there everything
should work.

On 5/22/06, Leo L [EMAIL PROTECTED] wrote:

Hi!
I have a problem and i can´t fixed it.

I can´t find web.xml when i try to packaging my war.
My App. is an EAR, which i have an ejb packaging, jar and a War:

When I packaging the war, i get a Build Error: Error assembling War...

I saw the thread
http://www.nabble.com/War+plugin+and+filtering+webapp+files-t1617964.html and
didn´t help me, because some configurations that i saw was for Maven 1, and
i´m using mave 2.

Here is my war(web) pom.xml
...
build
plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-war-plugin/artifactId
executions
  execution
goals
  goalwar/goal
/goals
configuration
  warSourceDirectorysrc/warSourceDirectory
  webResources
resource
  directoryWebRoot/directory
  filteringfalse/filtering
  includes
include**/*.xml/include
  /includes
/resource
  /webResources
/configuration
  /execution
/executions
  /plugin
  ...
/plugins
/build

How can I fixed it??
Anyone can send me a pom.xml example with a configuration that works.
Any help would be great...

Regards,

Leo




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error Assembling WAR

2006-05-22 Thread Leo L

Thx Alexandre!

But i forgot to mention that i have my App. structure defined in the sources
repository and i can´t change that...  the structures is:

- Project
  |
  |___ ejb
  |___ components
  |___ web
|__ src
|__ webRoot
  |__ WEB-INF
  |   |__ my configuration
files like web.xml that the maven looking for...
  |
  | ___ my .jsps


I must keep this structure and packaging my war, i don´t have the defaults,
is because that i have the whole plugin configuration section.

Any clue!?

Regards
Leo

2006/5/22, Alexandre Poitras [EMAIL PROTECTED]:


Delete the whole plugin configuration section, you don't need if you
use the defaults which are ok in most situations. Then put your java
sources in src/main/java, web.xml in src/main/resources/WEB-INF and
your jsp or html pages in src/main/webapp. From there everything
should work.

On 5/22/06, Leo L [EMAIL PROTECTED] wrote:
 Hi!
 I have a problem and i can´t fixed it.

 I can´t find web.xml when i try to packaging my war.
 My App. is an EAR, which i have an ejb packaging, jar and a War:

 When I packaging the war, i get a Build Error: Error assembling War...

 I saw the thread

http://www.nabble.com/War+plugin+and+filtering+webapp+files-t1617964.htmland
 didn´t help me, because some configurations that i saw was for Maven 1,
and
 i´m using mave 2.

 Here is my war(web) pom.xml
 ...
 build
 plugins
   plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-war-plugin/artifactId
 executions
   execution
 goals
   goalwar/goal
 /goals
 configuration
   warSourceDirectorysrc/warSourceDirectory
   webResources
 resource
   directoryWebRoot/directory
   filteringfalse/filtering
   includes
 include**/*.xml/include
   /includes
 /resource
   /webResources
 /configuration
   /execution
 /executions
   /plugin
   ...
 /plugins
 /build

 How can I fixed it??
 Anyone can send me a pom.xml example with a configuration that works.
 Any help would be great...

 Regards,

 Leo



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Error Assembling WAR

2006-05-22 Thread Wayne Fay

I'd suggest you simply reformat your project in the source code
repository. Hopefully you are running Subversion so this is easy.

Maven is a lot easier to use if you fully commit to using it. (I'd
suggest you do this in your own private work area to verify it will
work before modifying your entire source repository.)

Wayne

On 5/22/06, Leo L [EMAIL PROTECTED] wrote:

Thx Alexandre!

But i forgot to mention that i have my App. structure defined in the sources
repository and i can´t change that...  the structures is:

- Project
   |
   |___ ejb
   |___ components
   |___ web
 |__ src
 |__ webRoot
   |__ WEB-INF
   |   |__ my configuration
files like web.xml that the maven looking for...
   |
   | ___ my .jsps


I must keep this structure and packaging my war, i don´t have the defaults,
is because that i have the whole plugin configuration section.

Any clue!?

Regards
Leo

2006/5/22, Alexandre Poitras [EMAIL PROTECTED]:

 Delete the whole plugin configuration section, you don't need if you
 use the defaults which are ok in most situations. Then put your java
 sources in src/main/java, web.xml in src/main/resources/WEB-INF and
 your jsp or html pages in src/main/webapp. From there everything
 should work.

 On 5/22/06, Leo L [EMAIL PROTECTED] wrote:
  Hi!
  I have a problem and i can´t fixed it.
 
  I can´t find web.xml when i try to packaging my war.
  My App. is an EAR, which i have an ejb packaging, jar and a War:
 
  When I packaging the war, i get a Build Error: Error assembling War...
 
  I saw the thread
 
 http://www.nabble.com/War+plugin+and+filtering+webapp+files-t1617964.htmland
  didn´t help me, because some configurations that i saw was for Maven 1,
 and
  i´m using mave 2.
 
  Here is my war(web) pom.xml
  ...
  build
  plugins
plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-war-plugin/artifactId
  executions
execution
  goals
goalwar/goal
  /goals
  configuration
warSourceDirectorysrc/warSourceDirectory
webResources
  resource
directoryWebRoot/directory
filteringfalse/filtering
includes
  include**/*.xml/include
/includes
  /resource
/webResources
  /configuration
/execution
  /executions
/plugin
...
  /plugins
  /build
 
  How can I fixed it??
  Anyone can send me a pom.xml example with a configuration that works.
  Any help would be great...
 
  Regards,
 
  Leo
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[m2] Error assembling WAR

2006-01-19 Thread Malcolm Wong Ho

I'm getting an 'Error assembling WAR' when trying to package a web application.

Log :

Embedded error: Could not explode webapp...
Could not create destination directory 
'/home/malcolm/IBM/rationalsdp6.0/maven_workspace/my-webapp2/my-webapp2-1.0-SNAPSHOT
/WEB-INF/classes/my-webapp2-1.0-SNAPSHOT/WEB-INF/classes/my-webapp2-1.0-SNAPSHOT/WEB-INF/classes/my-webapp2-1.0-SNAPSHOT
/WEB-INF/classes/my-webapp2-1.0-SNAPSHOT/WEB-INF/classes/my-webapp2-1.0-SNAPSHOT/WEB-INF/classes/my-webapp2-1.0-SNAPSHOT
/WEB-INF/classes/my-webapp2-1.0-SNAPS .. etc...

Any ideas ?


DISCLAIMER:
This message may contain information which is confidential, private or 
privileged in nature. If you are not the intended recipient, you may not 
peruse, use, disseminate, distribute or copy this message or file which is 
attached to this message. If you have received this message in error, please 
notify the sender immediately by e-mail, facsimile or telephone and thereafter 
return and/or destroy the original message. 

Any views of this communication are those of the sender except where the sender 
specifically states them to be those of Faritec (Holdings)  Limited (Faritec) 
and/or  any of its subsidiaries including (but not limited to) Faritec 
Enterprise Solutions (Proprietary) Limited, Faritec Strategic IT Services 
(Proprietary) Limited, Faritec Contracting (Proprietary) Limited, Ebis and/or 
any of its subsidiaries.

Please note that the recipient must scan this e-mail and any attached files for 
viruses and the like. While we do everything possible to protect information 
from viruses, Faritec accepts no liability of whatever nature for any loss, 
liability, damage or expense resulting directly or indirectly from the access 
and/or downloading of any files which are attached to this e-mail message.