Based on the information you are providing, it is nearly impossible to
tell you what's going on/wrong/missing/etc in your specific project.

Are your Java source files in src/main/java?
When you run "mvn compile", what happens? Does it say "BUILD
SUCCESSFUL" near the bottom of the output?
When you look in the target directory, what kinds of files (if any) do
you find? You may need to go into target/classes to see your Java
class files.

The free e-books linked to by Arnaud are basically considered
"mandatory reading" for people posting on this list. If you have not
read them yet, you should go do it now.

Wayne

On Thu, Oct 16, 2008 at 12:06 AM, Jan K <[EMAIL PROTECTED]> wrote:
>
> I able to build the project successfully.I get a target folder created.But i
> donot find any class files created for the project.Here is my sample pom.xml
> file:
>
> <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>careertales.net</groupId>
>  <artifactId>careertales</artifactId>
>  <packaging>jar</packaging>
>  <version>1.0-SNAPSHOT</version>
>  <name>CT</name>
>  <url>http://localhost:8080/ct2</url>
>  <dependencies>
>    <dependency>
>      <groupId>junit</groupId>
>      <artifactId>junit</artifactId>
>      <version>3.8.1</version>
>      <scope>test</scope>
>    </dependency>
>  </dependencies>
> </project>
>
> Please correct me.Please let me know what i am missing.
>
>
>
>
> Jan K wrote:
>>
>> I am very new to maven.I have downloaded apache-maven-2.0.9.I read the
>> doc's and installed maven. I executed the following commands  in command
>> prompt,
>>
>> mvn archetype:create \
>>   -DarchetypeGroupId=org.apache.maven.archetypes \
>>   -DgroupId=com.mycompany.app \
>>   -DartifactId=my-app
>>
>>
>> I got a folder as my-app in my local path.I can see the pom.xml.Please
>> help me what should i do next?How to change it the project i am willing to
>> run?
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/New-to-Maven---need-help-tp19971205p20008277.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to