artifacts associated with a WAR

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

artifacts associated with a WAR

by huser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

We use Maven WAR plugin for generating WAR. Is there a way to see the artifacts associated with a WAR.

I know that we can see useful info using mvn help:effective-pom on the source code. But how can I see the same on a WAR file ? We deploy the WARS to nexus.

TIA,

Re: artifacts associated with a WAR

by Wayne Fay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I know that we can see useful info using mvn help:effective-pom on the
> source code. But how can I see the same on a WAR file ? We deploy the WARS
> to nexus.

What (specific) information about the WAR file do you want to see
which is not already being shown via help:effective-pom?

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: artifacts associated with a WAR

by huser :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

mvn help:effective-pom shows the outout in the project POM.xml and the source tree.

I want to see the same information on a WAR/EAR/JAR/ZIP file.

TIA,

Wayne Fay wrote:
> I know that we can see useful info using mvn help:effective-pom on the
> source code. But how can I see the same on a WAR file ? We deploy the WARS
> to nexus.

What (specific) information about the WAR file do you want to see
which is not already being shown via help:effective-pom?

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

Re: artifacts associated with a WAR

by Wayne Fay :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> mvn help:effective-pom shows the outout in the project POM.xml and the source
> tree.
>
> I want to see the same information on a WAR/EAR/JAR/ZIP file.

Java simply does not support what you're asking for out of the box
(thus Maven was created).

Artifacts built with Maven include a pom.xml file inside the ear/war/jar eg:
dear-2.1.2.ear!\META-INF\maven\com.xyz\dear\pom.xml

Perhaps that will be sufficient? If not, there may be something built
into Nexus -- but you'd have to ask on their Users list.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...