"Unknown error trying to build POM"

View: New views
3 Messages — Rating Filter:   Alert me  

"Unknown error trying to build POM"

by Amish Shah-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am new to using Continuum and Maven. I've installed Continuum and am trying add a Maven 2.0
project, but am getting an "Unknown error trying to build POM". Not sure why.


Here is a skimmed down version of my pom:
<project>
        <modelVersion>4.0.0</modelVersion>
        <groupId>com.test.tester</groupId>
        <artifactId>acs</artifactId>
        <packaging>pom</packaging>
        <version>1.0-SNAPSHOT</version>
        <name>acs</name>
        <url>http://maven.apache.org</url>
       
 
        <description>
                This is parent project. A common place to define all common
                dependencies.
        </description>
        <!--
                ===========================================================================
                = BUILD SETTINGS section
                ===========================================================================
        -->
        <build>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <configuration>
                                        <source>1.5</source>
                                        <target>1.5</target>
                                </configuration>
                        </plugin>
                       
  <plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>findbugs-maven-plugin</artifactId>
    <version>1.1.1</version>
    <inherited>true</inherited>
    <configuration>
      <classFilesDirectory>${project.build.directory}/classes</classFilesDirectory>
      <outputDirectory>${project.build.directory}</outputDirectory>
      <xmlOutput>true</xmlOutput>
      <xmlOutputDirectory>${project.build.directory}</xmlOutputDirectory>
    </configuration>
  </plugin>
                </plugins>
        </build>
        <!--
                ===========================================================================
                = Dependencies section
                ===========================================================================
        -->
        <dependencies>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>3.8.1</version>
                        <scope>test</scope>
                </dependency>
        <dependency>
            <groupId>commons-httpclient</groupId>
            <artifactId>commons-httpclient</artifactId>
            <version>3.1</version>
            <scope>test</scope>
        </dependency>
                <dependency>
  <groupId>commons-logging</groupId>
                        <artifactId>commons-logging-api</artifactId>
                        <version>1.1</version>
                </dependency>
        <dependency>
            <groupId>commons-lang</groupId>
            <artifactId>commons-lang</artifactId>
            <version>2.3</version>
        </dependency>      
                <dependency>
                        <groupId>log4j</groupId>
                        <artifactId>log4j</artifactId>
                        <version>1.2.14</version>
                </dependency>
                <dependency>
                        <groupId>mysql</groupId>
                        <artifactId>mysql-connector-java</artifactId>
                        <version>5.0.4</version>
                </dependency>
            <dependency>
              <groupId>org.springframework</groupId>
              <artifactId>spring-mock</artifactId>
              <version>2.0.6</version>
              <scope>test</scope>
            </dependency>
        </dependencies>

        <modules>
                <module>site</module>
  </modules>
   <developers>
     <developer>
            <name>Amish</name>
         </developer>
   </developers>
</project>


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page.
http://www.yahoo.com/r/hs

Re: "Unknown error trying to build POM"

by Wendy Smoak-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Feb 22, 2008 at 7:39 PM, Amish Shah <amishsh@...> wrote:

>  I am new to using Continuum and Maven. I've installed Continuum and am trying add a Maven 2.0
>  project, but am getting an "Unknown error trying to build POM". Not sure why.

Just glancing at it, I don't see a <scm> element, which will be required.

I assume you're seeing that error on a Continuum web page.  Is there
anything interesting in the log file around the same time?

--
Wendy

Re: "Unknown error trying to build POM"

by Amish Shah-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No, I don't see anything in the tomcat log files. Does continuum have another log file that it
writes to?

Amish


--- Wendy Smoak <wsmoak@...> wrote:

> On Fri, Feb 22, 2008 at 7:39 PM, Amish Shah <amishsh@...> wrote:
>
> >  I am new to using Continuum and Maven. I've installed Continuum and am trying add a Maven 2.0
> >  project, but am getting an "Unknown error trying to build POM". Not sure why.
>
> Just glancing at it, I don't see a <scm> element, which will be required.
>
> I assume you're seeing that error on a Continuum web page.  Is there
> anything interesting in the log file around the same time?
>
> --
> Wendy
>



      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ