Re: [mevenide-user] Badly formed Maven project

Rice Yeh <[email protected]> Mon, 9 Jun 2008 08:24:46 -0700 (PDT)
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.user
Message-ID <[email protected]>
The versions of the netbeans and mevenide I use is 6.1 and 3.1.3
respectively. 

Regards,
Rice 


Rice Yeh wrote:
> 
> Hi,
>   I tried to open a project with pom.xml as shown in the following
> section. The project title shows "Badly formed maven project". However, I
> can build the project with command line well.
> 
> pom.xml:
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
>   Licensed to the Apache Software Foundation (ASF) under one
>   or more contributor license agreements.  See the NOTICE file
>   distributed with this work for additional information
>   regarding copyright ownership.  The ASF licenses this file
>   to you under the Apache License, Version 2.0 (the
>   "License"); you may not use this file except in compliance
>   with the License.  You may obtain a copy of the License at
> 
>    http://www.apache.org/licenses/LICENSE-2.0
> 
>   Unless required by applicable law or agreed to in writing,
>   software distributed under the License is distributed on an
>   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>   KIND, either express or implied.  See the License for the
>   specific language governing permissions and limitations
>   under the License.
> -->
> <!-- $Id: pom.xml 643595 2008-04-01 21:40:49Z reinhard $ -->
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> 
>   <modelVersion>4.0.0</modelVersion>
>   <packaging>jar</packaging>
> 
>   <name>myBlock1</name>
>   <groupId>com.mycompany</groupId>
>   <artifactId>myBlock1</artifactId>
>   <version>1.0-SNAPSHOT</version>
> 
>   <dependencies>
>     <dependency>
>       <groupId>org.apache.cocoon</groupId>
>       <artifactId>cocoon-core</artifactId>
>       <version>2.2.0</version>
>     </dependency>
>     <dependency>
>       <groupId>org.apache.cocoon</groupId>
>       <artifactId>cocoon-servlet-service-components</artifactId>
>       <version>1.0.0</version>
>     </dependency>
>     <dependency>
>       <groupId>org.apache.cocoon</groupId>
>       <artifactId>cocoon-template-impl</artifactId>
>       <version>1.1.0</version>
>     </dependency>
>     <dependency>
>       <groupId>org.apache.cocoon</groupId>
>       <artifactId>cocoon-flowscript-impl</artifactId>
>       <version>1.0.0</version>
>     </dependency>
>     <dependency>
>       <groupId>javax.servlet</groupId>
>       <artifactId>servlet-api</artifactId>
>       <version>2.4</version>
>       <scope>provided</scope>
>     </dependency>
>   </dependencies>
> 
>   <build>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.cocoon</groupId>
>         <artifactId>cocoon-maven-plugin</artifactId>
>         <version>1.0.0-M2</version>
>         <executions>
>           <execution>
>             <id>prepare</id>
>             <phase>compile</phase>
>             <goals>
>               <goal>prepare</goal>
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
>       <plugin>
>         <groupId>org.mortbay.jetty</groupId>
>         <artifactId>maven-jetty-plugin</artifactId>
>         <version>6.1.7</version>
>         <configuration>
>           <connectors>
>             <connector
> implementation="org.mortbay.jetty.nio.SelectChannelConnector">
>               <port>8888</port>
>               <maxIdleTime>30000</maxIdleTime>
>             </connector>
>           </connectors>
>          
> <webAppSourceDirectory>${project.build.directory}/rcl/webapp</webAppSourceDirectory>
>           <contextPath>/</contextPath>
>           <systemProperties>
>             <systemProperty>
>               <name>org.apache.cocoon.mode</name>
>               <value>dev</value>
>             </systemProperty>
>           </systemProperties>
>         </configuration>
>       </plugin>
>       <plugin>
>         <artifactId>maven-jar-plugin</artifactId>
>         <version>2.1</version>
>         <configuration>
>           <archive>
>             <manifestEntries>
>               <Cocoon-Block-Name>${pom.artifactId}</Cocoon-Block-Name>
>             </manifestEntries>
>           </archive>
>         </configuration>
>       </plugin>
>       <plugin>
>         <artifactId>maven-eclipse-plugin</artifactId>
>         <version>2.5</version>
>       </plugin>
>     </plugins>
>   </build>
> 
> </project>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Badly-formed-Maven-project-tp17735063p17735198.html
Sent from the mevenide - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email