Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
frascati
frascati
Commits
9e3bf39b
Commit
9e3bf39b
authored
Dec 07, 2010
by
Nicolas Petitprez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use shared assembly to package modules
parent
df0ea032
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
81 additions
and
44 deletions
+81
-44
frascati/intents/pom.xml
frascati/intents/pom.xml
+13
-9
frascati/intents/uml-sequence-diagram/pom.xml
frascati/intents/uml-sequence-diagram/pom.xml
+0
-19
frascati/maven-plugins/frascati-assembly-descriptor/pom.xml
frascati/maven-plugins/frascati-assembly-descriptor/pom.xml
+37
-0
frascati/maven-plugins/frascati-assembly-descriptor/src/main/resources/assembly-bin.xml
...i-assembly-descriptor/src/main/resources/assembly-bin.xml
+1
-1
frascati/maven-plugins/pom.xml
frascati/maven-plugins/pom.xml
+1
-0
frascati/modules/pom.xml
frascati/modules/pom.xml
+6
-2
frascati/pom.xml
frascati/pom.xml
+23
-13
No files found.
frascati/intents/pom.xml
View file @
9e3bf39b
...
...
@@ -39,15 +39,19 @@
<module>
authentication
</module>
<module>
uml-sequence-diagram
</module>
</modules>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
</plugin>
</plugins>
</build>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
</plugin>
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<groupId>
org.apache.maven.plugins
</groupId>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
...
...
frascati/intents/uml-sequence-diagram/pom.xml
View file @
9e3bf39b
...
...
@@ -75,25 +75,6 @@
<build>
<plugins>
<!-- Create jar for this intent -->
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
2.2
</version>
<configuration>
<descriptorRefs>
<descriptorRef>
jar-with-dependencies
</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>
make-assembly
</id>
<phase>
package
</phase>
<goals>
<goal>
single
</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Create ZIP for this intent. -->
<!-- TODO
...
...
frascati/maven-plugins/frascati-assembly-descriptor/pom.xml
0 → 100644
View file @
9e3bf39b
<?xml version="1.0"?>
<!--
* OW2 FraSCAti: Compiler Maven Plugin
*
* Copyright (c) 2007-2010 INRIA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-->
<project
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
>
<modelVersion>
4.0.0
</modelVersion>
<!-- ===================== -->
<!-- General Information -->
<!-- ===================== -->
<parent>
<groupId>
org.ow2.frascati.mojo
</groupId>
<artifactId>
maven-plugins-parent
</artifactId>
<version>
1.4-SNAPSHOT
</version>
</parent>
<groupId>
org.ow2.frascati.mojo
</groupId>
<artifactId>
frascati-assemby-descriptor
</artifactId>
</project>
\ No newline at end of file
frascati/assembly-bin.xml
→
frascati/
maven-plugins/frascati-assembly-descriptor/src/main/resources/
assembly-bin.xml
View file @
9e3bf39b
...
...
@@ -27,7 +27,7 @@
<assembly>
<id>
bin
</id>
<id>
assembly-
bin
</id>
<formats>
<format>
zip
</format>
...
...
frascati/maven-plugins/pom.xml
View file @
9e3bf39b
...
...
@@ -80,6 +80,7 @@
<module>
frascati-compiler
</module>
<module>
frascati-contribution
</module>
<module>
frascati-launcher
</module>
<module>
frascati-assembly-descriptor
</module>
</modules>
</project>
frascati/modules/pom.xml
View file @
9e3bf39b
...
...
@@ -139,8 +139,12 @@
</plugins>
</pluginManagement>
<plugins>
</plugins>
<plugins>
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<groupId>
org.apache.maven.plugins
</groupId>
</plugin>
</plugins>
<!-- Exclude .composite_diagram from generated JARs. -->
<resources>
...
...
frascati/pom.xml
View file @
9e3bf39b
...
...
@@ -67,7 +67,6 @@
<properties>
<frascati.basedir>
../..
</frascati.basedir>
<frascati.logging.properties>
${frascati.basedir}/logging.properties
</frascati.logging.properties>
<frascati.assembly-bin.xml>
${frascati.basedir}/assembly-bin.xml
</frascati.assembly-bin.xml>
</properties>
<!-- ======= -->
...
...
@@ -142,20 +141,31 @@
<artifactId>
maven-depgraph-plugin
</artifactId>
</plugin>
<!-- Build the binary assembly. -->
<!-- To use this plugin, type: 'mvn assembly:assembly' -->
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<groupId>
org.apache.maven.plugins
</groupId>
<configuration>
<descriptors>
<descriptor>
${frascati.assembly-bin.xml}
</descriptor>
</descriptors>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- Create jar for this intent -->
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
2.2
</version>
<dependencies>
<dependency>
<groupId>
org.ow2.frascati.mojo
</groupId>
<artifactId>
frascati-assemby-descriptor
</artifactId>
<version>
${project.version}
</version>
</dependency>
</dependencies>
<configuration>
<!-- This is where we use our shared assembly descriptor -->
<descriptorRefs>
<descriptorRef>
bin
</descriptorRef>
</descriptorRefs>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<!-- ============ -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment