This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 140122 - "Badly formed Maven project" label for unexplainable reason
Summary: "Badly formed Maven project" label for unexplainable reason
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 6.x
Hardware: Other Linux
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-15 15:31 UTC by lilyevsky
Modified: 2008-07-18 12:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lilyevsky 2008-07-15 15:31:50 UTC
The project is labeled with "Badly formed Maven project", see my pom.xml below. It builds fine though.
The source of the problem is the line "<extensions>true</extensions>". As soon as I comment it out or simply change the
value to "false", Netbeans pickes up the project OK. But the value must be "true" to build the project.

================================================================
<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>
    <groupId>com.ml.elt.era</groupId>
    <artifactId>pke-c8-plugins</artifactId>
    <packaging>so</packaging>
    <version>5.3.4</version>
    <name>pke-c8-plugins</name>
    <url>http://maven.apache.org</url>
    
    <build>
        <plugins>
            
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>native-maven-plugin</artifactId>
                <version>1.0-alpha-2</version>
                <extensions>true</extensions>
                <configuration>
                    <compilerProvider>generic</compilerProvider>
                    <compilerStartOptions>
                        <compilerStartOption>-fPIC</compilerStartOption>
                    </compilerStartOptions>
                    <sources>
                        <source>
                            <directory>src/main/cpp/rv-adapter</directory>
                            <includes>
                                <include>*.cpp</include>
                            </includes>
                        </source>
                        <source>
                            <directory>/mktdata/client/platform/Linux/RHAS-3.0/tibco/tibrv/7.5/include</directory>
                            <dependencyAnalysisParticipation>false</dependencyAnalysisParticipation>
                        </source>
                        <source>
                            <directory>/efs/dist/coral8/server/5.3.4/exec/sdk/c/include</directory>
                            <dependencyAnalysisParticipation>false</dependencyAnalysisParticipation>
                        </source>
                    </sources>
                    <linkerEndOptions>
                        <linkerEndOption>-shared</linkerEndOption>
                        <linkerEndOption>-L/mktdata/client/platform/Linux/RHAS-3.0/tibco/tibrv/7.5/lib</linkerEndOption>
                        <linkerEndOption>-L/efs/dist/coral8/server/5.3.4/exec/sdk/c/lib</linkerEndOption>
                        <linkerEndOption>-lc8_sdk_server_lib</linkerEndOption>
                        <linkerEndOption>-ltibrv64</linkerEndOption>
                        <linkerEndOption>-ltibrvcm64</linkerEndOption>
                        <linkerEndOption>-ltibrvcmq64</linkerEndOption>
                        <linkerEndOption>-ltibrvft64</linkerEndOption>
                    </linkerEndOptions>
                </configuration>
            </plugin>
           
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <version>1.1</version>
                <executions>
                    <execution>
                        <id>attach-artifacts</id>
                        <phase>package</phase>
                        <goals>
                            <goal>attach-artifact</goal>
                        </goals>
                        <configuration>
                            <artifacts>
                                <artifact>
                                    <file>src/main/cpp/rv-adapter/c8_rendezvous_input.adl</file>
                                    <type>adl</type>
                                    <classifier>c8_rendezvous_input</classifier>
                                </artifact>
                                <artifact>
                                    <file>src/main/cpp/rv-adapter/c8_rendezvous_output.adl</file>
                                    <type>adl</type>
                                    <classifier>c8_rendezvous_output</classifier>
                                </artifact>
                            </artifacts>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
           
        </plugins>
    </build>
</project>
========================================================================
Comment 1 Milos Kleint 2008-07-18 12:53:28 UTC
the project opens with my latest trunk sources. I guess the problem with your particular project is on the side of maven
embedder (i've got a slightly updated version in the trunk).
Anyway I've noticed the project loading loop will not show some error details to the user. I've fixed that in 
http://fisheye.codehaus.org/changelog/mevenide/?cs=5503

consider the issue fixed, will appear in version to appear in sync with 6.5