Thanks alot
Next thing is that , I am having a huge directory structure like
dempack/room/primitive/*.java
demapack/jmx/console/*.java
/rfg/pool/bevarage/*.java
/rfg/pool/bevarage/test/*Test.java
like this with lots of .java,.prejava, .properties, .h, .xml,.html ,.pl
file
i have to install all all .pl file to a different location like
/basic/java/include/cfg
all .xml file to some other location
will accepting maven tool for my project will be five. Condition is , i
dont want to restructure my present directiry.
I am using maven , bt it is quite difficult for compiling of source file
and junit testing .
If i use aggregation ang inheretence for my project . under pom packaging
.java is not getting compiled
and if use jar packaging <module> tag is not identified.
so plz tell me .. what should i do .. to build my exiting project by
maven, without restructuring.
Thanks
Brian E Fox wrote:
>
> This is a user list question. However you can't have source in a pom
> project
> as there is nothing bound to compile it. You need to move that source to a
> child module of type jar.
>
>
> On 1/21/09 1:15 AM, "Kumari, Shailja" <[email protected]> wrote:
>
>>
>> Hi,
>>
>> I have directory strucute like this
>>
>> a/b
>> a/c
>> a/d.java
>> a/e.java
>>
>>
>> I have one pom.xml under "a" directory .. Having code for compilation
>> and redirecting directories from there
>> Like
>> <project>
>> <groupId>m</groupId>
>> <modelVersion>4.0.0</modelVersion>
>> <artifactId>a</artifactId>
>> <version>1.0</version>
>> <packaging>pom</packaging>
>> <modules>
>> <module>b</module>
>> <module>c</module>
>> </modules>
>>
>> <build>
>>
>> <sourceDirectory>${TOPDIR}/${JAVA_CLASSES_SRC}/${CUR_DIR}</sourceDirecto
>> ry> -- all properties are defined
>> <outputDirectory>${TOPDIR}/${JAVA_CLASSES_DEST}</outputDirectory>
>>
>> <testSourceDirectory>${basedir}/test</testSourceDirectory>
>> <testOutputDirectory>${TOPDIR}/${JAVA_CLASSES_DEST}</testOutputDirectory
>>>
>> </plugins>
>> ------- code for compilation----->
>> <plugin>
>> <artifactId>maven-compiler-plugin</artifactId>
>> ----------------
>> </plugin>
>> </plugin>
>> </build>
>> </project>
>>
>>
>> What happen when I do mvn compile ,under "a " directory .. Directories
>> b and c get compiled but not all .java files under a
>> means a/d.java and a/e.java is not getting compild . WHY ? Plz help
>> me
>> -----------
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> 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]
>
>
>
--
View this message in context:
http://www.nabble.com/Pom-packaging-tp21577959p21605301.html
Sent from the Maven Developers mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]