You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by muddushafi <mu...@yahoo.com> on 2008/09/09 20:36:37 UTC
POM extends Master POM.....
Hi everyone,
Please help me out on this
I have a project structure as such
atcc-common
|-security
| |-src
| | !-java
| | !***.java
| |-maven.xml
| |- project.xml(extends ${basedir}/../project.xml)
|--maven.xml
|-project.xml(Master POM)
I am trying to run maven:install on of the project.xml file(child or master)
in ECLIPSE, it creates only atcc-common.jar file in the local repository.
atcc-common
|-common
|1.0
|atcc-common.jar
My question is?
I want to see atcc-common-security-1.3.jar file to be installed in the local
repository.
What should I do?
I am also pasting both the files
Firs the atcc-common/security/project.xml file
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed 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.
*/
-->
<project>
<extend>${basedir}/../project.xml</extend>
<artifactId>atcc-common-security</artifactId>
<!-- the version of maven's project object model -->
<groupId>atcc-common</groupId>
<pomVersion>3</pomVersion>
<!-- a unique name for this project -->
<id>atcc-common-security</id>
<!-- a short but descriptive name for the project -->
<name>ATCC Security</name>
<!-- The version of the project under development, e.g.
1.1, 1.2, 2.0-SNAPSHOT -->
<currentVersion>1.3.4</currentVersion>
<!-- details about the organization that 'owns' the project -->
<organization>
<name>Apache Software Foundation</name>
<url>http://www.apache.org/</url>
<logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
</organization>
<!-- the year the project started -->
<inceptionYear>2005</inceptionYear>
<package>org.atcc.common.security</package>
<logo>http://maven.apache.org/images/maven.jpg</logo>
<description>ATCC security classes.</description>
<!-- a short description of what the project does -->
<shortDescription>ATCC security classes.</shortDescription>
<!-- the project home page -->
<url>http://maven.apache.org/reference/plugins/examples/</url>
<issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/</issueTrackingUrl>
<siteAddress>jakarta.apache.org</siteAddress>
<siteDirectory>/www/maven.apache.org/reference/plugins/examples/</siteDirectory>
<distributionDirectory>/www/maven.apache.org/builds/</distributionDirectory>
<!-- the version control repository and http url for online access
the connection element has the form:
scm:<system>:<system specific connection string> -->
<repository>
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/examples</connection>
<url>http://cvs.apache.org/viewcvs/maven-plugins/examples/</url>
</repository>
<!-- any mailing lists for the project -->
<!-- who the developers are for the project -->
<!-- jar files the project is dependent on -->
<dependencies>
<dependency>
<groupId>jboss</groupId>
<artifactId>jbossall-client</artifactId>
<version>3.2.3</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jbosssx</artifactId>
<version>3.2.5</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>rbums</groupId>
<artifactId>rbums-client</artifactId>
<version>1.2</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>springframework</groupId>
<artifactId>spring</artifactId>
<version>2.0</version>
<type>jar</type>
</dependency>
</dependencies>
<!-- build information for the project -->
<build>
<nagEmailAddress>ksheridan@atcc.org</nagEmailAddress>
<sourceDirectory>src/java</sourceDirectory>
<!--
<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
<unitTest>
<includes>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/NaughtyTest.java</exclude>
</excludes>
</unitTest>
-->
<!--
<resources>
<resource>
<directory>src/conf</directory>
<includes>
<include>*.properties</include>
</includes>
</resource>
</resources>
-->
</build>
</project>
Now the atcc-common/Project.xml
<?xml version="1.0" encoding="UTF-8"?>
<project>
<!-- maven POM number, needed but not used -->
<pomVersion>3</pomVersion>
<!-- basic project information -->
<!-- -->
<groupId>atcc-common</groupId>
<id>common</id>
<name>ATCC Common</name>
<currentVersion>1.1</currentVersion>
<!-- -->
<!-- project management section -->
<!-- -->
<organization>
<name>IPMS - Software Projects</name>
<url>http://thumper.atcc.org/</url>
</organization>
<inceptionYear>2006</inceptionYear>
<package>org.atcc.common.*</package>
<logo>/</logo>
<description>atcc-common is a project for all common software
development.</description>
<shortDescription>atcc-common</shortDescription>
<!-- internal web site for the project -->
<url>http://thumper/projects/common</url>
<!-- web server information -->
<siteAddress>thumper</siteAddress>
<siteDirectory>/wwwroot/default/projects/common</siteDirectory>
<!-- need to confirm/create this -->
<distributionDirectory>/atcc-common/dist/${pom.artifactId}/</distributionDirectory>
<repository>
<!-- we need anoncvs for our projects -->
</repository>
<!-- no mailing lists -->
<developers>
<developer>
<name>Hong Cao</name>
<id>hongc</id>
hongc@atcc.org
<organization>ATCC - IPMS Software Projects Team</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Martha Weber</name>
<id>mweber</id>
mweber@atcc.org
<organization>ATCC - IPMS Software Projects Team</organization>
<roles>
<role>Java Developer</role>
</roles>
</developer>
<developer>
<name>Keith Sheridan</name>
<id>ksheridan</id>
ksheridan@atcc.org
<organization>ATCC - IPMS Software Projects Team</organization>
</developer>
</developers>
<!-- -->
<!-- project dependency section -->
<!-- -->
<!-- -->
<!-- project build and reports section -->
<!-- -->
<build>
<!-- do I really want this ? -->
<nagEmailAddress>hcao@atcc.org</nagEmailAddress>
<sourceDirectory>${basedir}/src/java</sourceDirectory>
<unitTestSourceDirectory>${basedir}/src/test</unitTestSourceDirectory>
<unitTest>
<includes>
<include>**/Test*.java</include>
</includes>
<excludes>
<exclude>**/*Test*All.java</exclude>
</excludes>
</unitTest>
<!-- (OPTIONAL) Resources packaged inside the JAR file. -->
</build>
<!-- for now we'll build all of the reports although we should let the
subprojects define their reports -->
</project>
--
View this message in context: http://www.nabble.com/POM-extends-Master-POM.....-tp19398276p19398276.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: POM extends Master POM.....
Posted by Jason van Zyl <ja...@sonatype.com>.
Maven4MyEclipse is a neutered form of m2eclipse. You can see some of
the problems users have been having:
http://blogs.sonatype.com/jvanzyl/2008/09/05/1220595900181.html
You're probably better off in the short term installing m2eclipse.
There are instructions at the end of that blog.
On 9-Sep-08, at 3:22 PM, muddushafi wrote:
>
> I am using Maven2 version.
> Actually, I downloaded MyEclipse6.5 version which supports
> maven4myeclipse.
>
> Rahman
>
>
> Mick Knutson-4 wrote:
>>
>> What version of maven are you using?
>> ---
>> Thank You…
>>
>> Mick Knutson
>> BASE Logic, inc.
>> (415) 354-4215
>>
>> Website: http://baselogic.com
>> Blog: http://baselogic.com/blog
>> BLiNC Magazine: http://blincmagazine.com
>> Linked IN: http://linkedin.com/in/mickknutson
>> DJ Mick: http://djmick.com
>> MySpace: http://myspace.com/mickknutson
>> Vacation Rental: http://tahoe.baselogic.com
>>
>>
>>
>> On Tue, Sep 9, 2008 at 11:36 AM, muddushafi <mu...@yahoo.com>
>> wrote:
>>
>>>
>>> Hi everyone,
>>> Please help me out on this
>>> I have a project structure as such
>>>
>>> atcc-common
>>> |-security
>>> | |-src
>>> | | !-java
>>> | | !***.java
>>> | |-maven.xml
>>> | |- project.xml(extends ${basedir}/../project.xml)
>>> |--maven.xml
>>> |-project.xml(Master POM)
>>>
>>> I am trying to run maven:install on of the project.xml file(child or
>>> master)
>>> in ECLIPSE, it creates only atcc-common.jar file in the local
>>> repository.
>>> atcc-common
>>> |-common
>>> |1.0
>>> |atcc-common.jar
>>> My question is?
>>> I want to see atcc-common-security-1.3.jar file to be installed in
>>> the
>>> local
>>> repository.
>>>
>>> What should I do?
>>> I am also pasting both the files
>>>
>>> Firs the atcc-common/security/project.xml file
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <!--
>>> /*
>>> * Copyright 2001-2004 The Apache Software Foundation.
>>> *
>>> * Licensed 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.
>>> */
>>> -->
>>> <project>
>>> <extend>${basedir}/../project.xml</extend>
>>> <artifactId>atcc-common-security</artifactId>
>>> <!-- the version of maven's project object model -->
>>> <groupId>atcc-common</groupId>
>>> <pomVersion>3</pomVersion>
>>> <!-- a unique name for this project -->
>>> <id>atcc-common-security</id>
>>> <!-- a short but descriptive name for the project -->
>>> <name>ATCC Security</name>
>>> <!-- The version of the project under development, e.g.
>>> 1.1, 1.2, 2.0-SNAPSHOT -->
>>> <currentVersion>1.3.4</currentVersion>
>>>
>>> <!-- details about the organization that 'owns' the project -->
>>> <organization>
>>> <name>Apache Software Foundation</name>
>>> <url>http://www.apache.org/</url>
>>> <logo>http://maven.apache.org/images/jakarta-logo-blue.gif</
>>> logo>
>>> </organization>
>>> <!-- the year the project started -->
>>> <inceptionYear>2005</inceptionYear>
>>> <package>org.atcc.common.security</package>
>>> <logo>http://maven.apache.org/images/maven.jpg</logo>
>>> <description>ATCC security classes.</description>
>>> <!-- a short description of what the project does -->
>>> <shortDescription>ATCC security classes.</shortDescription>
>>> <!-- the project home page -->
>>> <url>http://maven.apache.org/reference/plugins/examples/</url>
>>>
>>> <issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/
>>> </issueTrackingUrl>
>>> <siteAddress>jakarta.apache.org</siteAddress>
>>>
>>> <siteDirectory>/www/maven.apache.org/reference/plugins/examples/
>>> </siteDirectory>
>>>
>>> <distributionDirectory>/www/maven.apache.org/builds/
>>> </distributionDirectory>
>>> <!-- the version control repository and http url for online access
>>> the connection element has the form:
>>> scm:<system>:<system specific connection string> -->
>>> <repository>
>>>
>>> <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:
>>> /home/cvspublic:maven-plugins/examples</connection>
>>> <url>http://cvs.apache.org/viewcvs/maven-plugins/examples/</
>>> url>
>>> </repository>
>>> <!-- any mailing lists for the project -->
>>> <!-- who the developers are for the project -->
>>> <!-- jar files the project is dependent on -->
>>> <dependencies>
>>> <dependency>
>>> <groupId>jboss</groupId>
>>> <artifactId>jbossall-client</artifactId>
>>> <version>3.2.3</version>
>>> <type>jar</type>
>>> </dependency>
>>> <dependency>
>>> <groupId>jboss</groupId>
>>> <artifactId>jbosssx</artifactId>
>>> <version>3.2.5</version>
>>> <type>jar</type>
>>> </dependency>
>>> <dependency>
>>> <groupId>rbums</groupId>
>>> <artifactId>rbums-client</artifactId>
>>> <version>1.2</version>
>>> <type>jar</type>
>>> </dependency>
>>> <dependency>
>>> <groupId>springframework</groupId>
>>> <artifactId>spring</artifactId>
>>> <version>2.0</version>
>>> <type>jar</type>
>>> </dependency>
>>> </dependencies>
>>> <!-- build information for the project -->
>>> <build>
>>> <nagEmailAddress>ksheridan@atcc.org</nagEmailAddress>
>>> <sourceDirectory>src/java</sourceDirectory>
>>> <!--
>>> <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
>>> <unitTest>
>>> <includes>
>>> <include>**/*Test.java</include>
>>> </includes>
>>> <excludes>
>>> <exclude>**/NaughtyTest.java</exclude>
>>> </excludes>
>>> </unitTest>
>>> -->
>>> <!--
>>> <resources>
>>> <resource>
>>> <directory>src/conf</directory>
>>> <includes>
>>> <include>*.properties</include>
>>> </includes>
>>> </resource>
>>> </resources>
>>> -->
>>> </build>
>>> </project>
>>>
>>> Now the atcc-common/Project.xml
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <project>
>>> <!-- maven POM number, needed but not used -->
>>> <pomVersion>3</pomVersion>
>>> <!-- basic project information -->
>>> <!-- -->
>>>
>>> <groupId>atcc-common</groupId>
>>> <id>common</id>
>>> <name>ATCC Common</name>
>>> <currentVersion>1.1</currentVersion>
>>> <!-- -->
>>> <!-- project management section -->
>>> <!-- -->
>>> <organization>
>>> <name>IPMS - Software Projects</name>
>>> <url>http://thumper.atcc.org/</url>
>>> </organization>
>>> <inceptionYear>2006</inceptionYear>
>>> <package>org.atcc.common.*</package>
>>> <logo>/</logo>
>>> <description>atcc-common is a project for all common software
>>> development.</description>
>>> <shortDescription>atcc-common</shortDescription>
>>> <!-- internal web site for the project -->
>>> <url>http://thumper/projects/common</url>
>>> <!-- web server information -->
>>> <siteAddress>thumper</siteAddress>
>>> <siteDirectory>/wwwroot/default/projects/common</siteDirectory>
>>> <!-- need to confirm/create this -->
>>>
>>>
>>> <distributionDirectory>/atcc-common/dist/${pom.artifactId}/</
>>> distributionDirectory>
>>> <repository>
>>> <!-- we need anoncvs for our projects -->
>>> </repository>
>>> <!-- no mailing lists -->
>>> <developers>
>>> <developer>
>>> <name>Hong Cao</name>
>>> <id>hongc</id>
>>> hongc@atcc.org
>>> <organization>ATCC - IPMS Software Projects
>>> Team</organization>
>>> <roles>
>>> <role>Java Developer</role>
>>> </roles>
>>> </developer>
>>> <developer>
>>> <name>Martha Weber</name>
>>> <id>mweber</id>
>>> mweber@atcc.org
>>> <organization>ATCC - IPMS Software Projects
>>> Team</organization>
>>> <roles>
>>> <role>Java Developer</role>
>>> </roles>
>>> </developer>
>>> <developer>
>>> <name>Keith Sheridan</name>
>>> <id>ksheridan</id>
>>> ksheridan@atcc.org
>>> <organization>ATCC - IPMS Software Projects
>>> Team</organization>
>>> </developer>
>>> </developers>
>>> <!-- -->
>>> <!-- project dependency section -->
>>> <!-- -->
>>> <!-- -->
>>> <!-- project build and reports section -->
>>> <!-- -->
>>> <build>
>>> <!-- do I really want this ? -->
>>> <nagEmailAddress>hcao@atcc.org</nagEmailAddress>
>>> <sourceDirectory>${basedir}/src/java</sourceDirectory>
>>>
>>> <unitTestSourceDirectory>${basedir}/src/test</
>>> unitTestSourceDirectory>
>>> <unitTest>
>>> <includes>
>>> <include>**/Test*.java</include>
>>> </includes>
>>> <excludes>
>>> <exclude>**/*Test*All.java</exclude>
>>> </excludes>
>>> </unitTest>
>>> <!-- (OPTIONAL) Resources packaged inside the JAR file. -->
>>> </build>
>>> <!-- for now we'll build all of the reports although we should
>>> let the
>>> subprojects define their reports -->
>>> </project>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/POM-extends-Master-POM.....-tp19398276p19398276.html
>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/POM-extends-Master-POM.....-tp19398276p19399362.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
the course of true love never did run smooth ...
-- Shakespeare
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: POM extends Master POM.....
Posted by Brett Porter <br...@gmail.com>.
The project files you are using are for maven 1, they are not compatible
with maven 2.
2008/9/10 muddushafi <mu...@yahoo.com>
>
> I am using Maven2 version.
> Actually, I downloaded MyEclipse6.5 version which supports maven4myeclipse.
>
> Rahman
>
>
> Mick Knutson-4 wrote:
> >
> > What version of maven are you using?
> > ---
> > Thank You…
> >
> > Mick Knutson
> > BASE Logic, inc.
> > (415) 354-4215
> >
> > Website: http://baselogic.com
> > Blog: http://baselogic.com/blog
> > BLiNC Magazine: http://blincmagazine.com
> > Linked IN: http://linkedin.com/in/mickknutson
> > DJ Mick: http://djmick.com
> > MySpace: http://myspace.com/mickknutson
> > Vacation Rental: http://tahoe.baselogic.com
> >
> >
> >
> > On Tue, Sep 9, 2008 at 11:36 AM, muddushafi <mu...@yahoo.com>
> wrote:
> >
> >>
> >> Hi everyone,
> >> Please help me out on this
> >> I have a project structure as such
> >>
> >> atcc-common
> >> |-security
> >> | |-src
> >> | | !-java
> >> | | !***.java
> >> | |-maven.xml
> >> | |- project.xml(extends ${basedir}/../project.xml)
> >> |--maven.xml
> >> |-project.xml(Master POM)
> >>
> >> I am trying to run maven:install on of the project.xml file(child or
> >> master)
> >> in ECLIPSE, it creates only atcc-common.jar file in the local
> repository.
> >> atcc-common
> >> |-common
> >> |1.0
> >> |atcc-common.jar
> >> My question is?
> >> I want to see atcc-common-security-1.3.jar file to be installed in the
> >> local
> >> repository.
> >>
> >> What should I do?
> >> I am also pasting both the files
> >>
> >> Firs the atcc-common/security/project.xml file
> >> <?xml version="1.0" encoding="UTF-8"?>
> >> <!--
> >> /*
> >> * Copyright 2001-2004 The Apache Software Foundation.
> >> *
> >> * Licensed 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.
> >> */
> >> -->
> >> <project>
> >> <extend>${basedir}/../project.xml</extend>
> >> <artifactId>atcc-common-security</artifactId>
> >> <!-- the version of maven's project object model -->
> >> <groupId>atcc-common</groupId>
> >> <pomVersion>3</pomVersion>
> >> <!-- a unique name for this project -->
> >> <id>atcc-common-security</id>
> >> <!-- a short but descriptive name for the project -->
> >> <name>ATCC Security</name>
> >> <!-- The version of the project under development, e.g.
> >> 1.1, 1.2, 2.0-SNAPSHOT -->
> >> <currentVersion>1.3.4</currentVersion>
> >>
> >> <!-- details about the organization that 'owns' the project -->
> >> <organization>
> >> <name>Apache Software Foundation</name>
> >> <url>http://www.apache.org/</url>
> >> <logo>http://maven.apache.org/images/jakarta-logo-blue.gif
> </logo>
> >> </organization>
> >> <!-- the year the project started -->
> >> <inceptionYear>2005</inceptionYear>
> >> <package>org.atcc.common.security</package>
> >> <logo>http://maven.apache.org/images/maven.jpg</logo>
> >> <description>ATCC security classes.</description>
> >> <!-- a short description of what the project does -->
> >> <shortDescription>ATCC security classes.</shortDescription>
> >> <!-- the project home page -->
> >> <url>http://maven.apache.org/reference/plugins/examples/</url>
> >>
> >> <issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/
> >> </issueTrackingUrl>
> >> <siteAddress>jakarta.apache.org</siteAddress>
> >>
> >> <siteDirectory>/www/maven.apache.org/reference/plugins/examples/
> >> </siteDirectory>
> >>
> >> <distributionDirectory>/www/maven.apache.org/builds/
> >> </distributionDirectory>
> >> <!-- the version control repository and http url for online access
> >> the connection element has the form:
> >> scm:<system>:<system specific connection string> -->
> >> <repository>
> >>
> >> <co...@cvs.apache.org>
> :
> >> /home/cvspublic:maven-plugins/examples</connection>
> >> <url>http://cvs.apache.org/viewcvs/maven-plugins/examples/</url>
> >> </repository>
> >> <!-- any mailing lists for the project -->
> >> <!-- who the developers are for the project -->
> >> <!-- jar files the project is dependent on -->
> >> <dependencies>
> >> <dependency>
> >> <groupId>jboss</groupId>
> >> <artifactId>jbossall-client</artifactId>
> >> <version>3.2.3</version>
> >> <type>jar</type>
> >> </dependency>
> >> <dependency>
> >> <groupId>jboss</groupId>
> >> <artifactId>jbosssx</artifactId>
> >> <version>3.2.5</version>
> >> <type>jar</type>
> >> </dependency>
> >> <dependency>
> >> <groupId>rbums</groupId>
> >> <artifactId>rbums-client</artifactId>
> >> <version>1.2</version>
> >> <type>jar</type>
> >> </dependency>
> >> <dependency>
> >> <groupId>springframework</groupId>
> >> <artifactId>spring</artifactId>
> >> <version>2.0</version>
> >> <type>jar</type>
> >> </dependency>
> >> </dependencies>
> >> <!-- build information for the project -->
> >> <build>
> >> <nagEmailAddress>ksheridan@atcc.org</nagEmailAddress>
> >> <sourceDirectory>src/java</sourceDirectory>
> >> <!--
> >> <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
> >> <unitTest>
> >> <includes>
> >> <include>**/*Test.java</include>
> >> </includes>
> >> <excludes>
> >> <exclude>**/NaughtyTest.java</exclude>
> >> </excludes>
> >> </unitTest>
> >> -->
> >> <!--
> >> <resources>
> >> <resource>
> >> <directory>src/conf</directory>
> >> <includes>
> >> <include>*.properties</include>
> >> </includes>
> >> </resource>
> >> </resources>
> >> -->
> >> </build>
> >> </project>
> >>
> >> Now the atcc-common/Project.xml
> >> <?xml version="1.0" encoding="UTF-8"?>
> >> <project>
> >> <!-- maven POM number, needed but not used -->
> >> <pomVersion>3</pomVersion>
> >> <!-- basic project information -->
> >> <!-- -->
> >>
> >> <groupId>atcc-common</groupId>
> >> <id>common</id>
> >> <name>ATCC Common</name>
> >> <currentVersion>1.1</currentVersion>
> >> <!-- -->
> >> <!-- project management section -->
> >> <!-- -->
> >> <organization>
> >> <name>IPMS - Software Projects</name>
> >> <url>http://thumper.atcc.org/</url>
> >> </organization>
> >> <inceptionYear>2006</inceptionYear>
> >> <package>org.atcc.common.*</package>
> >> <logo>/</logo>
> >> <description>atcc-common is a project for all common software
> >> development.</description>
> >> <shortDescription>atcc-common</shortDescription>
> >> <!-- internal web site for the project -->
> >> <url>http://thumper/projects/common</url>
> >> <!-- web server information -->
> >> <siteAddress>thumper</siteAddress>
> >> <siteDirectory>/wwwroot/default/projects/common</siteDirectory>
> >> <!-- need to confirm/create this -->
> >>
> >>
> >>
> <distributionDirectory>/atcc-common/dist/${pom.artifactId}/</distributionDirectory>
> >> <repository>
> >> <!-- we need anoncvs for our projects -->
> >> </repository>
> >> <!-- no mailing lists -->
> >> <developers>
> >> <developer>
> >> <name>Hong Cao</name>
> >> <id>hongc</id>
> >> hongc@atcc.org
> >> <organization>ATCC - IPMS Software Projects
> >> Team</organization>
> >> <roles>
> >> <role>Java Developer</role>
> >> </roles>
> >> </developer>
> >> <developer>
> >> <name>Martha Weber</name>
> >> <id>mweber</id>
> >> mweber@atcc.org
> >> <organization>ATCC - IPMS Software Projects
> >> Team</organization>
> >> <roles>
> >> <role>Java Developer</role>
> >> </roles>
> >> </developer>
> >> <developer>
> >> <name>Keith Sheridan</name>
> >> <id>ksheridan</id>
> >> ksheridan@atcc.org
> >> <organization>ATCC - IPMS Software Projects
> >> Team</organization>
> >> </developer>
> >> </developers>
> >> <!-- -->
> >> <!-- project dependency section -->
> >> <!-- -->
> >> <!-- -->
> >> <!-- project build and reports section -->
> >> <!-- -->
> >> <build>
> >> <!-- do I really want this ? -->
> >> <nagEmailAddress>hcao@atcc.org</nagEmailAddress>
> >> <sourceDirectory>${basedir}/src/java</sourceDirectory>
> >>
> >> <unitTestSourceDirectory>${basedir}/src/test</unitTestSourceDirectory>
> >> <unitTest>
> >> <includes>
> >> <include>**/Test*.java</include>
> >> </includes>
> >> <excludes>
> >> <exclude>**/*Test*All.java</exclude>
> >> </excludes>
> >> </unitTest>
> >> <!-- (OPTIONAL) Resources packaged inside the JAR file. -->
> >> </build>
> >> <!-- for now we'll build all of the reports although we should let
> the
> >> subprojects define their reports -->
> >> </project>
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/POM-extends-Master-POM.....-tp19398276p19398276.html
> >> Sent from the Maven - Users mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/POM-extends-Master-POM.....-tp19398276p19399362.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Brett Porter
Blog: http://blogs.exist.com/bporter/
Re: POM extends Master POM.....
Posted by muddushafi <mu...@yahoo.com>.
I am using Maven2 version.
Actually, I downloaded MyEclipse6.5 version which supports maven4myeclipse.
Rahman
Mick Knutson-4 wrote:
>
> What version of maven are you using?
> ---
> Thank You…
>
> Mick Knutson
> BASE Logic, inc.
> (415) 354-4215
>
> Website: http://baselogic.com
> Blog: http://baselogic.com/blog
> BLiNC Magazine: http://blincmagazine.com
> Linked IN: http://linkedin.com/in/mickknutson
> DJ Mick: http://djmick.com
> MySpace: http://myspace.com/mickknutson
> Vacation Rental: http://tahoe.baselogic.com
>
>
>
> On Tue, Sep 9, 2008 at 11:36 AM, muddushafi <mu...@yahoo.com> wrote:
>
>>
>> Hi everyone,
>> Please help me out on this
>> I have a project structure as such
>>
>> atcc-common
>> |-security
>> | |-src
>> | | !-java
>> | | !***.java
>> | |-maven.xml
>> | |- project.xml(extends ${basedir}/../project.xml)
>> |--maven.xml
>> |-project.xml(Master POM)
>>
>> I am trying to run maven:install on of the project.xml file(child or
>> master)
>> in ECLIPSE, it creates only atcc-common.jar file in the local repository.
>> atcc-common
>> |-common
>> |1.0
>> |atcc-common.jar
>> My question is?
>> I want to see atcc-common-security-1.3.jar file to be installed in the
>> local
>> repository.
>>
>> What should I do?
>> I am also pasting both the files
>>
>> Firs the atcc-common/security/project.xml file
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!--
>> /*
>> * Copyright 2001-2004 The Apache Software Foundation.
>> *
>> * Licensed 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.
>> */
>> -->
>> <project>
>> <extend>${basedir}/../project.xml</extend>
>> <artifactId>atcc-common-security</artifactId>
>> <!-- the version of maven's project object model -->
>> <groupId>atcc-common</groupId>
>> <pomVersion>3</pomVersion>
>> <!-- a unique name for this project -->
>> <id>atcc-common-security</id>
>> <!-- a short but descriptive name for the project -->
>> <name>ATCC Security</name>
>> <!-- The version of the project under development, e.g.
>> 1.1, 1.2, 2.0-SNAPSHOT -->
>> <currentVersion>1.3.4</currentVersion>
>>
>> <!-- details about the organization that 'owns' the project -->
>> <organization>
>> <name>Apache Software Foundation</name>
>> <url>http://www.apache.org/</url>
>> <logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
>> </organization>
>> <!-- the year the project started -->
>> <inceptionYear>2005</inceptionYear>
>> <package>org.atcc.common.security</package>
>> <logo>http://maven.apache.org/images/maven.jpg</logo>
>> <description>ATCC security classes.</description>
>> <!-- a short description of what the project does -->
>> <shortDescription>ATCC security classes.</shortDescription>
>> <!-- the project home page -->
>> <url>http://maven.apache.org/reference/plugins/examples/</url>
>>
>> <issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/
>> </issueTrackingUrl>
>> <siteAddress>jakarta.apache.org</siteAddress>
>>
>> <siteDirectory>/www/maven.apache.org/reference/plugins/examples/
>> </siteDirectory>
>>
>> <distributionDirectory>/www/maven.apache.org/builds/
>> </distributionDirectory>
>> <!-- the version control repository and http url for online access
>> the connection element has the form:
>> scm:<system>:<system specific connection string> -->
>> <repository>
>>
>> <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:
>> /home/cvspublic:maven-plugins/examples</connection>
>> <url>http://cvs.apache.org/viewcvs/maven-plugins/examples/</url>
>> </repository>
>> <!-- any mailing lists for the project -->
>> <!-- who the developers are for the project -->
>> <!-- jar files the project is dependent on -->
>> <dependencies>
>> <dependency>
>> <groupId>jboss</groupId>
>> <artifactId>jbossall-client</artifactId>
>> <version>3.2.3</version>
>> <type>jar</type>
>> </dependency>
>> <dependency>
>> <groupId>jboss</groupId>
>> <artifactId>jbosssx</artifactId>
>> <version>3.2.5</version>
>> <type>jar</type>
>> </dependency>
>> <dependency>
>> <groupId>rbums</groupId>
>> <artifactId>rbums-client</artifactId>
>> <version>1.2</version>
>> <type>jar</type>
>> </dependency>
>> <dependency>
>> <groupId>springframework</groupId>
>> <artifactId>spring</artifactId>
>> <version>2.0</version>
>> <type>jar</type>
>> </dependency>
>> </dependencies>
>> <!-- build information for the project -->
>> <build>
>> <nagEmailAddress>ksheridan@atcc.org</nagEmailAddress>
>> <sourceDirectory>src/java</sourceDirectory>
>> <!--
>> <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
>> <unitTest>
>> <includes>
>> <include>**/*Test.java</include>
>> </includes>
>> <excludes>
>> <exclude>**/NaughtyTest.java</exclude>
>> </excludes>
>> </unitTest>
>> -->
>> <!--
>> <resources>
>> <resource>
>> <directory>src/conf</directory>
>> <includes>
>> <include>*.properties</include>
>> </includes>
>> </resource>
>> </resources>
>> -->
>> </build>
>> </project>
>>
>> Now the atcc-common/Project.xml
>> <?xml version="1.0" encoding="UTF-8"?>
>> <project>
>> <!-- maven POM number, needed but not used -->
>> <pomVersion>3</pomVersion>
>> <!-- basic project information -->
>> <!-- -->
>>
>> <groupId>atcc-common</groupId>
>> <id>common</id>
>> <name>ATCC Common</name>
>> <currentVersion>1.1</currentVersion>
>> <!-- -->
>> <!-- project management section -->
>> <!-- -->
>> <organization>
>> <name>IPMS - Software Projects</name>
>> <url>http://thumper.atcc.org/</url>
>> </organization>
>> <inceptionYear>2006</inceptionYear>
>> <package>org.atcc.common.*</package>
>> <logo>/</logo>
>> <description>atcc-common is a project for all common software
>> development.</description>
>> <shortDescription>atcc-common</shortDescription>
>> <!-- internal web site for the project -->
>> <url>http://thumper/projects/common</url>
>> <!-- web server information -->
>> <siteAddress>thumper</siteAddress>
>> <siteDirectory>/wwwroot/default/projects/common</siteDirectory>
>> <!-- need to confirm/create this -->
>>
>>
>> <distributionDirectory>/atcc-common/dist/${pom.artifactId}/</distributionDirectory>
>> <repository>
>> <!-- we need anoncvs for our projects -->
>> </repository>
>> <!-- no mailing lists -->
>> <developers>
>> <developer>
>> <name>Hong Cao</name>
>> <id>hongc</id>
>> hongc@atcc.org
>> <organization>ATCC - IPMS Software Projects
>> Team</organization>
>> <roles>
>> <role>Java Developer</role>
>> </roles>
>> </developer>
>> <developer>
>> <name>Martha Weber</name>
>> <id>mweber</id>
>> mweber@atcc.org
>> <organization>ATCC - IPMS Software Projects
>> Team</organization>
>> <roles>
>> <role>Java Developer</role>
>> </roles>
>> </developer>
>> <developer>
>> <name>Keith Sheridan</name>
>> <id>ksheridan</id>
>> ksheridan@atcc.org
>> <organization>ATCC - IPMS Software Projects
>> Team</organization>
>> </developer>
>> </developers>
>> <!-- -->
>> <!-- project dependency section -->
>> <!-- -->
>> <!-- -->
>> <!-- project build and reports section -->
>> <!-- -->
>> <build>
>> <!-- do I really want this ? -->
>> <nagEmailAddress>hcao@atcc.org</nagEmailAddress>
>> <sourceDirectory>${basedir}/src/java</sourceDirectory>
>>
>> <unitTestSourceDirectory>${basedir}/src/test</unitTestSourceDirectory>
>> <unitTest>
>> <includes>
>> <include>**/Test*.java</include>
>> </includes>
>> <excludes>
>> <exclude>**/*Test*All.java</exclude>
>> </excludes>
>> </unitTest>
>> <!-- (OPTIONAL) Resources packaged inside the JAR file. -->
>> </build>
>> <!-- for now we'll build all of the reports although we should let the
>> subprojects define their reports -->
>> </project>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/POM-extends-Master-POM.....-tp19398276p19398276.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
--
View this message in context: http://www.nabble.com/POM-extends-Master-POM.....-tp19398276p19399362.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: POM extends Master POM.....
Posted by Mick Knutson <mi...@gmail.com>.
What version of maven are you using?
---
Thank You…
Mick Knutson
BASE Logic, inc.
(415) 354-4215
Website: http://baselogic.com
Blog: http://baselogic.com/blog
BLiNC Magazine: http://blincmagazine.com
Linked IN: http://linkedin.com/in/mickknutson
DJ Mick: http://djmick.com
MySpace: http://myspace.com/mickknutson
Vacation Rental: http://tahoe.baselogic.com
On Tue, Sep 9, 2008 at 11:36 AM, muddushafi <mu...@yahoo.com> wrote:
>
> Hi everyone,
> Please help me out on this
> I have a project structure as such
>
> atcc-common
> |-security
> | |-src
> | | !-java
> | | !***.java
> | |-maven.xml
> | |- project.xml(extends ${basedir}/../project.xml)
> |--maven.xml
> |-project.xml(Master POM)
>
> I am trying to run maven:install on of the project.xml file(child or
> master)
> in ECLIPSE, it creates only atcc-common.jar file in the local repository.
> atcc-common
> |-common
> |1.0
> |atcc-common.jar
> My question is?
> I want to see atcc-common-security-1.3.jar file to be installed in the
> local
> repository.
>
> What should I do?
> I am also pasting both the files
>
> Firs the atcc-common/security/project.xml file
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
> /*
> * Copyright 2001-2004 The Apache Software Foundation.
> *
> * Licensed 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.
> */
> -->
> <project>
> <extend>${basedir}/../project.xml</extend>
> <artifactId>atcc-common-security</artifactId>
> <!-- the version of maven's project object model -->
> <groupId>atcc-common</groupId>
> <pomVersion>3</pomVersion>
> <!-- a unique name for this project -->
> <id>atcc-common-security</id>
> <!-- a short but descriptive name for the project -->
> <name>ATCC Security</name>
> <!-- The version of the project under development, e.g.
> 1.1, 1.2, 2.0-SNAPSHOT -->
> <currentVersion>1.3.4</currentVersion>
>
> <!-- details about the organization that 'owns' the project -->
> <organization>
> <name>Apache Software Foundation</name>
> <url>http://www.apache.org/</url>
> <logo>http://maven.apache.org/images/jakarta-logo-blue.gif</logo>
> </organization>
> <!-- the year the project started -->
> <inceptionYear>2005</inceptionYear>
> <package>org.atcc.common.security</package>
> <logo>http://maven.apache.org/images/maven.jpg</logo>
> <description>ATCC security classes.</description>
> <!-- a short description of what the project does -->
> <shortDescription>ATCC security classes.</shortDescription>
> <!-- the project home page -->
> <url>http://maven.apache.org/reference/plugins/examples/</url>
>
> <issueTrackingUrl>http://nagoya.apache.org/scarab/servlet/scarab/
> </issueTrackingUrl>
> <siteAddress>jakarta.apache.org</siteAddress>
>
> <siteDirectory>/www/maven.apache.org/reference/plugins/examples/
> </siteDirectory>
>
> <distributionDirectory>/www/maven.apache.org/builds/
> </distributionDirectory>
> <!-- the version control repository and http url for online access
> the connection element has the form:
> scm:<system>:<system specific connection string> -->
> <repository>
>
> <connection>scm:cvs:pserver:anoncvs@cvs.apache.org:
> /home/cvspublic:maven-plugins/examples</connection>
> <url>http://cvs.apache.org/viewcvs/maven-plugins/examples/</url>
> </repository>
> <!-- any mailing lists for the project -->
> <!-- who the developers are for the project -->
> <!-- jar files the project is dependent on -->
> <dependencies>
> <dependency>
> <groupId>jboss</groupId>
> <artifactId>jbossall-client</artifactId>
> <version>3.2.3</version>
> <type>jar</type>
> </dependency>
> <dependency>
> <groupId>jboss</groupId>
> <artifactId>jbosssx</artifactId>
> <version>3.2.5</version>
> <type>jar</type>
> </dependency>
> <dependency>
> <groupId>rbums</groupId>
> <artifactId>rbums-client</artifactId>
> <version>1.2</version>
> <type>jar</type>
> </dependency>
> <dependency>
> <groupId>springframework</groupId>
> <artifactId>spring</artifactId>
> <version>2.0</version>
> <type>jar</type>
> </dependency>
> </dependencies>
> <!-- build information for the project -->
> <build>
> <nagEmailAddress>ksheridan@atcc.org</nagEmailAddress>
> <sourceDirectory>src/java</sourceDirectory>
> <!--
> <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
> <unitTest>
> <includes>
> <include>**/*Test.java</include>
> </includes>
> <excludes>
> <exclude>**/NaughtyTest.java</exclude>
> </excludes>
> </unitTest>
> -->
> <!--
> <resources>
> <resource>
> <directory>src/conf</directory>
> <includes>
> <include>*.properties</include>
> </includes>
> </resource>
> </resources>
> -->
> </build>
> </project>
>
> Now the atcc-common/Project.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
> <!-- maven POM number, needed but not used -->
> <pomVersion>3</pomVersion>
> <!-- basic project information -->
> <!-- -->
>
> <groupId>atcc-common</groupId>
> <id>common</id>
> <name>ATCC Common</name>
> <currentVersion>1.1</currentVersion>
> <!-- -->
> <!-- project management section -->
> <!-- -->
> <organization>
> <name>IPMS - Software Projects</name>
> <url>http://thumper.atcc.org/</url>
> </organization>
> <inceptionYear>2006</inceptionYear>
> <package>org.atcc.common.*</package>
> <logo>/</logo>
> <description>atcc-common is a project for all common software
> development.</description>
> <shortDescription>atcc-common</shortDescription>
> <!-- internal web site for the project -->
> <url>http://thumper/projects/common</url>
> <!-- web server information -->
> <siteAddress>thumper</siteAddress>
> <siteDirectory>/wwwroot/default/projects/common</siteDirectory>
> <!-- need to confirm/create this -->
>
>
> <distributionDirectory>/atcc-common/dist/${pom.artifactId}/</distributionDirectory>
> <repository>
> <!-- we need anoncvs for our projects -->
> </repository>
> <!-- no mailing lists -->
> <developers>
> <developer>
> <name>Hong Cao</name>
> <id>hongc</id>
> hongc@atcc.org
> <organization>ATCC - IPMS Software Projects Team</organization>
> <roles>
> <role>Java Developer</role>
> </roles>
> </developer>
> <developer>
> <name>Martha Weber</name>
> <id>mweber</id>
> mweber@atcc.org
> <organization>ATCC - IPMS Software Projects Team</organization>
> <roles>
> <role>Java Developer</role>
> </roles>
> </developer>
> <developer>
> <name>Keith Sheridan</name>
> <id>ksheridan</id>
> ksheridan@atcc.org
> <organization>ATCC - IPMS Software Projects Team</organization>
> </developer>
> </developers>
> <!-- -->
> <!-- project dependency section -->
> <!-- -->
> <!-- -->
> <!-- project build and reports section -->
> <!-- -->
> <build>
> <!-- do I really want this ? -->
> <nagEmailAddress>hcao@atcc.org</nagEmailAddress>
> <sourceDirectory>${basedir}/src/java</sourceDirectory>
>
> <unitTestSourceDirectory>${basedir}/src/test</unitTestSourceDirectory>
> <unitTest>
> <includes>
> <include>**/Test*.java</include>
> </includes>
> <excludes>
> <exclude>**/*Test*All.java</exclude>
> </excludes>
> </unitTest>
> <!-- (OPTIONAL) Resources packaged inside the JAR file. -->
> </build>
> <!-- for now we'll build all of the reports although we should let the
> subprojects define their reports -->
> </project>
>
>
> --
> View this message in context:
> http://www.nabble.com/POM-extends-Master-POM.....-tp19398276p19398276.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>